Template:Infobox biome/doc: Difference between revisions

Added the rest of the parameters
m interwiki JA
 
(21 intermediate revisions by 14 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">
{{Block
{{Biome
|title=
|title=
|image=
|image=
|imagesize=
|extratext=
|type=
|temperature=
|structures=
|structures=
|blocks=
|blocks=
|id=
|temperature=
|dec=
|downfall=
|hex=
|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>temperature</code> || Specifies the biome's temperature as a decimal (e..g 0.26). Defaults to a question mark.
| <code>downfall</code> || Specifies the biome's downfall 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>precipitation</code> || Specifies the biome's precipitation with "Yes" or "No".
|-
|-
| <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>structures</code> || Typical [[structure]]s and [[feature]]s that generate in the biome, if applicable.
|-
|-
| <code>id</code> || The name ID for the biome - for example, <code>minecraft:plains</code>. Defaults to a question mark.
| <code>blocks</code> || Blocks that commonly generate in the biome or any unique blocks that exclusively generate in the biome.
|-
| <code>dec</code> || The dec value of the biome. Defaults to a question mark.
|-
| <code>hex</code> || The hex value of the biome. Defaults to a question mark.
|}
|}


Line 49: Line 41:
<includeonly>
<includeonly>
<!-- Template categories/interwiki here -->
<!-- Template categories/interwiki here -->
[[Category:Infobox templates]]
[[de:Vorlage:Biom]]
[[es:Plantilla:Bioma]]
[[fr:Modèle:Biome]]
[[ja:テンプレート:Infobox biome]]
[[ko:틀:Biome]]
[[nl:Sjabloon:Biome]]
[[pt:Predefinição:Bioma]]
[[ru:Шаблон:Биом]]
[[uk:Шаблон:Біом]]
[[zh:Template:Biome]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!-- Documentation categories/interwiki here -->
<!-- Documentation categories/interwiki here -->
[[de:Vorlage:Biom/Dokumentation]]
[[es:Plantilla:Bioma/doc]]
[[fr:Modèle:Biome/doc]]
[[ja:テンプレート:Infobox biome/doc]]
[[nl:Sjabloon:Biome/doc]]
[[pt:Predefinição:Bioma/doc]]
[[ru:Шаблон:Биом/док]]
[[uk:Шаблон:Біом/док]]
[[zh:Template:Biome/doc]]
</noinclude>
</noinclude>