Difference between revisions of "Template:Structure"

From The Twilight Forest Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:right; margin-left: 100px;"
<includeonly>{| class="wikitable" style="{{{style|float:right;}}} margin-left: 100px;"
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}


|-
|-
|colspan="2" style="background-color: #222"|[[File:{{{image|!}}}.png|link=|center|320px]]
|colspan="2" style="background-color: #222"|[[File:{{{image|!}}}.png|link=|center|320px]]
|-
|-
!Biome
!Biome
|{{{biomes|[[{{{biome|}}}]]}}}
|{{{biomes|[[{{{biome|}}}]]}}}
|-
|-
!Consists of
!Consists of
|{{{blocks|}}}
|{{{blocks|}}}
|-
|-
!Boss
!Boss
|{{{mob|[[{{{boss|}}}]]}}}
|{{{mob|[[{{{boss|}}}]]}}}
|-
|-
!Map Icon
!Map Icon
|[[File:{{{icon| {{{name|{{BASEPAGENAME}} }}} Icon}}}.png|link=|32px]]
|[[File:{{{icon|{{{name|{{BASEPAGENAME}}}}} Icon}}}.png|link=Magic Map|32px]]
 
|-
|-
!ID
!ID
Line 26: Line 31:
|name= (optional, defaults to the article's title)
|name= (optional, defaults to the article's title)
|image= (filelink)
|image= (filelink)
|biome= (where the structure can spawn)
|biome= (where the structure can spawn. will be autolinked)
|blocks= (what it is built from, use <br> please and start with TF blocks)
|blocks= (what it is built from, use <br> please and start with TF blocks)
|boss= (the "boss" of the structure. is used for the Map Icon and will be autolinked)
|boss= (the "boss" of the structure and is used for the Map Icon. will be autolinked)
|id= (in-game id)
|id= (in-game id)
}}
}}


OPTIONAL VARIABLES:
OPTIONAL VARIABLES:
|mob= (an alternate to "boss=", it will not be autolinked and it will not be used with for the map icon)
|style= (used to orientate the table's styling. use only if you're a pro)
|icon= (the map icon override. use this if the page name or structure name and map icon do not match properly)
|biomes= (an alternative to "biome=" for when structures can spawn in varying biomes. will not be autolinked)
|mob= (an alternate to "boss=" that will not be used with for the map icon. will not be autolinked)
|icon= (the map icon override. use this if the page name or structure name and map icon do not match properly. will be autolinked to "Magic Map")
</pre>
</pre>


{{Structure
{{Structure
|style=
|name=Aurora Palace
|name=Aurora Palace
|image=Aurora Palace
|image=Aurora Palace

Revision as of 09:11, 12 January 2024


Usage:

{{Structure
|name= (optional, defaults to the article's title)
|image= (filelink)
|biome= (where the structure can spawn. will be autolinked)
|blocks= (what it is built from, use <br> please and start with TF blocks)
|boss= (the "boss" of the structure and is used for the Map Icon. will be autolinked)
|id= (in-game id)
}}

OPTIONAL VARIABLES:
|style= (used to orientate the table's styling. use only if you're a pro)
|biomes= (an alternative to "biome=" for when structures can spawn in varying biomes. will not be autolinked)
|mob= (an alternate to "boss=" that will not be used with for the map icon. will not be autolinked)
|icon= (the map icon override. use this if the page name or structure name and map icon do not match properly. will be autolinked to "Magic Map")
Aurora Palace
Aurora Palace.png
Biome Glacier
Consists of Aurora Blocks
Boss Snow Queen
Map Icon Aurora Palace Icon.png
ID aurora_palace