Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
(allow for blank type - this happens on a certain scimitar)
(fix cat with blank type)
Line 149: Line 149:
{{#switch: {{{this is an example|}}}
{{#switch: {{{this is an example|}}}
| yes =
| yes =
| #default = [[Category:Equipment]] [[Category:Weapons]] [[Category:{{{melee or ranged}}} Weapons]] [[Category:{{{category}}} Weapons]] [[Category:{{{type}}}]]  {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare Items]] | [[Category:{{{rarity|common}}} Items]]}}
| #default = [[Category:Equipment]] [[Category:Weapons]] [[Category:{{{melee or ranged}}} Weapons]] [[Category:{{{category}}} Weapons]] {{#if: {{{type|}}} | [[Category:{{{type}}}]]}} {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare Items]] | [[Category:{{{rarity|common}}} Items]]}}
}}{{ItemIcon Insert
}}{{ItemIcon Insert
|icon={{{icon|}}}
|icon={{{icon|}}}