Difference between revisions of "Template:Default item tags"
Jump to navigation
Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
(Now it's an actual template lol) |
|||
Line 1: | Line 1: | ||
− | {{Main|[[ | + | {{Main|[[Data tags]]}} |
{| class='wikitable' | {| class='wikitable' | ||
! Name | ! Name |
Latest revision as of 09:37, 22 December 2021
Main article: Data tags
Name | Description |
---|---|
name
|
String
Renames the item. |
enchantments
|
Array of Strings
Enchants the item (see enchanting). |
anvilUses
|
Integer
Number of times an anvil was used on the item. |
A template for the default data tags available for items, such as the item's name
.
While not every items needs to display data tags,
Syntax
{{Default item tags | name = | enchanting = | anvil-uses = }}
Usage
Place the template in a two-column table with the columns "name" and "description". It's recommended to put the item's unique data tags at the top, and the default template at the bottom of the table.
{{Default item tags}}
The result of the above code is displayed below:
Main article: Data tags
Name | Description |
---|---|
name
|
String
Renames the item. |
enchantments
|
Array of Strings
Enchants the item (see enchanting). |
anvilUses
|
Integer
Number of times an anvil was used on the item. |