Difference between revisions of "Template:Tool"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(LOL TOO REAL THO)
(Update. Mimics Androsa's changes)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="{{{style|float:right;}}} margin-left: 100px;"
<includeonly>{| class="wikitable" id="toolInfobox" 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:
!Attack Speed
!Attack Speed
|{{{speed|N/A}}}
|{{{speed|N/A}}}
|-
!Mining Speed
|{{{mining|N/A}}}
|-
!Mining Tier
|{{{tier|N/A}}}
|-
!Enchantability
|{{{enchant|N/A}}}


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


|-
|-
!ID
!ID
|{{{id|}}}
|twilightforest:{{{id|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
 
This template is used to make a nice table for anything relating to Tools and their related pages.<br>
Usage:
Here is a general breakdown of how to use this template:
<pre>
<pre>
{{Tool
{{Tool
|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)
|damage=     <!-- The Attack Damage Value          -->
|durability= (durability, defaults to N/A if none)
|speed=       <!-- The Attack Speed Value          -->
|damage= (damage, defaults to N/A if none)
|mining=     <!-- The Mining Speed Value          -->
|speed= (speed, defaults to N/A if none)
|tier=       <!-- The Item's Tier Equivalent      -->
|renewable= (yes/no)
|enchant=     <!-- The Item's Enchantability        -->
|stackable= (yes/no)
|renewable=   <!-- Is this item renewable? Yes/No  -->
|id= (in-game id)
|id=         <!-- The ID of the item              -->
}}
}}
</pre>
</pre>


{{Tool
{{Tool
|style=  
|name=Mazebreaker
|image=Mazebreaker.png
|durability=1561
|damage=5.0
|speed=1.2
|mining= 8.0
|tier=Diamond
|enchant=10
|renewable=No
|id=mazebreaker_pickaxe
}}
}}
==Style Guide==
* '''Do''' use in-game renders and textures of tools. 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 14:31, 12 June 2024

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

{{Tool
|name=        <!-- The Name of this item (Optional) -->
|image=       <!-- The Image file of this item      -->
|durability=  <!-- The Durablity this item has      -->
|damage=      <!-- The Attack Damage Value          -->
|speed=       <!-- The Attack Speed Value           -->
|mining=      <!-- The Mining Speed Value           -->
|tier=        <!-- The Item's Tier Equivalent       -->
|enchant=     <!-- The Item's Enchantability        -->
|renewable=   <!-- Is this item renewable? Yes/No   -->
|id=          <!-- The ID of the item               -->
}}
Mazebreaker
Mazebreaker.png
Durability 1561
Attack Damage 5.0
Attack Speed 1.2
Mining Speed 8.0
Mining Tier Diamond
Enchantability 10
Renewable No
ID twilightforest:mazebreaker_pickaxe

Style Guide[edit]

  • Do use in-game renders and textures of tools. 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.