6,364
editsAdd ItemIcon Insert
No edit summary |
(Add ItemIcon Insert) |
||
Line 75: | Line 75: | ||
| yes = | | yes = | ||
| #default = [[Category:{{{type}}}]] {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare Items]] | [[Category:{{{rarity|common}}} Items]]}} | | #default = [[Category:{{{type}}}]] {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare Items]] | [[Category:{{{rarity|common}}} Items]]}} | ||
}}</includeonly><noinclude><!-- | }}{{ItemIcon Insert|icon={{{icon|}}}|image={{{image|}}} }}</includeonly><noinclude><!-- | ||
==== Documentation follows ==== | ==== Documentation follows ==== | ||
Line 89: | Line 89: | ||
<!-- High-res image of the item. --> | <!-- High-res image of the item. --> | ||
| image = | | image = | ||
<!-- Icon for the item. Falls back to the value of "image" if not specified. --> | |||
| icon = | |||
<!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. --> | <!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. --> | ||
Line 333: | Line 336: | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true | ||
}, | |||
"icon": { | |||
"description": "The icon for the item. Falls back to \"image\" if not specified." | |||
} | } | ||
}, | }, | ||
"description": "This template generates entire pages for individual pieces of equipment in the game. Supported Equipment types: Clothing, Light Armour, Medium Armour, Heavy Armour, Shields, Amulets, Boots, Cloaks, Gloves, Helmets, Rings, Camp Clothes, Camp Shoes, Undergarments. (For Weapons, use Template:WeaponPage. For Consumables and other miscellaneous items, use Template:MiscItemPage.)\n\nCopy example values exactly as listed, including capitalization and plurals, if any. If you're ever unsure what to type, simply leave the parameter empty.", | "description": "This template generates entire pages for individual pieces of equipment in the game. Supported Equipment types: Clothing, Light Armour, Medium Armour, Heavy Armour, Shields, Amulets, Boots, Cloaks, Gloves, Helmets, Rings, Camp Clothes, Camp Shoes, Undergarments. (For Weapons, use Template:WeaponPage. For Consumables and other miscellaneous items, use Template:MiscItemPage.)\n\nCopy example values exactly as listed, including capitalization and plurals, if any. If you're ever unsure what to type, simply leave the parameter empty.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"icon", | |||
"description", | |||
"quote", | |||
"where to find", | |||
"type", | |||
"proficiency", | |||
"armour class", | |||
"armour class bonus", | |||
"stealth disadvantage", | |||
"rarity", | |||
"enchantment", | |||
"weight kg", | |||
"weight lb", | |||
"price", | |||
"special" | |||
] | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |