Template:Infobox structure/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 60: Line 60:


[[de:Vorlage:Bauwerk]]
[[de:Vorlage:Bauwerk]]
[[es:Plantilla:Structure]]
[[es:Plantilla:Estructura]]
[[fr:Modèle:Structure]]
[[fr:Modèle:Structure]]
[[ja:テンプレート:Structure]]
[[ja:テンプレート:Structure]]
Line 70: Line 70:
<!-- Documentation categories/interwiki here -->
<!-- Documentation categories/interwiki here -->
[[de:Vorlage:Bauwerk/Dokumentation]]
[[de:Vorlage:Bauwerk/Dokumentation]]
[[es:Plantilla:Estructura/doc]]
[[fr:Modèle:Structure/doc]]
[[fr:Modèle:Structure/doc]]
[[ja:テンプレート:Structure/doc]]
[[ja:テンプレート:Structure/doc]]

Revision as of 06:24, 1 December 2020

This is the documentation page. It should be transcluded into Template:Infobox structure. See Template:Documentation for more information.
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:

Template:Structure

Template:Structure

See also

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

Template:-


de:Vorlage:Bauwerk/Dokumentation es:Plantilla:Estructura/doc fr:Modèle:Structure/doc ja:テンプレート:Structure/doc ko:틀:Structure/doc nl:Sjabloon:Structuur/doc pl:Szablon:Struktura/doc pt:Predefinição:Estrutura/doc