Template:Infobox biome: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Switching to using deprecated input category instead, as this category was designed to be used for all deprecated arguments/values, while that one only has this 1 use and nothing more
mNo edit summary
Line 3: Line 3:
| rows =
| rows =
{{#if: {{{data|}}} | {{infobox row|label=Data|field={{data value|{{{data}}} }} }} }}
{{#if: {{{data|}}} | {{infobox row|label=Data|field={{data value|{{{data}}} }} }} }}
{{#if: {{{id|}}} | {{infobox row|label=ID|field={{{id}}} }} }}
{{#if: {{{nameid|}}} | {{infobox row|label=Namespaced ID[[Category:Infobox uses deprecated data parameters]]|field={{{nameid}}} }} }}
{{infobox row|label=Type|field={{#if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=Type|field={{#if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=Rarity|field={{#if: {{{rarity|}}} | {{{rarity}}} | ? }} }}
{{infobox row|label=Rarity|field={{#if: {{{rarity|}}} | {{{rarity}}} | ? }} }}
Line 18: Line 16:
{{#if: {{{underwaterfogdistance|}}} | {{infobox row|label=Underwater fog distance|field={{{underwaterfogdistance}}} }} }}
{{#if: {{{underwaterfogdistance|}}} | {{infobox row|label=Underwater fog distance|field={{{underwaterfogdistance}}} }} }}
{{#if: {{{watersurfacetransparency|}}} | {{infobox row|label=Water surface transparency|field={{{watersurfacetransparency}}} }} }}
{{#if: {{{watersurfacetransparency|}}} | {{infobox row|label=Water surface transparency|field={{{watersurfacetransparency}}} }} }}
}}{{#if: {{{nameid|}}}{{{data|}}}{{{id|}}} | [[Category:Pages with deprecated template input]]}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>

Revision as of 20:54, 7 September 2020

[view] [edit] [history] [refresh]Documentation

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 es:Plantilla:Bioma fr:Modèle:Biome ja:テンプレート:Infobox biome ko:틀:Biome nl:Sjabloon:Biome pt:Predefinição:Bioma ru:Шаблон:Биом uk:Шаблон:Біом zh:Template:Biome

[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Infobox biome/doc.