Minecraft Wiki
Advertisement
Minecraft Wiki
[view | edit | history | purge]Documentation
Lua logo.png
This template uses Module:Infobox, a script written in Lua.

Usage

Parameter Function Default value
title Optional value to use a different title instead of the page name {{BASEPAGENAME}}
image Image of the structure {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imagesize Adjusts the size of the image 250px
imageN Additional images None
imageNsize Adjusts the size of the corresponding image 250px
biome Biome(s) that the structure generates in
blocks Blocks that make up the structure; automatically collapsed if above 512 characters
canspawn Whether the structure can generate in chunks that have been generated before the structure was added to the game

Any amount of image fields are supported (image, image2, image3, etc.); each may be animated by providing a semicolon-delimited list of file names. If no image is provided, {{{title}}}.png or {{BASEPAGENAME}}.png will be used, if they exist.

{{Structure
| title = Jungle pyramid
| image = Jungle pyramid.png
| biome = Jungle
}}

{{Structure
| title = Gravel beach
}}

produces:

Jungle pyramid
Jungle pyramid JE2 BE2.png
Biomes

Jungle

Gravel beach
Gravel beach.png

Full template:

{{Structure
| title = <!-- Optional, use if different from the page name -->
| image = <!-- Use No_image.svg if no image exists -->
| imagesize = <!-- defaults to 250px if omitted -->
| image2 = <!-- Optional additional image -->
| image2size = <!-- defaults to 250px if omitted -->
| biome =
| blocks = <!-- Blocks that make up the structure -->
| canspawn = <!-- Set to yes if the structure generates in already-existing chunks -->
}}

See also

Minecraft
Minecraft Dungeons
Other
[view | edit | history | purge]The above documentation is transcluded from Template:Structure/doc.