Template:Infobox structure/doc: Difference between revisions
Jump to navigation
Jump to search
This template's documentation needs improving or additional information.
m +Category:Infobox templates, ja-interwiki |
added documentation |
||
Line 1: | Line 1: | ||
{{Documentation header}} | {{Documentation header|baddoc=1}} | ||
{{lua|infobox}} | {{lua|infobox}} | ||
== Usage == | |||
{| style="background-color: transparent;" | |||
! Parameter | |||
! Function | |||
! Default value | |||
|- | |||
| <code>title</code> || Optional value to use a different title instead of the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code> | |||
|- | |||
| <code>image</code> || Image of the structure || <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> || Adjusts the size of the image || 250px | |||
|- | |||
| <code>image''N''</code> || Additional images || ''None'' | |||
|- | |||
| <code>image''N''size</code> || Adjusts the size of the corresponding image || 250px | |||
|- | |||
| <code>biome</code> || Biome(s) that the structure generates in || | |||
|- | |||
| <code>blocks</code> || Blocks that make up the structure; automatically collapsed if above 512 characters || | |||
|- | |||
| <code>canspawn</code> || 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, <nowiki>{{{title}}}.png</nowiki> or <nowiki>{{BASEPAGENAME}}.png</nowiki> will be used, if they exist. | 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, <nowiki>{{{title}}}.png</nowiki> or <nowiki>{{BASEPAGENAME}}.png</nowiki> will be used, if they exist. | ||
<pre> | <pre> | ||
{{Structure | {{Structure |
Revision as of 23:30, 8 September 2020
[refresh]
This is the documentation page. It should be transcluded into Template:Infobox structure. See Template:Documentation for more information.This template's documentation needs improving or additional information.
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:
See also
- Minecraft
{{Infobox biome}}
{{Infobox block}}
{{Infobox command}}
{{Infobox development phase}}
{{Infobox enchantment}}
{{Infobox effect}}
{{Infobox entity}}
{{Infobox fluid}}
{{Infobox item}}
{{Infobox item entity}}
{{Infobox structure}}
- Minecraft Earth
- Minecraft Dungeons
{{Infobox Dungeons cosmetic}}
{{Infobox Dungeons enchantment}}
{{Infobox Dungeons entity}}
{{Infobox Dungeons item}}
{{Infobox Dungeons mission}}
- Minecraft Legends
{{Infobox Legends biome}}
{{Infobox Legends entity}}
{{Infobox Legends resource}}
{{Infobox Legends mode}}
{{Infobox Legends skin}}
{{Infobox Legends structure}}
- Minecraft Story Mode
{{Infobox episode}}
- Other
{{Infobox album}}
{{Infobox book}}
{{Infobox board game}}
{{Infobox company}}
{{Fallback infobox}}
{{Infobox guide}}
{{Infobox mash-up}}
{{Infobox music}}
{{Infobox person}}
{{Infobox profile}}
{{Infobox program}}
{{Infobox screen effect}}
{{Infobox server}}
{{Infobox skin pack}}
{{Infobox theme}}
{{Infobox version}}
{{Infobox video}}
{{Infobox website}}
{{Infobox world}}
- Meta
{{Infobox}}
{{Infobox row}}
{{Infobox header}}
- Module:Infobox
de:Vorlage:Bauwerk/Dokumentation
fr:Modèle:Structure/doc
ja:テンプレート:Structure/doc
ko:틀:Structure/doc
nl:Sjabloon:Structuur/doc
pl:Szablon:Struktura/doc
pt:Predefinição:Estrutura/doc