Template:Infobox biome/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Added the rest of the parameters
mNo edit summary
Line 14: Line 14:
|structures=
|structures=
|blocks=
|blocks=
|id=
|nameid=
|dec=
|data
|hex=
}}</pre>
}}</pre>


Line 37: Line 36:
| <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. If this field is left blank, then the infobox row will not show up at all.
|-
|-
| <code>id</code> || The name ID for the biome - for example, <code>minecraft:plains</code>. Defaults to a question mark.
| <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>dec</code> || The dec value of the biome. Defaults to a question mark.
| <code>data</code> || The number data of the biome (before [[1.13]]).
|-
| <code>hex</code> || The hex value of the biome. Defaults to a question mark.
|}
|}



Revision as of 00:01, 6 August 2018

This is the documentation page. It should be transcluded into Template:Infobox biome. See Template:Documentation for more information.
This template uses Module:Infobox, a script written in Lua.

Template:Biome

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

{{Block
|title=
|image=
|imagesize=
|type=
|temperature=
|structures=
|blocks=
|nameid=
|data
}}
Parameter Function
title Only needed to change the title from the page name, which is the default.
image Image of the block (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)
imagesize Sets the image size.
type Specifies the type of biome based on the temperature: Snowy, Cold, Medium/Lush, Dry/Warm, Aquatic, or Neutral. Defaults to a question mark.
temperature Specifies the biome's temperature as a decimal (e..g 0.26). Defaults to a question mark.
structures 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.
blocks 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.
nameid The name ID for the biome - for example, minecraft:plains. Defaults to a the page name with minecraft: namespace.
data The number data of the biome (before 1.13).

See also

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