Difference between revisions of "Template:Item"

From The Twilight Forest Wiki
Jump to navigation Jump to search
m (Pretty 'er up)
(Update. Mimics Androsa's changes)
 
Line 25: Line 25:
|twilightforest:{{{id|}}}
|twilightforest:{{{id|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
 
This template is used to make a nice table for anything relating to Items and their related pages.<br>
Here is a general breakdown of how to use this template:
Usage:
Usage:
<pre>
<pre>
Line 40: Line 41:


{{Item
{{Item
|name=Rabbit's Pocket Watch<br><small><small>"''It seems to always be running late''"</small></small>
|name=Rabbit's Pocket Watch
|image=Pocket Watch.png
|image=Pocket Watch.png
|type=Utility
|type=Utility
Line 47: Line 48:
|id=pocket_watch
|id=pocket_watch
}}
}}
==Style Guide==
* '''Do''' use isometric renders of blocks. 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 Items and their related pages.
Here is a general breakdown of how to use this template: Usage:

{{Armor
|name=        <!-- The Name of this item (Optional) -->
|image=       <!-- The Image file of this item      -->
|type=        <!-- The Type of item this is         -->
|durability=  <!-- The Durablity this item has      -->
|renewable=   <!-- Is this item renewable? Yes/No   -->
|stackable=   <!-- Is this item stackable? Yes/No   -->
|id=          <!-- The ID of the item               -->
}}
Rabbit's Pocket Watch
Pocket Watch.png
Type Utility
Durability N/A
Renewable No
Stackable No
ID twilightforest:pocket_watch

Style Guide[edit]

  • Do use isometric renders of blocks. 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.