Difference between revisions of "Template:Armor"

From The Twilight Forest Wiki
Jump to navigation Jump to search
m (Our armor has no knockback resistance but this is to future case.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="{{{style|float:right;}}} margin-left: 100px;"
<includeonly>{| class="wikitable" id="armorInfobox" 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}}}|center|256px|link=|{{{image|}}}]]
|colspan="2" style="background-color: #222; padding: 35px"|[[File:{{{image|Unknown.png}}}|center|128px]]
 
|-
!Type
|{{{type|}}}


|-
|-
Line 20: Line 16:
!Armor Toughness
!Armor Toughness
|{{{toughness|N/A}}}
|{{{toughness|N/A}}}
|-
!Knockback Resistance
|{{{knockback|N/A}}}


|-
|-
!Renewable
!Renewable
|{{{renewable|}}}
|{{{renewable|}}}
|-
!Stackable
|{{{stackable|}}}


|-
|-
!ID
!ID
|{{{id|}}}
|twilightforest:{{{id|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Usage:
This template is used to make a nice table for anything relating to the Armour and their related pages.<br>
Here is a general breakdown of how to use this template:
<pre>
<pre>
{{Armor
{{Armor
|style= (used to orientate the table's styling, use only if you're a pro)
|name=       <!-- The Name of this item (Optional) -->
|name= (optional, defaults to the article's title)
|image=       <!-- The Image file of this item      -->
|image= (filelink)
|durability= <!-- The Durablity this item has      -->
|type= (tool type)
|armor=       <!-- The Armor Value                  -->
|durability= (durability, defaults to N/A if none)
|toughness=   <!-- The Armor Toughness Value        -->
|armor= (armor, defaults to N/A if none)
|renewable=   <!-- Is this item renewable? Yes/No  -->
|toughness= (toughness, defaults to N/A if none)
|id=         <!-- The ID of the item              -->
|knockback= (knockback resistance, defaults to N/A if none)
|renewable= (yes/no)
|stackable= (yes/no)
|id= (in-game id)
}}
}}
</pre>
</pre>


{{Armor
{{Armor
|style=  
|name=       Fiery Leggings
|image=      Fiery Leggings.png
|durability=  375
|armor=      7
|toughness=  1.5
|renewable=  No
|id=          fiery_leggings
}}
}}


[[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 the Armour and their related pages.
Here is a general breakdown of how to use this template:

{{Armor
|name=        <!-- The Name of this item (Optional) -->
|image=       <!-- The Image file of this item      -->
|durability=  <!-- The Durablity this item has      -->
|armor=       <!-- The Armor Value                  -->
|toughness=   <!-- The Armor Toughness Value        -->
|renewable=   <!-- Is this item renewable? Yes/No   -->
|id=          <!-- The ID of the item               -->
}}
Fiery Leggings
Fiery Leggings.png
Durability 375
Armor 7
Armor Toughness 1.5
Renewable No
ID twilightforest:fiery_leggings