Template:Infobox biome/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 6: Line 6:
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 width="30px">
{{Block
{{Biome
|title=
|title=
|image=
|image=

Revision as of 22:17, 8 March 2019

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.

{{Biome
|title=
|image=
|imagesize=
|type=
|rarity=
|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.
rarity 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.
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.

See also

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


zh:Template:Biome/doc