Difference between revisions of "Template:Armor"

From The Twilight Forest Wiki
Jump to navigation Jump to search
m
(Update. Mimics Androsa's changes)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:right; margin-left: 100px;"
<includeonly>{| class="wikitable" id="armorInfobox" style="float:right; margin-left: 100px;"
!colspan="2" style="font-size: 1.4em;"|{{{name| {{BASEPAGENAME}} }}}
!colspan="2" style="font-size: 1.4em;"|{{{name| {{BASEPAGENAME}} }}}


Line 16: Line 16:
!Armor Toughness
!Armor Toughness
|{{{toughness|N/A}}}
|{{{toughness|N/A}}}
|-
!Enchantability
|{{{enchant|N/A}}}


|-
|-
Line 23: Line 27:
|-
|-
!ID
!ID
|{{{id|}}}
|twilightforest:{{{id|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template is used to make a nice table for anything relating to the Armour and their related pages.<br>
This template is used to make a nice table for anything relating to the Armour and their related pages.<br>
Line 34: Line 38:
|armor=      <!-- The Armor Value                  -->
|armor=      <!-- The Armor Value                  -->
|toughness=  <!-- The Armor Toughness Value        -->
|toughness=  <!-- The Armor Toughness Value        -->
|enchant=    <!-- The Item's Enchantability        -->
|renewable=  <!-- Is this item renewable? Yes/No  -->
|renewable=  <!-- Is this item renewable? Yes/No  -->
|id=          <!-- The ID of the item              -->
|id=          <!-- The ID of the item              -->
Line 40: Line 45:


{{Armor
{{Armor
|name=       Fiery Leggings
|name= Fiery Leggings
|image=       Fiery Leggings.png
|image= Fiery Leggings.png
|durability= 375
|durability= 375
|armor=       7
|armor= 7
|toughness=   1.5
|toughness= 1.5
|renewable=   No
|enchant= 10
|id=         fiery_leggings
|renewable= No
|id= fiery_leggings
}}
}}
==Style Guide==
* '''Do''' use isometric renders of items. Images should be no more than 256px with a transparent background.
* '''Do''' use the correct image name for the <code>image</code> parameter. An incorrect name will lead to display errors.
* '''Do''' use correct grammar for parameter input. All words not pertaining to <code>id</code> should be capitalized.
* '''Do not''' insert incorrect data. Before submitting a change, consult with appropriate parties to verify values. Intentional disruption of data will result in a block.
* '''Do not''' assume values for parameters. Values should be used from in-game data or code.
* '''Do not''' use screenshots or excessively large images for the <code>image</code> parameter.
* '''Do not''' use HTML markdown to alter the template. Changes must be approved for the template.
* '''Do not''' insert more information than what the infobox is capable of holding. Additional information must be input in text description.


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

Latest revision as of 13:31, 12 June 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        -->
|enchant=     <!-- The Item's Enchantability        -->
|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
Enchantability 10
Renewable No
ID twilightforest:fiery_leggings

Style Guide[edit]

  • Do use isometric renders of items. Images should be no more than 256px with a transparent background.
  • Do use the correct image name for the image parameter. An incorrect name will lead to display errors.
  • Do use correct grammar for parameter input. All words not pertaining to id should be capitalized.
  • Do not insert incorrect data. Before submitting a change, consult with appropriate parties to verify values. Intentional disruption of data will result in a block.
  • Do not assume values for parameters. Values should be used from in-game data or code.
  • Do not use screenshots or excessively large images for the image parameter.
  • Do not use HTML markdown to alter the template. Changes must be approved for the template.
  • Do not insert more information than what the infobox is capable of holding. Additional information must be input in text description.