Difference between revisions of "Template:Damagetype"
From EVE University Wiki
Line 1: | Line 1: | ||
− | <includeonly><span style="width: | + | <includeonly><span style="width:100px;display:inline-block">{{#switch: {{{1}}} |
+ | |all | ||
+ | |omni = Omni | ||
|Em | |Em | ||
|EM | |EM | ||
− | |em= | + | |em={{icon|em damage|16|Electromagnetic damage}} EM |
|Ex | |Ex | ||
|EX | |EX | ||
− | |ex= | + | |ex={{icon|ex damage|16|Explosive damage}} Ex |
|Th | |Th | ||
|TH | |TH | ||
− | |th= | + | |th={{icon|th damage|16|Thermal damage}} Th |
|Kin | |Kin | ||
|KIN | |KIN | ||
Line 14: | Line 16: | ||
|KI | |KI | ||
|Ki | |Ki | ||
− | |ki= | + | |ki={{icon|ki damage|16|Kinetic damage}} Kin}}</span>{{#if:{{{2|}}} |
− | + | |<span style="width:100px;display:inline-block">{{#switch: {{{2}}} | |
− | |<span style="width: | + | |all |
+ | |omni = Omni | ||
|Em | |Em | ||
|EM | |EM | ||
− | |em= | + | |em={{icon|em damage|16|Electromagnetic damage}} EM |
|Ex | |Ex | ||
|EX | |EX | ||
− | |ex= | + | |ex={{icon|ex damage|16|Explosive damage}} Ex |
|Th | |Th | ||
|TH | |TH | ||
− | |th= | + | |th={{icon|th damage|16|Thermal damage}} Th |
|Kin | |Kin | ||
|KIN | |KIN | ||
Line 31: | Line 34: | ||
|KI | |KI | ||
|Ki | |Ki | ||
− | |ki= | + | |ki={{icon|ki damage|16|Kinetic damage}} Kin}} </span> }}{{#if:{{{3|}}} |
− | |<span style="width: | + | |<span style="width:100px;display:inline-block">{{#switch: {{{3}}} |
+ | |all | ||
+ | |omni = Omni | ||
|Em | |Em | ||
|EM | |EM | ||
− | |em= | + | |em={{icon|em damage|16|Electromagnetic damage}} EM |
|Ex | |Ex | ||
|EX | |EX | ||
− | |ex= | + | |ex={{icon|ex damage|16|Explosive damage}} Ex |
|Th | |Th | ||
|TH | |TH | ||
− | |th= | + | |th={{icon|th damage|16|Thermal damage}} Th |
|Kin | |Kin | ||
|KIN | |KIN | ||
Line 47: | Line 52: | ||
|KI | |KI | ||
|Ki | |Ki | ||
− | |ki= | + | |ki={{icon|ki damage|16|Kinetic damage}} Kin}}</span>}}</includeonly> |
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 15:37, 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}}