Difference between revisions of "Template:ArmorInfo"
From SpiralKnights
BlarghBlargh (Talk | contribs) m (Adding spaces to the foreach) |
BlarghBlargh (Talk | contribs) m (Checking for possible typos [I hate how you cant preview template edits]) |
||
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}}} | + | {{#foreach: weakness $n$ |weakness $n$ = [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness $n$}}}|{{{star}}}-{{{name}}}]]}} |
+ | {{#switch:{{{promotional}}} | ||
| yes = [[Category:Promotional items]] | | yes = [[Category:Promotional items]] | ||
| #default = | | #default = |
Revision as of 14:04, 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. |