Template:Infobox structure/doc: Difference between revisions
added full template for copy&pasting |
m Bot: Use better navbox and infobox naming. |
||
(7 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation header}} | {{Documentation header}} | ||
== Usage == | == Usage == | ||
{| | {| class="wikitable" | ||
! Parameter | ! Parameter | ||
! Function | ! Function | ||
Line 20: | Line 19: | ||
| <code>biome</code> || Biome(s) that the structure generates in || | | <code>biome</code> || Biome(s) that the structure generates in || | ||
|- | |- | ||
| <code>blocks</code> || Blocks that make up the structure; automatically collapsed if above | | <code>mobs</code> || Mob(s) that spawn near or inside the structure || | ||
|- | |||
| <code>blocks</code> || Blocks that make up the structure; automatically collapsed if above 2000 characters || | |||
|- | |- | ||
| <code>canspawn</code> || Whether the structure can generate in chunks that have been generated before the structure was added to the game || | | <code>canspawn</code> || Whether the structure can generate in chunks that have been generated before the structure was added to the game || | ||
Line 28: | Line 29: | ||
<pre> | <pre> | ||
{{ | {{Infobox structure | ||
| title = Jungle pyramid | | title = Jungle pyramid | ||
| image = Jungle pyramid.png | | image = Jungle pyramid.png | ||
Line 34: | Line 35: | ||
}} | }} | ||
{{ | {{Infobox structure | ||
| title = Gravel beach | | title = Gravel beach | ||
}} | }} | ||
Line 41: | Line 42: | ||
produces: | produces: | ||
{{ | {{Infobox structure | ||
| title = Jungle pyramid | | title = Jungle pyramid | ||
| image = Jungle pyramid.png | | image = Jungle pyramid.png | ||
Line 47: | Line 48: | ||
}} | }} | ||
{{ | {{Infobox structure | ||
| title = Gravel beach | | title = Gravel beach | ||
}} | }} | ||
<div style="clear:both"> | |||
Full template: | Full template: | ||
<pre> | <pre> | ||
{{ | {{Infobox structure | ||
| title = <!-- Optional, use if different from the page name --> | | title = <!-- Optional, use if different from the page name --> | ||
| image = <!-- Use No_image.svg if no image exists --> | | image = <!-- Use No_image.svg if no image exists --> | ||
Line 60: | Line 62: | ||
| image2size = <!-- defaults to 250px if omitted --> | | image2size = <!-- defaults to 250px if omitted --> | ||
| biome = | | biome = | ||
| mobs = | |||
| blocks = <!-- Blocks that make up the structure --> | | blocks = <!-- Blocks that make up the structure --> | ||
| canspawn = <!-- Set to yes if the structure generates in already-existing chunks --> | | canspawn = <!-- Set to yes if the structure generates in already-existing chunks --> | ||
}} | |||
</pre> | </pre> | ||
Line 67: | Line 71: | ||
{{infobox see also}} | {{infobox see also}} | ||
<includeonly> | <includeonly> | ||
<!-- Template categories/interwiki here --> | <!-- Template categories/interwiki here --> | ||
Line 79: | Line 82: | ||
[[nl:Sjabloon:Structuur]] | [[nl:Sjabloon:Structuur]] | ||
[[pt:Predefinição:Estrutura]] | [[pt:Predefinição:Estrutura]] | ||
[[uk:Шаблон:Структура]] | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Line 90: | Line 94: | ||
[[pl:Szablon:Struktura/doc]] | [[pl:Szablon:Struktura/doc]] | ||
[[pt:Predefinição:Estrutura/doc]] | [[pt:Predefinição:Estrutura/doc]] | ||
[[uk:Шаблон:Структура/док]] | |||
</noinclude> | </noinclude> |