Difference between revisions of "Template:ArmorInfo"
From SpiralKnights
m (test) |
m (cat) |
||
(29 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
| align = right | | align = right | ||
| margin = 0px 0px 20px 20px | | margin = 0px 0px 20px 20px | ||
− | | title = <div style="font-size: | + | | title = <div style="font-size:68%; text-align:center;">{{{name}}}</div> |
| body = | | body = | ||
{{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist:File:{{{name}}}-Equipped.png|[[File:{{{name}}}-Equipped.png]]|[[File:Image Wanted.png|link=File:{{{name|}}}-Equipped.png]] | {{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist:File:{{{name}}}-Equipped.png|[[File:{{{name}}}-Equipped.png]]|[[File:Image Wanted.png|link=File:{{{name|}}}-Equipped.png]] | ||
Line 22: | Line 22: | ||
{{#switch: {{{abilities|}}} | {{#switch: {{{abilities|}}} | ||
| #default = This item doesn't have any special abilities. | | #default = This item doesn't have any special abilities. | ||
− | | yes = [[File:Equipment-{{{name|}}} Abilities.png|center|link= | + | | yes = [[File:Equipment-{{{name|}}} Abilities.png|center|link=Abilities]]<br/> |
}} | }} | ||
}} | }} | ||
Line 49: | 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 71: | 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}}}]] | ||
− | }}{{# | + | }}{{#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}}}]]| | |
− | + | }}{{#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}}} | }}{{#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. |