Difference between revisions of "Template:Structure"

From The Twilight Forest Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:right; margin-left: 100px;"
<includeonly>{| class="wikitable" id="structureInfobox" style="float:right; margin-left: 100px;"
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}
!colspan="2" style="font-size: 1.4em;"|{{{name| {{BASEPAGENAME}} }}}


|-
|-
|colspan="2" style="background-color: #222"|[[File:{{{image|!}}}.png|link=|center|320px]]
|colspan="2" style="background-color: #222"|[[File:{{{image|Unknown}}}.png|link=|center|320px]]
 
|-
|-
!Biome
!Biome
|{{{biomes|[[{{{biome|}}}]]}}}
|{{{biomes|[[{{{biome|}}}]]}}}
|-
|-
!Consists of
!Consists of
|{{{blocks|}}}
|{{{blocks|}}}
|-
|-
!Boss
!Boss
|[[{{{boss|}}}]]
|{{{mob|[[{{{boss|}}}]]}}}
 
|-
|-
!Map Icon
!Map Icon
|[[File:{{{name| {{BASEPAGENAME}} }}} Icon.png|link=|32px]]
|[[File:{{{icon|{{{name|{{BASEPAGENAME}}}}} Icon}}}.png|link=Magic Map|32px]]
 
|-
|-
!ID
!ID
|{{{id|}}}
|twilightforest:{{{id|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template is used to make a nice table for anything relating to Structures and their related pages. <br>
Here is a general breakdown of how to use this template:
<pre>
{{Structure
|name=  <!-- The Name of this Structure (Optional) -->
|image=  <!-- The Image File of this Structure      -->
|biome=  <!-- Where this Structure can be found    -->
|blocks= <!-- What is this Structure made of?      -->
|boss=  <!-- Who is the Boss of the Structure?    -->
|id=    <!-- The ID of the Structure              -->
}}
OPTIONAL VARIABLES (Needs Links!!):
|biomes= <!-- Override of "biome=" used for Multiple Structure Locations -->
|mob=    <!-- Override of "boss="  used for Non-Boss specific Structures -->
|icon=  <!-- Additive to "mob="  used to override the Magic Map's Icon -->
</pre>
{{Structure
{{Structure
|name=Aurora Palace
|name=Aurora Palace
|image=Aurora Palace
|image=Aurora Palace
|biome=Glacier
|biome=Glacier
|blocks=[[Aurora Block]]<br>[[Aurora Pillar]]<br>Birch Plank<br>Birch Plank Slab<br>Ice<br>Packed Ice<br>Chest<br>
|blocks=[[Aurora Block]]s
|boss=Snow Queen
|boss=Snow Queen
|icon=Aurora Palace
|id=aurora_palace
|id=aurora_palace
}}
}}
Usage:
<pre>
{{Structure
|name= (optional, defaults to the article's title)
|image= (filelink)
|biome= (where the structure can spawn)
|blocks= (what it is built from, use <br> please and start with TF blocks)
|boss= (the boss of the structure. Defaults to N/A)
|id= (in-game id)
}}
</pre>


[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 10:09, 12 April 2024

This template is used to make a nice table for anything relating to Structures and their related pages.
Here is a general breakdown of how to use this template:

{{Structure
|name=   <!-- The Name of this Structure (Optional) -->
|image=  <!-- The Image File of this Structure      -->
|biome=  <!-- Where this Structure can be found     -->
|blocks= <!-- What is this Structure made of?       -->
|boss=   <!-- Who is the Boss of the Structure?     -->
|id=     <!-- The ID of the Structure               -->
}}

OPTIONAL VARIABLES (Needs Links!!):
|biomes= <!-- Override of "biome=" used for Multiple Structure Locations -->
|mob=    <!-- Override of "boss="  used for Non-Boss specific Structures -->
|icon=   <!-- Additive to "mob="   used to override the Magic Map's Icon -->
Aurora Palace
Aurora Palace.png
Biome Glacier
Consists of Aurora Blocks
Boss Snow Queen
Map Icon Aurora Palace Icon.png
ID twilightforest:aurora_palace