Difference between revisions of "Template:ArmorInfo"
From SpiralKnights
m (link) |
BlarghBlargh (Talk | contribs) m (Testing a foreach for categories) |
||
Line 117: | Line 117: | ||
|Sleep = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Sleep resistance|{{{star}}}-{{{name}}}]] | |Sleep = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Sleep resistance|{{{star}}}-{{{name}}}]] | ||
|Stun = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Stun resistance|{{{star}}}-{{{name}}}]] | |Stun = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing Stun resistance|{{{star}}}-{{{name}}}]] | ||
− | }}{{# | + | }}{{#foreach:weakness$n$|weakness$n$=[[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness$n$}}}|{{{star}}}-{{{name}}}]] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}{{#switch:{{{promotional}}} | }}{{#switch:{{{promotional}}} | ||
| yes = [[Category:Promotional items]] | | yes = [[Category:Promotional items]] |
Revision as of 13:59, 1 April 2015
[edit] [ ] Template documentation
- Documentation pending
For details on this overall project, see:
- forum node 107506 (comment request for help here)
The above documentation is transcluded from Template:ArmorInfo/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |