Template:Infobox biome/doc: Difference between revisions

m interwiki JA
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{documentation header}}
{{documentation header}}
<!-- Documentation here -->
<!-- Documentation here -->
{{lua|Infobox}}
{{Biome}}


This template provides an easy way to apply a standardized infobox to all biome pages.
This template provides an easy way to apply a standardized infobox to all biome pages.
<pre width="30px">
<pre style="display:table">
{{Biome
{{Biome
|title=
|title=
|image=
|image=
|imagesize=
|extratext=
|type=
|rarity=
|temperature=
|structures=
|structures=
|blocks=
|blocks=
|nameid=
|temperature=
|data=
|downfall=
|precipitation=
}}</pre>
}}</pre>


Line 25: Line 21:
| <code>title</code> || Only needed to change the title from the page name, which is the default.
| <code>title</code> || Only needed to change the title from the page name, which is the default.
|-
|-
| <code>image</code> || Image of the block (should be approx. 150×150px). By default, it will use <code><nowiki>{{{title}}}.png</nowiki></code> if it exists, otherwise [[:File:No image.svg|No image.svg]] (linking to the page where to upload the missing image)
| <code>image</code> || Image of the biome (should be approx. 150×150px). By default, it will use <code><nowiki>{{{title}}}.png</nowiki></code> if it exists, otherwise [[:File:No image.svg|No image.svg]] (linking to the page where to upload the missing image)
|-
| <code>imagesize</code> || Sets the image size.
|-
| <code>type</code> || Specifies the type of biome based on the temperature: Snowy, Cold, Medium/Lush, Dry/Warm, Aquatic, or Neutral. Defaults to a question mark.
|-
|-
| <code>rarity</code> || Specifies the biome's relative rarity - Very Common, Common, Uncommon, Rare, Very Rare. Rarity is based on the likelihood of a specific biome appearing within a 1000-block radius of the origin for any given seed. Tested through an experiment with 50 random seeds. Defaults to a question mark.
| <code>extratext</code> || Only needed when there is a need to link to a section with more images.
|-
|-
| <code>temperature</code> || Specifies the biome's temperature as a decimal (e..g 0.26). Defaults to a question mark.
| <code>temperature</code> || Specifies the biome's temperature as a decimal (e..g 0.5).
|-
|-
| <code>structures</code> || Any [[generated structures]] that generate in the biome, if applicable. If this field is left blank, then the infobox row will not show up at all.
| <code>downfall</code> || Specifies the biome's downfall as a decimal (e..g 0.5).
|-
|-
| <code>blocks</code> || Blocks that commonly generate in the biome or any unique blocks that exclusively generate in the biome. If this field is left blank, then the infobox row will not show up at all.
| <code>precipitation</code> || Specifies the biome's precipitation with "Yes" or "No".
|-
|-
| <code>nameid</code> || The name ID for the biome - for example, minecraft:plains. Defaults to a the page name with <code>minecraft:</code> namespace.
| <code>structures</code> || Typical [[structure]]s and [[feature]]s that generate in the biome, if applicable.
|-
|-
| <code>data</code> || The number data of the biome.
| <code>blocks</code> || Blocks that commonly generate in the biome or any unique blocks that exclusively generate in the biome.
|}
|}


Line 52: Line 44:


[[de:Vorlage:Biom]]
[[de:Vorlage:Biom]]
[[ja:テンプレート:Biome]]
[[es:Plantilla:Bioma]]
[[fr:Modèle:Biome]]
[[ja:テンプレート:Infobox biome]]
[[ko:틀:Biome]]
[[ko:틀:Biome]]
[[nl:Sjabloon:Biome]]
[[nl:Sjabloon:Biome]]
Line 63: Line 57:
<!-- Documentation categories/interwiki here -->
<!-- Documentation categories/interwiki here -->
[[de:Vorlage:Biom/Dokumentation]]
[[de:Vorlage:Biom/Dokumentation]]
[[ja:テンプレート:Biome/doc]]
[[es:Plantilla:Bioma/doc]]
[[fr:Modèle:Biome/doc]]
[[ja:テンプレート:Infobox biome/doc]]
[[nl:Sjabloon:Biome/doc]]
[[nl:Sjabloon:Biome/doc]]
[[pt:Predefinição:Bioma/doc]]
[[pt:Predefinição:Bioma/doc]]