Template:ItemCategory: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Shupitsu (talk | contribs)
No edit summary
Shupitsu (talk | contribs)
No edit summary
 
Line 687: Line 687:
|MassiveTsavorite = Massive Tsavorites
|MassiveTsavorite = Massive Tsavorites
|MassiveTurquoise = Massive Turquoises
|MassiveTurquoise = Massive Turquoises
|MassiveVoxite = Massive Voxites
|MattedHair = Matted Hair
|MattedHair = Matted Hair
|MaxHealthPotion = Potions Which Boost Maximum Health
|MaxHealthPotion = Potions Which Boost Maximum Health
Line 1,133: Line 1,134:
|TigersEye = Tiger's Eye Gens
|TigersEye = Tiger's Eye Gens
|TitleScroll = Title Scrolls
|TitleScroll = Title Scrolls
|Tongue = Tongues
|Tool = Tools
|Tool = Tools
|ToolHammer = Hammers Used as Tools
|ToolHammer = Hammers Used as Tools
Line 1,177: Line 1,179:
|UncrossingOil = Uncrossing Oils
|UncrossingOil = Uncrossing Oils
|UnusedGem = Unused Gems
|UnusedGem = Unused Gems
|UnusedCrystal = Unused Crystal
|UnwearableWhileMounted = Unwearable While Mounted
|UnwearableWhileMounted = Unwearable While Mounted
|ValuableMetalSlab = Valuable Metal Slabs
|ValuableMetalSlab = Valuable Metal Slabs
Line 1,274: Line 1,277:
|WhittlingKnife4 =  
|WhittlingKnife4 =  
|WhittlingKnife5 =  
|WhittlingKnife5 =  
|WhittlingRecipe = Whittling Recipes
|YellowPerch = Yellow Perch
|YellowPerch = Yellow Perch
|FloatingPumpkin =  
|FloatingPumpkin =  

Latest revision as of 15:17, 13 March 2026

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]


Description

Used for those of us who have trouble remembering the correct syntax to link to a category page, or to save a little typing by using a default display link text provided by a lookup table. It creates a link to an item category page.

Syntax

{{ItemCategory|<Item Category Keyword>|<Display Text>}}

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.

Examples

Code Result
{{ItemCategory|MagicOil}}
Magic Oil
{{ItemCategory|MagicOil|Oils which have magical properties}}
Oils which have magical properties
{{ItemCategory|Armor}}
Pieces of Armor
{{ItemCategory|Apple}}
Apples
The above text is transcluded from Template:ItemCategory/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:ItemCategory/doc. (View all subpages of this page.)