Difference between revisions of "Template:Gallery/Weapon"

From SpiralKnights

Jump to: navigation, search
m (consistent "if" vs. "switch" coding)
m (#ifexist for animations (save point - overworld attack and charge attack))
Line 24: Line 24:
  
 
|style="border: 1px solid #C0C0C0; padding:10px; width:200px;" | {{#switch:{{{type|}}}
 
|style="border: 1px solid #C0C0C0; padding:10px; width:200px;" | {{#switch:{{{type|}}}
|#default = [[File:{{{name|{{PAGENAME}}}}}-Attack.png|200px|Click to see more info about this image]]
+
|#default = {{#ifexist:File:{{{name|{{PAGENAME}}}}}-Attack.png
 +
|[[File:{{{name|{{PAGENAME}}}}}-Attack.png|200px|Click to see more info about this image]]
 +
|[[File:Animation Wanted.png|link=File:{{{name|{{PAGENAME}}}}}-Attack.png]]
 +
}}
 
|Bomb    = Bombs do not have basic attacks, <br> only charge attacks.
 
|Bomb    = Bombs do not have basic attacks, <br> only charge attacks.
 
}}
 
}}
  
|style="border: 1px solid #C0C0C0; padding:10px; width:200px;" | [[File:{{{name|{{PAGENAME}}}}}-Charge Attack.png|200px|Click to see more info about this image]]
+
|style="border: 1px solid #C0C0C0; padding:10px; width:200px;" | {{#ifexist:File:{{{name|{{PAGENAME}}}}}-Charge Attack.png
 +
|[[File:{{{name|{{PAGENAME}}}}}-Charge Attack.png|200px|Click to see more info about this image]]
 +
|[[File:Animation Wanted.png|link=File:{{{name|{{PAGENAME}}}}}-Charge Attack.png]]
 +
}}
  
 
|style="border: 1px solid #C0C0C0; padding:10px; width:200px;" | {{#if:{{{video link|}}}
 
|style="border: 1px solid #C0C0C0; padding:10px; width:200px;" | {{#if:{{{video link|}}}

Revision as of 04:07, 2 March 2015

Animation Wanted.png Animation Wanted.png Click to see more info about this image
Basic Attack and Attack Combos
(Animation - click to see)
Charge Attack
(Animation - click to see)
Demonstration of this weapon in combat.
Click to see more info about this image Click to see more info about this image Click to see more info about this image
Related news art, announced [{{{news link}}} here]. Another tooltip view.
(Animation - click to see)
An inspect window view.
Personal tools