Difference between revisions of "Template:ArmorInfo"
From SpiralKnights
m |
m (adding in a default, I don't want to spend time on this right now if it's not going to work, but I also don't want to undo other work completed today) |
||
Line 1: | Line 1: | ||
+ | <includeonly> | ||
+ | {{#switch:{{{1|old}}} | ||
+ | |old={{SKWindow | ||
+ | | width = 300px | ||
+ | | align = right | ||
+ | | margin = 0px 0px 20px 20px | ||
+ | | icon = Equipment-{{{name|Unknown}}}{{{fixicon|}}}_icon.png | ||
+ | | title = {{{name|Armor}}} | ||
+ | | stars = {{{stars|0}}} | ||
+ | | body = | ||
+ | {{SKWindow/NewRow}}{{SKWindow/EmptyCell|{{#ifexist:File:{{{name}}}-Equipped.png|[[Image:{{{name}}}-Equipped.png]]|[[File:Image Wanted.png|link=File:{{{name|}}}-Equipped.png]] | ||
+ | }} | ||
+ | |2 = center | ||
+ | |3 = middle | ||
+ | }} | ||
+ | {{SKWindow/NewRow}} | ||
+ | {{SKWindow/Cell|'''[[Damage|Defenses]]''':[[File:Icon-notice.png|20px|right|Defense and Status resistance bars tell you different things. The number of segments don't represent the same low, medium, high, etc. values. See the Defense and Abilities pages for details.]]{{clearright}}{{{stats|[[Image:Equipment-{{{name|Unknown}}}_Stats.png|center|stats]]}}}|left}}<br/> | ||
+ | {{SKWindow/NewRow}} | ||
+ | {{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|}}} | ||
+ | | no = This item doesn't have any special abilities. | ||
+ | | yes = [[Image:Equipment-{{{name|}}} Abilities.png|center|Abilities]]<br/> | ||
+ | }} | ||
+ | }} | ||
+ | {{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|}}}|left}}<br/> | ||
+ | {{SKWindow/NewRow}} | ||
+ | {{SKWindow/Cell|'''[[Accessory|Accessory Positions]]''':<br/> | ||
+ | {{#switch:{{{armor_top|no}}}{{{armor_side|no}}}{{{armor_front|no}}}{{{armor_back|no}}}|nononono=*[[:Category:No attachment|None]] [[Category:No attachment]] | ||
+ | }}{{#switch: {{{armor_top|}}} |#default =| yes = [[Image:Icon-accessory-armor_top.png|16px|link=Armor Top]] [[Category:Armor top attachment]] | ||
+ | }}{{#switch: {{{armor_side|}}} |#default =| yes = [[Image:Icon-accessory-armor_side.png|16px|link=Armor Side]] [[Category:Armor side attachment]] | ||
+ | }}{{#switch: {{{armor_front|}}} |#default =| yes = [[Image:Icon-accessory-armor_front.png|16px|link=Armor Front]] [[Category:Armor front attachment]] | ||
+ | }}{{#switch: {{{armor_back|}}} |#default =| yes = [[Image:Icon-accessory-armor_back.png|16px|link=Armor Back]] [[Category:Armor back attachment]] | ||
+ | }} | ||
+ | }} | ||
+ | }}[[Category:Equipment]] [[Category:Gear]] [[Category:Armor]]{{#switch: {{{promotional|}}}| #default = | yes = [[Category:Promotional items]]}}{{#switch: {{{recipe|yes}}}|no=[[Category:No Recipe]]|yes = }} | ||
+ | The '''{{{name}}}''' is a {{{stars}}}-star [[{{{type}}}]]. | ||
+ | |new= | ||
{{SKWindow | {{SKWindow | ||
| width = 300px | | width = 300px | ||
Line 90: | Line 128: | ||
| yes = [[Category:Promotional items]] | | yes = [[Category:Promotional items]] | ||
| #default = | | #default = | ||
+ | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 15:48, 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. |