Template:ItemCategory: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Alleryn (talk | contribs)
mNo edit summary
Alleryn (talk | contribs)
m updated to v341
Line 219: Line 219:
|CookingRelated = Cooking-Related Items
|CookingRelated = Cooking-Related Items
|Copper = Copper
|Copper = Copper
|Corn = Corn
|CorpseFlesh = Corpse Flesh
|CorpseFlesh = Corpse Flesh
|CorpseLimb = Corpse Limbs
|CorpseLimb = Corpse Limbs
Line 515: Line 516:
|LegAugment = Leg Augments
|LegAugment = Leg Augments
|Legs = Items Worn on the Legs
|Legs = Items Worn on the Legs
|Lemon = Lemons
|LetterToYetta = Letters to Yetta
|LetterToYetta = Letters to Yetta
|Lint_AbilityIngredient = Lint Ability Ingredients
|Lint_AbilityIngredient = Lint Ability Ingredients
Line 773: Line 775:
|RhinoHide = Rhino Hides
|RhinoHide = Rhino Hides
|RhinoHorn = Rhino Horns
|RhinoHorn = Rhino Horns
|RiShinPriestGarment = Ri-Shin Priest Garments
|Ring = Rings
|Ring = Rings
|RingAugment = Ring Augments
|RingAugment = Ring Augments
Line 879: Line 882:
|StorageCrate = Storage Crates  
|StorageCrate = Storage Crates  
|String = Pieces of String
|String = Pieces of String
|Sugarcane = Sugarcane
|Sulfur = Sulfur
|Sulfur = Sulfur
|SummerCourtArmor = Summer Court Armor
|SummerCourtArmor = Summer Court Armor
|SummonBox = Summonable Boxes
|Sunstone = Sunstones
|Sunstone = Sunstones
|SweetRoastedPumpkin = Sweet Roasted Pumpkins
|SweetRoastedPumpkin = Sweet Roasted Pumpkins

Revision as of 17:02, 11 December 2020

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.)