Difference between revisions of "Template:Damagetype"
From EVE University Wiki
(different shade for ex) |
(New style for omni) |
||
Line 18: | Line 18: | ||
|Omni | |Omni | ||
|All | |All | ||
− | |all=<span style="width: | + | |all=<span style="width:100px;display:inline-block;background:#191616"><span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}{{icon|th damage|16|Thermal damage}}{{icon|ki damage|16|Kinetic damage}}{{icon|ex damage|16|Explosive damage}}</span> Omni</span> |
|<span style="width:50px;display:inline-block;background:#191616">{{{1}}}</span> }}{{#if:{{{2|}}} | |<span style="width:50px;display:inline-block;background:#191616">{{{1}}}</span> }}{{#if:{{{2|}}} | ||
|{{#switch: {{{2}}} | |{{#switch: {{{2}}} | ||
Line 39: | Line 39: | ||
|Omni | |Omni | ||
|All | |All | ||
− | |all=<span style="width: | + | |all=<span style="width:100px;display:inline-block;background:#191616"><span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}{{icon|th damage|16|Thermal damage}}{{icon|ki damage|16|Kinetic damage}}{{icon|ex damage|16|Explosive damage}}</span> Omni</span> |
|<span style="width:50px;display:inline-block;background:#0f0f0f">{{{1}}}</span> }}}}{{#if:{{{3|}}} | |<span style="width:50px;display:inline-block;background:#0f0f0f">{{{1}}}</span> }}}}{{#if:{{{3|}}} | ||
|{{#switch: {{{3}}} | |{{#switch: {{{3}}} | ||
Line 60: | Line 60: | ||
|Omni | |Omni | ||
|All | |All | ||
− | |all=<span style="width: | + | |all=<span style="width:100px;display:inline-block;background:#191616"><span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}{{icon|th damage|16|Thermal damage}}{{icon|ki damage|16|Kinetic damage}}{{icon|ex damage|16|Explosive damage}}</span> Omni</span> |
|<span style="width:50px;display:inline-block;background:#0f0f0f">{{{1}}}</span> }}}}</includeonly><noinclude> | |<span style="width:50px;display:inline-block;background:#0f0f0f">{{{1}}}</span> }}}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:55, 18 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}}