Difference between revisions of "Template:Damagetype"
From EVE University Wiki
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
− | | ex = <table style=" | + | | ex = <table style="border:1px solid #202020"><tr> |
<th style="background-color:#201010;width:100px">{{icon|ex damage|20|Explosive}} Explosive</th> | <th style="background-color:#201010;width:100px">{{icon|ex damage|20|Explosive}} Explosive</th> | ||
<td style="width:160px;font-size:10px">{{icon|drones|20}} Warrior, Valkyrie, Berserker</td> | <td style="width:160px;font-size:10px">{{icon|drones|20}} Warrior, Valkyrie, Berserker</td> | ||
Line 7: | Line 7: | ||
<td style="width:140px;font-size:10px">{{icon|turret|20}} Fusion, Nuclear</td> | <td style="width:140px;font-size:10px">{{icon|turret|20}} Fusion, Nuclear</td> | ||
</tr></table> | </tr></table> | ||
− | | em = <table style=" | + | | em = <table style="border:1px solid #202020"><tr> |
<th style="background-color:#201010;width:100px">{{icon|em damage|20|EM}} EM</th> | <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 13: | Line 13: | ||
<td style="width:140px;font-size:10px">{{icon|turret|20}} EMP, Proton</td> | <td style="width:140px;font-size:10px">{{icon|turret|20}} EMP, Proton</td> | ||
</tr></table> | </tr></table> | ||
− | | th = <table style=" | + | | th = <table style="border:1px solid #202020"><tr> |
<th style="background-color:#201010;width:100px">{{icon|th damage|20|Thermal}} Thermal</th> | <th style="background-color:#201010;width:100px">{{icon|th damage|20|Thermal}} Thermal</th> | ||
<td style="width:160px;font-size:10px">{{icon|drones|20}} Hobgoblin, Hammehead, Ogre</td> | <td style="width:160px;font-size:10px">{{icon|drones|20}} Hobgoblin, Hammehead, Ogre</td> | ||
Line 19: | Line 19: | ||
<td style="width:140px;font-size:10px">{{icon|turret|20}} Phased Plasma</td> | <td style="width:140px;font-size:10px">{{icon|turret|20}} Phased Plasma</td> | ||
</tr></table> | </tr></table> | ||
− | | ki = <table style=" | + | | ki = <table style="border:1px solid #202020"><tr> |
<th style="background-color:#201010;width:100px">{{icon|ki damage|20|Kinetic}} Kinetic</th> | <th style="background-color:#201010;width:100px">{{icon|ki damage|20|Kinetic}} Kinetic</th> | ||
<td style="width:160px;font-size:10px">{{icon|drones|20}} Hornet, Vespa, Wasp</td> | <td style="width:160px;font-size:10px">{{icon|drones|20}} Hornet, Vespa, Wasp</td> |
Revision as of 21:16, 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
- 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/all for all damage types. Up to five separate damage types can be specified at once.
- Sample output
gives...{{Damagetype|ki|th|em}}
Kinetic | Hornet, Vespa, Wasp | Scourge | Titanium Sab., Carb. Lead |
---|