Template:Infobox biome/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
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]]

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[edit source]

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