5,698
edits
Changes
documentation written
<includeonly>
<!-- Categories/interwikis for the template -->
</includeonly><noinclude>
<!-- Categories/interwikis for this documentation itself -->
</noinclude>
== Description ==
== Syntax ==
<pre>{{ItemCategory | <Item Category Keyword> | <Display Text> }}</pre>
=== Parameters ===
First parameter (required): The Keyword for the Item Category, as found in items.json in the public data.
Second parameter (optional): The link text you wish to be displayed. If omitted this is selected automatically via a lookup table. It will be the plural form of the Item Category, in plain english, in most cases.== Example Examples =={| class="wikitable"! Code! Result|- | <pre>{{ItemCategory|MagicOil}}</pre> | {{ItemCategory|MagicOil}}|- | <pre>{{ItemCategory|MagicOil|Oils which have magical properties}}</pre> | {{ItemCategory|MagicOil|Oils which have magical properties}}|- | <pre>{{ItemCategory|Armor}}</pre> | {{ItemCategory|Armor}}|- | <pre>{{ItemCategory|Apple}}</pre> | {{ItemCategory|Apple}}|}