Difference between revisions of "Template:ArmorInfo"
From SpiralKnights
BlarghBlargh (Talk | contribs) m (Testing using only #for) |
m (cat) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{SKWindow |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{SKWindow | + | |
| width = 300px | | width = 300px | ||
| align = right | | align = right | ||
Line 87: | Line 49: | ||
{{SKWindow/Cell|'''[[List of sets|Set]]''': | {{SKWindow/Cell|'''[[List of sets|Set]]''': | ||
{{#if:{{{set|}}} | {{#if:{{{set|}}} | ||
− | | | + | | {{{set}}} |
|*[[File:Equipment-{{{name|}}} icon.png|36px|{{{name}}}]] isn't in a set. | |*[[File:Equipment-{{{name|}}} icon.png|36px|{{{name}}}]] isn't in a set. | ||
}} | }} | ||
|padding = 5px 0px 5px 5px}} | |padding = 5px 0px 5px 5px}} | ||
}} | }} | ||
− | The '''{{{name}}}''' is a {{{star}}}-star [[{{lcfirst:{{{type}}}}}]].<includeonly>[[Category:Equipment]] | + | The '''{{{name}}}''' is a {{{star}}}-star [[{{lcfirst:{{{type}}}}}]].<includeonly>[[Category:Equipment]]{{#switch: {{{type}}} |
− | {{#switch: {{{type}}} | + | | helmet = [[Category:Helmets|{{{star}}}-{{{name}}}]] |
− | | helmet = [[Category:Helmets]] | + | | armor = [[Category:Armor|{{{star}}}-{{{name}}}]] |
− | | armor = [[Category:Armor]] | + | |
| #default = [[Category:Needs type]] | | #default = [[Category:Needs type]] | ||
}}{{#switch:{{{defense 1}}} | }}{{#switch:{{{defense 1}}} | ||
Line 109: | Line 70: | ||
| Piercing = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Piercing defense|{{{star}}}-{{{name}}}]] | | Piercing = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Piercing defense|{{{star}}}-{{{name}}}]] | ||
| Shadow = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Shadow defense|{{{star}}}-{{{name}}}]] | | Shadow = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Shadow defense|{{{star}}}-{{{name}}}]] | ||
− | }}{{#switch:{{{status 1|}}}{{{status 2|}}}{{{ | + | }}{{#if: {{{status 1|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 1}}} resistance|{{{star}}}-{{{name}}}]]| |
− | | | + | }}{{#if: {{{status 2|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 2}}} resistance|{{{star}}}-{{{name}}}]]| |
− | | | + | }}{{#if: {{{status 3|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 3}}} resistance|{{{star}}}-{{{name}}}]]| |
− | | | + | }}{{#if: {{{status 4|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 4}}} resistance|{{{star}}}-{{{name}}}]]| |
− | | | + | }}{{#if: {{{status 5|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 5}}} resistance|{{{star}}}-{{{name}}}]]| |
− | | | + | }}{{#if: {{{status 6|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} providing {{{status 6}}} resistance|{{{star}}}-{{{name}}}]]| |
− | | | + | }}{{#if: {{{weakness 1|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 1}}}|{{{star}}}-{{{name}}}]]| |
− | | | + | }}{{#if: {{{weakness 2|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 2}}}|{{{star}}}-{{{name}}}]]| |
− | }} | + | }}{{#if: {{{weakness 3|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 3}}}|{{{star}}}-{{{name}}}]]| |
− | {{# | + | }}{{#if: {{{weakness 4|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 4}}}|{{{star}}}-{{{name}}}]]| |
− | {{#switch:{{{promotional}}} | + | }}{{#if: {{{weakness 5|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 5}}}|{{{star}}}-{{{name}}}]]| |
+ | }}{{#if: {{{weakness 6|}}} | [[Category:{{#switch:{{{type|armor}}}|armor=armor|helmet=helmets}} weak to {{{weakness 6}}}|{{{star}}}-{{{name}}}]]| | ||
+ | }}{{#switch:{{{promotional}}} | ||
| yes = [[Category:Promotional items]] | | yes = [[Category:Promotional items]] | ||
| #default = | | #default = | ||
− | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | {{documentation}} | + | {{documentation}}[[Category:Infobox templates|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Latest revision as of 20:34, 12 September 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. |