Template:Infobox biome/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Created page with "{{documentation header}} <!-- Documentation here --> {{lua|Infobox}} {{Biome}} This template provides an easy way to apply a standardized infobox to all biome pages. <pre wid..."
 
Started parameter summary table
Line 18: Line 18:
|hex=
|hex=
}}</pre>
}}</pre>
{| class="wikitable"
! Parameter
! Function
|-
| <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>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>temperature</code> || Specifies the biome's temperature as a decimal (e..g 0.26). Defaults to a question mark.
|}


== See also ==
== See also ==

Revision as of 15:19, 5 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=
|id=
|dec=
|hex=
}}
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.

See also

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