Difference between revisions of "Template:Armor"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(Polish the template)
(Updated this finally. Removed Type as it is an irrelevant category for a specified armour piece (If you can read "Fiery Leggings" and think they are not Leggings....))
Line 4: Line 4:
|-
|-
|colspan="2" style="background-color: #222; padding: 35px"|[[File:{{{image|Unknown.png}}}|center|128px]]
|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}}}


|-
|-
Line 38: Line 30:
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Usage:
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
|name= (optional, defaults to the article's title)
|name=       <!-- The Name of this item (Optional) -->
|image= (filelink)
|image=       <!-- The Image file of this item      -->
|type= (tool type)
|durability= <!-- The Durablity this item has      -->
|durability= (durability, defaults to N/A if none)
|armor=       <!-- The Armor Value                  -->
|armor= (armor, defaults to N/A if none)
|toughness=   <!-- The Armor Toughness Value        -->
|toughness= (toughness, defaults to N/A if none)
|renewable=   <!-- Is this item renewable? Yes/No  -->
|knockback= (knockback resistance, defaults to N/A if none)
|stackable=   <!-- Is this item stackable? Yes/No  -->
|renewable= (yes/no)
|id=         <!-- The ID of the item              -->
|stackable= (yes/no)
|id= (in-game id)
}}
}}
</pre>
</pre>


{{Armor
{{Armor
|style=  
|name=       Fiery Leggings
|image=      Fiery Leggings.png
|durability=  I don't remember
|armor=      I don't remember
|toughness=  I don't remember
|renewable=  No
|stackable=  No
|id=          fiery_leggings
}}
}}


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

Revision as of 16:34, 20 February 2024

Usage: 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   -->
|stackable=   <!-- Is this item stackable? Yes/No   -->
|id=          <!-- The ID of the item               -->
}}
Fiery Leggings
Fiery Leggings.png
Durability I don't remember
Armor I don't remember
Armor Toughness I don't remember
Renewable No
Stackable No
ID fiery_leggings