Difference between revisions of "Template:Damagetype"
From EVE University Wiki
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <span style="width:500px;border:1px solid #404040;display:inline-block"> | + | <span style="width:500px;border:1px solid #404040;display:inline-block">{{#switch: {{{1}}} |
− | {{#switch: {{{1}}} | + | | ex = <span style="background-color:#302020;width:100px;padding:2px;display:inline-block">{{icon|ex damage|20|Explosive}} Explosive</span> |
− | | ex = <span style="background-color:#302020;width:100px;padding: | ||
<span style="width:160px;font-size:10px;display:inline-block">{{icon|drones|20}} Warrior, Valkyrie, Berserker</span> | <span style="width:160px;font-size:10px;display:inline-block">{{icon|drones|20}} Warrior, Valkyrie, Berserker</span> | ||
<span style="width:60px;font-size:10px;display:inline-block">{{icon|missile|20}} Nova</span> | <span style="width:60px;font-size:10px;display:inline-block">{{icon|missile|20}} Nova</span> | ||
<span style="width:140px;font-size:10px;display:inline-block">{{icon|turret|20}} Fusion, Nuclear</span> | <span style="width:140px;font-size:10px;display:inline-block">{{icon|turret|20}} Fusion, Nuclear</span> | ||
− | | em = < | + | | em = <span style="background-color:#302020;width:100px;padding:2px;display:inline-block">{{icon|em damage|20|EM}} EM</th> |
− | < | + | <span style="width:160px;font-size:10px;display:inline-block">{{icon|drones|20}} Acolyte, Infiltrator, Praetor</span> |
− | < | + | <span style="width:60px;font-size:10px;display:inline-block">{{icon|missile|20}} Mjolnir</span> |
− | < | + | <span style="width:140px;font-size:10px;display:inline-block">{{icon|turret|20}} EMP, Proton</span> |
| th = <th style="background-color:#201010;width:100px">{{icon|th damage|20|Thermal}} Thermal</th> | | th = <th style="background-color:#201010;width:100px">{{icon|th damage|20|Thermal}} Thermal</th> | ||
− | < | + | <span style="width:160px;font-size:10px;display:inline-block">{{icon|drones|20}} Hobgoblin, Hammehead, Ogre</span> |
− | < | + | <span style="width:60px;font-size:10px;display:inline-block">{{icon|missile|20}} Inferno</span> |
− | < | + | <span style="width:140px;font-size:10px;display:inline-block">{{icon|turret|20}} Phased Plasma</span> |
| ki = <th style="background-color:#201010;width:100px">{{icon|ki damage|20|Kinetic}} Kinetic</th> | | ki = <th style="background-color:#201010;width:100px">{{icon|ki damage|20|Kinetic}} Kinetic</th> | ||
− | < | + | <span style="width:160px;font-size:10px;display:inline-block">{{icon|drones|20}} Hornet, Vespa, Wasp</span> |
− | < | + | <span style="width:60px;font-size:10px;display:inline-block">{{icon|missile|20}} Scourge</span> |
− | < | + | <span style="width:140px;font-size:10px;display:inline-block">{{icon|turret|20}} Titanium Sab., Carb. Lead</span> |
}}</span> | }}</span> | ||
</includeonly> | </includeonly> |
Revision as of 21:34, 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}}
Hornet, Vespa, Wasp Scourge
Titanium Sab., Carb. Lead