Difference between revisions of "Template:WeaponInfo"
From SpiralKnights
m (tweak) |
m (add data slots for status and dmg - test) |
||
Line 27: | Line 27: | ||
| #default = {{{abilities|}}} | | #default = {{{abilities|}}} | ||
| no = This item doesn't have any special abilities. | | no = This item doesn't have any special abilities. | ||
− | | yes = [[File:Equipment-{{{name|}}} Abilities.png|center| | + | | yes = [[File:Equipment-{{{name|}}} Abilities.png|center|link={{{status}}}]]<br/> |
}} | }} | ||
}} | }} | ||
Line 40: | Line 40: | ||
The '''{{{name}}}''' is a {{{star}}}-star [[{{{type}}}]].<includeonly>[[Category:Weapons]][[Category:Equipment]] | The '''{{{name}}}''' is a {{{star}}}-star [[{{{type}}}]].<includeonly>[[Category:Weapons]][[Category:Equipment]] | ||
{{#switch: {{{type}}} | {{#switch: {{{type}}} | ||
− | | bomb = [[Category:Bombs]] | + | | bomb = [[Category:Bombs]] |
− | | handgun = [[Category:Handguns]] | + | | handgun = [[Category:Handguns]] |
− | | gun = [[Category:Handguns]] | + | | gun = [[Category:Handguns]] |
− | | sword = [[Category:Swords]] | + | | sword = [[Category:Swords]] |
− | | Bomb = [[Category:Bombs]] | + | | Bomb = [[Category:Bombs]] |
− | | Handgun = [[Category:Handguns]] | + | | Handgun = [[Category:Handguns]] |
− | | Gun = [[Category:Handguns]] | + | | Gun = [[Category:Handguns]] |
− | | Sword = [[Category:Swords]] | + | | Sword = [[Category:Swords]] |
| #default = [[Category:Needs type]] | | #default = [[Category:Needs type]] | ||
+ | }}{{#switch: {{{damage 1}}} | ||
+ | | normal = [[Category:Weapons dealing Normal damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | | elemental = [[Category:Weapons dealing Elemental damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | | piercing = [[Category:Weapons dealing Piercing damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | | shadow = [[Category:Weapons dealing Shadow damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | | = | ||
+ | }}{{#switch: {{{damage 2}}} | ||
+ | | normal = [[Category:Weapons dealing Normal damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | | elemental = [[Category:Weapons dealing Elemental damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | | piercing = [[Category:Weapons dealing Piercing damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | | shadow = [[Category:Weapons dealing Shadow damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | | = | ||
+ | }}{{#if:{{{damage 1|normal}}}{{{dmage 2|}}}|[[Category:Weapons dealing only Normal damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | }}{{#if:{{{damage 1|elemental}}}{{{dmage 2|}}}|[[Category:Weapons dealing only Elemental damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | }}{{#if:{{{damage 1|piercing}}}{{{dmage 2|}}}|[[Category:Weapons dealing only Piercing damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | }}{{#if:{{{damage 1|shadow}}}{{{dmage 2|}}}|[[Category:Weapons dealing only Shadow damage|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | }}{{#switch: {{{status}}} | ||
+ | | = | ||
+ | |no = | ||
+ | |Curse = [[Category:Weapons that can inflict Curse|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | |Fire = [[Category:Weapons that can inflict Fire|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | |Freeze = [[Category:Weapons that can inflict Freeze|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | |Poison = [[Category:Weapons that can inflict Poison|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | |Shock = [[Category:Weapons that can inflict Shock|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | |Sleep = [[Category:Weapons that can inflict Sleep|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
+ | |Stun = [[Category:Weapons that can inflict Stun|{{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}}]] | ||
}}{{#switch: {{{promotional}}} | }}{{#switch: {{{promotional}}} | ||
| yes = [[Category:Promotional items]] | | yes = [[Category:Promotional items]] |
Revision as of 20:19, 24 March 2015
| ||||||
|
The {{{name}}} is a {{{star}}}-star [[{{{type}}}]].