Difference between revisions of "Template:Damagetype"

From EVE University Wiki
Jump to: navigation, search
(Removed repeation by using separate template for those)
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="width:{{#ifeq:{{{1}}}|all|120px|40px}};display:inline-block;font-size:10px">{{#switch: {{{1}}}
+
<includeonly>{{Damagetype subtemplate|{{{1}}}}}{{Damagetype subtemplate|{{{2}}}}}{{Damagetype subtemplate|{{{3}}}}}{{Damagetype subtemplate|{{{4}}}}}{{Damagetype subtemplate|{{{5}}}}}</includeonly><noinclude>
|Em
 
|EM
 
|em=<span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}</span> EM
 
|Ex
 
|EX
 
|ex=<span style="position:relative;top:-1px;left:3px">{{icon|ex damage|16|Explosive damage}}</span> Ex
 
|Th
 
|TH
 
|th=<span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|Thermal damage}}</span> Th
 
|Kin
 
|KIN
 
|kin
 
|KI
 
|Ki
 
|ki=<span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|Thermal damage}}</span> Kin
 
|all=<span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}</span><span style="position:relative;top:-1px;left:3px">{{icon|ex damage|16|Explosive damage}}</span><span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|Thermal damage}}</span><span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|Thermal damage}}</span> All}}</span>{{#if:{{{2|}}}
 
|<span style="width:40px;display:inline-block;margin-left:5px;font-size:10px">{{#switch: {{{2}}}
 
|Em
 
|EM
 
|em=<span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}</span> EM
 
|Ex
 
|EX
 
|ex=<span style="position:relative;top:-1px;left:3px">{{icon|ex damage|16|Explosive damage}}</span> Ex
 
|Th
 
|TH
 
|th=<span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|Thermal damage}}</span> Th
 
|Kin
 
|KIN
 
|kin
 
|KI
 
|Ki
 
|ki=<span style="position:relative;top:-1px;left:3px">{{icon|ki damage|16|Kinetic damage}}</span> Kin}}</span>}}{{#if:{{{3|}}}
 
|<span style="width:40px;display:inline-block;margin-left:5px;font-size:10px">{{#switch: {{{3}}}
 
|Em
 
|EM
 
|em=<span style="position:relative;top:-2px;left:3px">{{icon|em damage|16|Electromagnetic damage}}</span> EM
 
|Ex
 
|EX
 
|ex=<span style="position:relative;top:-1px;left:3px">{{icon|ex damage|16|Explosive damage}}</span> Ex
 
|Th
 
|TH
 
|th=<span style="position:relative;top:-2px;left:3px">{{icon|th damage|16|Thermal damage}}</span> Th
 
|Kin
 
|KIN
 
|kin
 
|KI
 
|Ki
 
|ki=<span style="position:relative;top:-1px;left:3px">{{icon|ki damage|16|Kinetic damage}}</span> 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 the best damages to deal in a mission. Used in {{missiondetails}}
Syntax
Type {{Damagetype|<damage code>}} somewhere.
Where damage code is em, ex, ki, th or omni. 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?)