Template:Infobox biome/doc: Difference between revisions

interwiki
m interwiki JA
 
(13 intermediate revisions by 10 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>extratext</code> || Only needed when there is a need to link to a section with more images.
|-
|-
| <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>temperature</code> || Specifies the biome's temperature as a decimal (e..g 0.5).
|-
|-
| <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>downfall</code> || Specifies the biome's downfall as a decimal (e..g 0.5).
|-
|-
| <code>temperature</code> || Specifies the biome's temperature as a decimal (e..g 0.26). Defaults to a question mark.
| <code>precipitation</code> || Specifies the biome's precipitation with "Yes" or "No".
|-
|-
| <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>structures</code> || Typical [[structure]]s and [[feature]]s that generate in the biome, if applicable.
|-
|-
| <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>blocks</code> || Blocks that commonly generate in the biome or any unique blocks that exclusively generate in the biome.
|-
| <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>data</code> || The number data of the biome.
|}
|}


Line 49: Line 41:
<includeonly>
<includeonly>
<!-- Template categories/interwiki here -->
<!-- Template categories/interwiki here -->
[[Category:Infobox templates]]
[[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]]
[[pt:Predefinição:Bioma]]
[[pt:Predefinição:Bioma]]
[[ru:Шаблон:Биом]]
[[ru:Шаблон:Биом]]
Line 60: 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]]
[[pt:Predefinição:Bioma/doc]]
[[pt:Predefinição:Bioma/doc]]
[[ru:Шаблон:Биом/док]]
[[ru:Шаблон:Биом/док]]