Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Damagetype: Difference between revisions

Template page
Hirmuolio Pine (talk | contribs)
mNo edit summary
Hirmuolio Pine (talk | contribs)
omni damages, width
Line 1: Line 1:
<includeonly><span style="width:45;display:inline-block">{{#switch: {{{1}}}
<includeonly><span style="width:50;display:inline-block">{{#switch: {{{1}}}
|Em
|Em
|EM
|EM
Line 15: Line 15:
|Ki
|Ki
|ki={{icon|ki damage|16|Kinetic damage}} Kin
|ki={{icon|ki damage|16|Kinetic damage}} Kin
|all=Omni}}</span>{{#if:{{{2|}}}
|omni
|<span style="width:45px;display:inline-block">/{{#switch: {{{2}}}
|Omni
|All
|all=&nbsp;Omni}}</span>{{#if:{{{2|}}}
|<span style="width:50px;display:inline-block">/{{#switch: {{{2}}}
|Em
|Em
|EM
|EM
Line 31: Line 34:
|KI
|KI
|Ki
|Ki
|ki={{icon|ki damage|16|Kinetic damage}} Kin}}</span>}}{{#if:{{{3|}}}
|ki={{icon|ki damage|16|Kinetic damage}} Kin
|<span style="width:45px;display:inline-block">/{{#switch: {{{3}}}
|omni
|Omni
|All
|all=&nbsp;Omni}}</span>}}{{#if:{{{3|}}}
|<span style="width:50px;display:inline-block">/{{#switch: {{{3}}}
|Em
|Em
|EM
|EM
Line 47: Line 54:
|KI
|KI
|Ki
|Ki
|ki={{icon|ki damage|16|Kinetic damage}} Kin}}</span>}}</includeonly><noinclude>
|ki={{icon|ki damage|16|Kinetic damage}} Kin
|omni
|Omni
|All
|all=&nbsp;Omni}}</span>}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 16:56, 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
{{Damagetype subtemplate}}
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
{{Damagetype|ki|th|em}}
gives...
Kinetic damage Kin/Thermal damage Th/Electromagnetic damage EM
Visit Template:Damagetype/doc to edit this text! (How does this work?) (Refresh this text - why?)