Template:Infobox biome/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
mNo edit summary
m interwiki JA
 
(18 intermediate revisions by 13 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=
|nameid=
|temperature=
|data
|downfall=
|precipitation=
}}</pre>
}}</pre>


Line 24: 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>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 46: 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]]
[[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]]
[[zh:Template:Biome/doc]]
</noinclude>
</noinclude>

Latest revision as of 10:19, 30 June 2024

This is the documentation page. It should be transcluded into Template:Infobox biome. See Template:Documentation for more information.

This template provides an easy way to apply a standardized infobox to all biome pages.

{{Biome
|title=
|image=
|extratext=
|structures=
|blocks=
|temperature=
|downfall=
|precipitation=
}}
Parameter Function
title Only needed to change the title from the page name, which is the default.
image Image of the biome (should be approx. 150×150px). By default, it will use {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
extratext Only needed when there is a need to link to a section with more images.
temperature Specifies the biome's temperature as a decimal (e..g 0.5).
downfall Specifies the biome's downfall as a decimal (e..g 0.5).
precipitation Specifies the biome's precipitation with "Yes" or "No".
structures Typical structures and features that generate in the biome, if applicable.
blocks Blocks that commonly generate in the biome or any unique blocks that exclusively generate in the biome.

See also

Minecraft
Minecraft Earth
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
Other
Meta


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