Difference between revisions of "Template:ItemCategory"

From Project: Gorgon Wiki
Jump to: navigation, search
Line 274: Line 274:
 
                 |Dye =  
 
                 |Dye =  
 
                 |DyePot1 =  
 
                 |DyePot1 =  
                 |Ectoplasm =  
+
                 |Ectoplasm = Ectoplasm
                 |Edible =  
+
                 |Edible = Edible Items
                 |Eel =  
+
                 |Eel = Eels
                 |Egg =  
+
                 |Egg = Eggs
                 |EggDish =  
+
                 |EggDish = Egg Dishes
                 |EltibulesSignetRing =  
+
                 |EltibulesSignetRing = Eltibule's Signet Ring
                 |ElvishJewelry =  
+
                 |ElvishJewelry = Elvish Jewelry
                 |ElvishStyle =  
+
                 |ElvishStyle = Elvish Style
                 |Emerald =  
+
                 |Emerald = Emeralds
                 |EmptyBottle =  
+
                 |EmptyBottle = Empty Bottles
                 |EmptyHand =  
+
                 |EmptyHand = Empty Hand Items
                 |EnchantedMistletoe =  
+
                 |EnchantedMistletoe = Enchanted Mistletoe
                 |EnergyBow =  
+
                 |EnergyBow = Energy Bows
                 |Ensouled =  
+
                 |Ensouled = Ensouled Items
                 |Equipment =  
+
                 |Equipment = Pieces of Equipment
                 |Escarole =  
+
                 |Escarole = Escarole
                 |EvilPumpkin =  
+
                 |EvilPumpkin = Evil Pumpkins
                 |ExoticFood =  
+
                 |ExoticFood = Exotic Foods
                 |ExoticPotion =  
+
                 |ExoticPotion = Exotic Potions
                 |ExpertInk =  
+
                 |ExpertInk = Expert Ink
                 |Eye =  
+
                 |Eye = Eyes
 
                 |FaeFelt =  
 
                 |FaeFelt =  
 
                 |FaeMetalArmor =  
 
                 |FaeMetalArmor =  

Revision as of 16:54, 30 August 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.)