Difference between revisions of "Template:Damagetype"

From EVE University Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>
+
<includeonly><div>test
<table style="width:500px;border:1px solid #202020;margin:5px;"><tr>{{#switch: {{{1}}}
+
<div style="width:500px;border:1px solid #202020;margin:5px;">
| ex = <th style="background-color:#201010;width:100px">{{icon|ex damage|20|Explosive}} Explosive</th>
+
{{#switch: {{{1}}}
<td style="width:160px;font-size:10px">{{icon|drones|20}} Warrior, Valkyrie, Berserker</td>
+
| ex = <span style="background-color:#201010;width:100px">{{icon|ex damage|20|Explosive}} Explosive</span>
<td style="width:60px;font-size:10px">{{icon|missile|20}} Nova </td>
+
<span style="width:160px;font-size:10px">{{icon|drones|20}} Warrior, Valkyrie, Berserker</span>
<td style="width:140px;font-size:10px">{{icon|turret|20}} Fusion, Nuclear</td>
+
<span style="width:60px;font-size:10px">{{icon|missile|20}} Nova</span>
 +
<span style="width:140px;font-size:10px">{{icon|turret|20}} Fusion, Nuclear</span>
 
| em = <th style="background-color:#201010;width:100px">{{icon|em damage|20|EM}} EM</th>
 
| em = <th style="background-color:#201010;width:100px">{{icon|em damage|20|EM}} EM</th>
 
<td style="width:160px;font-size:10px">{{icon|drones|20}} Acolyte, Infiltrator, Praetor</td>
 
<td style="width:160px;font-size:10px">{{icon|drones|20}} Acolyte, Infiltrator, Praetor</td>
Line 17: Line 18:
 
<td style="width:60px;font-size:10px">{{icon|missile|20}} Scourge</td>
 
<td style="width:60px;font-size:10px">{{icon|missile|20}} Scourge</td>
 
<td style="width:140px;font-size:10px">{{icon|turret|20}} Titanium Sab., Carb. Lead</td>
 
<td style="width:140px;font-size:10px">{{icon|turret|20}} Titanium Sab., Carb. Lead</td>
}}</tr></table>
+
}}</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:24, 16 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...
test
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?)