Difference between revisions of "Template:Damagetype"

From EVE University Wiki
Jump to: navigation, search
(Removed repeation by using separate template for those)
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="width:40px;display:inline-block;margin-left:5px">{{#switch: {{{1}}}
+
<includeonly>{{Damagetype subtemplate|{{{1}}}}}{{Damagetype subtemplate|{{{2}}}}}{{Damagetype subtemplate|{{{3}}}}}{{Damagetype subtemplate|{{{4}}}}}{{Damagetype subtemplate|{{{5}}}}}</includeonly><noinclude>
|Em
 
|EM
 
|em={{icon|em damage|16|Electromagnetic damage}} EM
 
|Ex
 
|EX
 
|ex={{icon|ex damage|16|Explosive damage}} Ex
 
|Th
 
|TH
 
|th={{icon|th damage|16|Thermal damage}} Th
 
|Kin
 
|KIN
 
|kin
 
|KI
 
|Ki
 
|ki={{icon|ki damage|16|Kinetic damage}} Kin}}</span>{{#if:{{{2|}}}
 
|<span style="width:40px;display:inline-block;margin-left:5px">{{#switch: {{{2}}}
 
|Em
 
|EM
 
|em={{icon|em damage|16|Electromagnetic damage}} EM
 
|Ex
 
|EX
 
|ex={{icon|ex damage|16|Explosive damage}} Ex
 
|Th
 
|TH
 
|th={{icon|th damage|16|Thermal damage}} Th
 
|Kin
 
|KIN
 
|kin
 
|KI
 
|Ki
 
|ki={{icon|ki damage|16|Kinetic damage}} Kin}} </span> }}{{#if:{{{3|}}}
 
|<span style="width:40px;display:inline-block;margin-left:5px">{{#switch: {{{3}}}
 
|Em
 
|EM
 
|em={{icon|em damage|16|Electromagnetic damage}} EM
 
|Ex
 
|EX
 
|ex={{icon|ex damage|16|Explosive damage}} Ex
 
|Th
 
|TH
 
|th={{icon|th damage|16|Thermal damage}} Th
 
|Kin
 
|KIN
 
|kin
 
|KI
 
|Ki
 
|ki={{icon|ki damage|16|Kinetic damage}} Kin}}</span>}}</includeonly>
 
<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:25, 3 July 2019

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 KinThermal damage ThElectromagnetic damage EM
Visit Template:Damagetype/doc to edit this text! (How does this work?) (Refresh this text - why?)