Difference between revisions of "Template:ArmorInfo"
From SpiralKnights
m |
m (adjust to match sibling templates. Significant information location changes regarding icon and star. See node 107506 for details. Will be using armorinfo for both helmet and "body" armor items. - test) |
||
Line 3: | Line 3: | ||
| align = right | | align = right | ||
| margin = 0px 0px 20px 20px | | margin = 0px 0px 20px 20px | ||
− | | | + | | title = <div style="font-size:75%; text-align:center;">{{{name}}}</div> |
− | + | ||
− | + | ||
| body = | | body = | ||
− | {{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist: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]] |
}} | }} | ||
+ | |2 = center | ||
+ | |3 = middle | ||
+ | }} | ||
+ | {{SKWindow/NewRow}} | ||
+ | {{SKWindow/Cell| | ||
+ | |1 = {{star|{{{star|0}}}}} | ||
|2 = center | |2 = center | ||
|3 = middle | |3 = middle | ||
Line 17: | Line 21: | ||
{{SKWindow/Cell|'''[[Abilities]]''':[[File:Icon-notice.png|20px|right|Boosts and Penalties are both considered "abilities" in general. Some items have additional health as a special "ability," giving more health pips than most items. Many items don't have any special abilities. See the Abilities page for details.]]{{clearright}} | {{SKWindow/Cell|'''[[Abilities]]''':[[File:Icon-notice.png|20px|right|Boosts and Penalties are both considered "abilities" in general. Some items have additional health as a special "ability," giving more health pips than most items. Many items don't have any special abilities. See the Abilities page for details.]]{{clearright}} | ||
{{#switch: {{{abilities|}}} | {{#switch: {{{abilities|}}} | ||
− | | | + | | #default = This item doesn't have any special abilities. |
− | | yes = [[ | + | | yes = [[File:Equipment-{{{name|}}} Abilities.png|center|link={{{status}}}]]<br/> |
}} | }} | ||
}} | }} | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|'''[[Health|Health Pips]]''': [[File:Icon-notice.png|20px|right|Health Benefits, or the number of "pips," can increase with heat level for many items. Depth in the clockworks influences health behavior - see the Health page for details.]] {{clearright}}{{{health | + | {{SKWindow/Cell|'''[[Health|Health Pips]]''': [[File:Icon-notice.png|20px|right|Health Benefits, or the number of "pips," can increase with heat level for many items. Depth in the clockworks influences health behavior - see the Health page for details.]] {{clearright}}{{{health}}}|left}}<br/> |
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|'''[[ | + | {{SKWindow/Cell|'''[[List of sets|Set]]''': |
− | {{# | + | {{#if:{{{set|}}} |
− | + | |{{{set}}} | |
− | + | |*[[File:Equipment-{{{name|}}} icon.png|36px|{{{name}}}]] isn't in a set. | |
− | + | ||
− | + | ||
}} | }} | ||
+ | |padding = 5px 0px 5px 10px}} | ||
}} | }} | ||
− | }}[[Category:Equipment]] [[Category: | + | The '''{{{name}}}''' is a {{{star}}}-star [[{{lcfirst:{{{type}}}}}]].<includeonly>[[Category:Equipment]][[Category:Weapons|{{{star}}}{{{name}}}]] |
− | + | {{#switch: {{{type}}} | |
+ | | helmet = [[Category:Helmets]] | ||
+ | | armor = [[Category:Armor]] | ||
+ | | #default = [[Category:Needs type]] | ||
+ | }}{{#switch:{{{defense 1}}} | ||
+ | | = | ||
+ | | Normal = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{damage 2|}}}|=only|none=only}} Normal defense|{{{star}}}-{{{name}}}]] | ||
+ | | Elemental = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{damage 2|}}}|=only|none=only}} Elemental defense|{{{star}}}-{{{name}}}]] | ||
+ | | Piercing = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{damage 2|}}}|=only|none=only}} Piercing defense|{{{star}}}-{{{name}}}]] | ||
+ | | Shadow = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing {{#switch:{{{damage 2|}}}|=only|none=only}} Shadow defense|{{{star}}}-{{{name}}}]] | ||
+ | }}{{#switch:{{{defense 2}}} | ||
+ | | = | ||
+ | | Normal = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Normal defense|{{{star}}}-{{{name}}}]] | ||
+ | | Elemental = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Elemental 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}}}]] | ||
+ | }}{{#switch:{{{status}}} | ||
+ | | = | ||
+ | |Curse = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Curse resistance|{{{star}}}-{{{name}}}]] | ||
+ | |Fire = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Fire resistance|{{{star}}}-{{{name}}}]] | ||
+ | |Freeze = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Freeze resistance|{{{star}}}-{{{name}}}]] | ||
+ | |Poison = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Poison resistance|{{{star}}}-{{{name}}}]] | ||
+ | |Shock = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Shock resistance|{{{star}}}-{{{name}}}]] | ||
+ | |Sleep = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Sleep resistance|{{{star}}}-{{{name}}}]] | ||
+ | |Stun = [[Category:{{{type}}}{{#switch:{{{type|armor}}}|armor=|helmet=s}} providing Stun resistance|{{{star}}}-{{{name}}}]] | ||
+ | }}{{#switch:{{{promotional}}} | ||
+ | | yes = [[Category:Promotional items]] | ||
+ | | #default = | ||
+ | }}</includeonly><noinclude> | ||
+ | {{documentation}} | ||
+ | </noinclude> |
Revision as of 13:11, 31 March 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. |