More actions
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
|Em | |Em | ||
|EM | |EM | ||
|em=<span style="position:relative;top:-2px">{{icon|em damage|16|Electromagnetic damage}}</span> EM | |em=<span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}</span> EM | ||
|Ex | |Ex | ||
|EX | |EX | ||
|ex=<span style="position:relative;top:-2px">{{icon|ex damage|16|Explosive damage}}</span> Ex | |ex=<span style="position:relative;top:-2px;left:3px">{{icon|ex damage|16|Explosive damage}}</span> Ex | ||
|Th | |Th | ||
|TH | |TH | ||
|th=<span style="position:relative;top:-2px">{{icon|th damage|16|Thermal damage}}</span> Th | |th=<span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|Thermal damage}}</span> Th | ||
|Kin | |Kin | ||
|KIN | |KIN | ||
| Line 30: | Line 30: | ||
|KI | |KI | ||
|Ki | |Ki | ||
|ki=<span style="position:relative;top:-2px">{{icon|ki damage|16|Kinetic damage}}</span> Kin}}</span>}}{{#if:{{{3|}}} | |ki=<span style="position:relative;top:-2px;left:3px">{{icon|ki damage|16|Kinetic damage}}</span> Kin}}</span>}}{{#if:{{{3|}}} | ||
|<span style="width:40px;display:inline-block;margin-left:5px">{{#switch: {{{3}}} | |<span style="width:40px;display:inline-block;margin-left:5px">{{#switch: {{{3}}} | ||
|Em | |Em | ||
|EM | |EM | ||
|em=<span style="position:relative;top:-2px">{{icon|em damage|16|Electromagnetic damage}}</span> EM | |em=<span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}</span> EM | ||
|Ex | |Ex | ||
|EX | |EX | ||
|ex=<span style="position:relative;top:-2px">{{icon|ex damage|16|Explosive damage}}</span> Ex | |ex=<span style="position:relative;top:-2px;left:3px">{{icon|ex damage|16|Explosive damage}}</span> Ex | ||
|Th | |Th | ||
|TH | |TH | ||
|th=<span style="position:relative;top:-2px">{{icon|th damage|16|Thermal damage}}</span> Th | |th=<span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|Thermal damage}}</span> Th | ||
|Kin | |Kin | ||
|KIN | |KIN | ||
| Line 46: | Line 46: | ||
|KI | |KI | ||
|Ki | |Ki | ||
|ki=<span style="position:relative;top:-2px">{{icon|ki damage|16|Kinetic damage}}</span> Kin}}</span>}}</includeonly> | |ki=<span style="position:relative;top:-2px;left:3px">{{icon|ki damage|16|Kinetic damage}}</span> Kin}}</span>}}</includeonly> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 12:08, 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}}