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 subtemplate: Difference between revisions

Template page
m Make switch case insensitive
Comment out background (color) to increase readability in light mode.
 
Line 1: Line 1:
<includeonly>{{#switch: {{lc: {{{1}}} }}
<includeonly>{{#switch: {{lc: {{{1}}} }}
| em = <span style="width:50px;display:inline-block;background:#1b1f29"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage em.png|16px|Electromagnetic damage]]</span> EM</span>
| em = <span style="width:50px;display:inline-block;<!--background:#1b1f29-->"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage em.png|16px|Electromagnetic damage]]</span> EM</span>
| ex = <span style="width:50px;display:inline-block;background:#262519"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage exp.png|16px|Explosive damage]]</span> Ex</span>
| ex = <span style="width:50px;display:inline-block;<!--background:#262519-->"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage exp.png|16px|Explosive damage]]</span> Ex</span>
| th = <span style="width:50px;display:inline-block;background:#291616"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage therm.png|16px|Thermal damage]]</span> Th</span>
| th = <span style="width:50px;display:inline-block;<!--background:#291616-->"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage therm.png|16px|Thermal damage]]</span> Th</span>
| ki
| ki
| kin = <span style="width:50px;display:inline-block;background:#201f1f"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage kin.png|16px|Kinetic damage]]</span> Kin</span>
| kin = <span style="width:50px;display:inline-block;<!--background:#201f1f-->"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage kin.png|16px|Kinetic damage]]</span> Kin</span>
| omni
| omni
| all = <span style="width:100px;display:inline-block;background:#191616"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage em.png|16px|Electromagnetic damage]][[File:Icon damage therm.png|16px|Thermal damage]][[File:Icon damage kin.png|16px|Kinetic damage]][[File:Icon damage exp.png|16px|Explosive damage]]</span> Omni</span>
| all = <span style="width:100px;display:inline-block;<!--background:#191616-->"><span style="position:relative;top:-2px;left:3px">[[File:Icon damage em.png|16px|Electromagnetic damage]][[File:Icon damage therm.png|16px|Thermal damage]][[File:Icon damage kin.png|16px|Kinetic damage]][[File:Icon damage exp.png|16px|Explosive damage]]</span> Omni</span>
|<span style="width:50px;display:inline-block;background:#191616">{{{1}}}</span> }}</includeonly><noinclude>
|<span style="width:50px;display:inline-block;<!--background:#191616-->">{{{1}}}</span> }}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>