Difference between revisions of "Template:Damagetype subtemplate"

From EVE University Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#switch: {{{1}}} |Em |EM |em= <span style="width:50px;display:inline-block;background:#1b1f29"><span style="position:relative;top:-2px;left:3px">{{icon|em damag...")
 
(Used direct links to images instead of the {{icon}} template)
Line 2: Line 2:
 
|Em
 
|Em
 
|EM
 
|EM
|em= <span style="width:50px;display:inline-block;background:#1b1f29"><span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|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
 
|Ex
 
|EX
 
|EX
|ex= <span style="width:50px;display:inline-block;background:#262519"><span style="position:relative;top:-2px;left:3px">{{icon|ex damage|16|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
 
|Th
 
|TH
 
|TH
|th= <span style="width:50px;display:inline-block;background:#291616"><span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|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>
 
|Kin
 
|Kin
 
|KIN
 
|KIN
Line 14: Line 14:
 
|KI
 
|KI
 
|Ki
 
|Ki
|ki= <span style="width:50px;display:inline-block;background:#201f1f"><span style="position:relative;top:-2px;left:3px">{{icon|ki damage|16|Kinetic damage}}</span> Kin</span>
+
|ki= <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
 
|Omni
 
|Omni
 
|All
 
|All
|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>
+
|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>

Revision as of 19:37, 3 July 2019

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template provides the contents for {{Damagetype}}. This should not be used alone.
Dependencies
Used by:
{{Damagetype}}
Syntax
{{Damagetype subtemplate|<damage type>}}
Parameters
damage type
The code for the damage to show. One of the following em for electromagnetic, ex for explosive, ki for kinetic or th for thermal.
Sample output
{{Damagetype subtemplate|Em}}
gives...
Electromagnetic damage EM
Visit Template:Damagetype subtemplate/doc to edit this text! (How does this work?) (Refresh this text - why?)