Difference between revisions of "Template:Damagetype"

From EVE University Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<span style="width:500px;display:inline-block">{{#switch: {{{1}}}
 
<span style="width:500px;display:inline-block">{{#switch: {{{1}}}
| ex = <div>{{icon|ex damage|20|Explosive}} Explosive</span>
+
| ex = <div>
 +
<span style="width:100px;display:inline-block;color:white;">{{icon|ex damage|16|Explosive}} Explosive</span>
 +
<span style="border:1px dotted #404040">
 
<span style="width:160px;font-size:10px;display:inline-block">{{icon|drones|16}} Warrior, Valkyrie, Berserker</span>
 
<span style="width:160px;font-size:10px;display:inline-block">{{icon|drones|16}} Warrior, Valkyrie, Berserker</span>
 
<span style="width:60px;font-size:10px;display:inline-block">{{icon|missile|16}} Nova</span>
 
<span style="width:60px;font-size:10px;display:inline-block">{{icon|missile|16}} Nova</span>
 
<span style="width:140px;font-size:10px;display:inline-block">{{icon|turret|16}} Fusion, Nuclear</span>
 
<span style="width:140px;font-size:10px;display:inline-block">{{icon|turret|16}} Fusion, Nuclear</span>
 +
</span>
 
</div>
 
</div>
 
| em = <span style="background-color:#302020;width:100px;padding:2px;display:inline-block">{{icon|em damage|20|EM}} EM</th>
 
| em = <span style="background-color:#302020;width:100px;padding:2px;display:inline-block">{{icon|em damage|20|EM}} EM</th>

Revision as of 11:44, 17 October 2017


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to show a graphic representation of one or more damage types.
Dependencies
uses
{{Damagetype subtemplate}}
Used by
{{Damage to deal}}
{{Damage to resist}}
Syntax
{{Damagetype|<damage type>|<damage type>|<damage type>|<damage type>|<damage type>}}
Parameters
damage type 
The code for the damage type to show. One or more of the following em for electromagnetic, ex for explosive, ki for kinetic, th for thermal or omni for all damage types. Up to five separate damage types can be specified at once.
Sample output
{{Damagetype|ki|th|em}}
gives...
Kinetic Kinetic

Icon drones.png Hornet, Vespa, Wasp Icon torpedoes.png Scourge

Icon turret.png Titanium Sab., Carb. Lead
Visit Template:Damagetype/doc to edit this text! (How does this work?) (Refresh this text - why?)