Difference between revisions of "Template:Damagetype"

From EVE University Wiki
Jump to: navigation, search
(Added note to Mordu's legion. BS deal almost purely kinetic. Smaller things deal both kin and th.)
(Undo revision 132158 by Hirmuolio pine (talk))
Line 1: Line 1:
<includeonly>{{#if:{{{Name|}}}|{{{!}}style="margin-left:1em;text-align:left"
+
<includeonly>{{#switch: {{{1}}}
{{!}}'''{{{Name}}}'''
+
|Em
{{!}}}|}}<table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:900px">{{#if:{{{Level|}}}
+
|EM
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Level</td><td style="padding:2px 0 2px 5px;">{{{Level}}}</td></tr> |}}{{#if:{{{Type|}}}
+
|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>
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Type</td><td style="padding:2px 0 2px 5px;">{{{Type}}}</td></tr> |}}{{#if:{{{Objective|}}}
+
|Ex
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Objective</td><td style="padding:2px 0 2px 5px;">{{{Objective}}}</td></tr>|}}{{#if:{{{Faction|}}}
+
|EX
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Faction</td><td style="padding:2px 0 2px 5px;">{{{Faction}}}</td></tr>|{{#if: {{{Faction1|}}}
+
|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>
|<tr><td style="background:#191616;padding:0px 1em">{{#if:{{{Faction2|}}}| Factions | Faction }}</td><td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{{Faction1}}}</span>{{#if: {{{Faction2|}}} |<span style="width:155px;display:inline-block">{{{Faction2}}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{{Faction3}}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{{Faction4}}}</span>|}} </td></tr> |}} }}{{#if:{{{DamageToDeal|}}}
+
|Th
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Best damage to deal</td><td style="padding:2px 0 2px 5px;">{{{DamageToDeal}}}</td></tr> |{{#if: {{{Faction1|}}} | <tr><td style="background:#191616;padding:0px 1em">Best damage to deal</td><td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal1|}}}|{{{DamageToDeal1}}}|{{#switch: {{{Faction1}}}
+
|TH
| Serpentis = {{Damagetype|Kin|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>
| Angel
+
|Kin
| Angel Cartel = {{Damagetype|Ex|Kin}}
+
|KIN
| Syndicate
+
|kin
| The Syndicate = {{Damagetype|Kin|Th}}
+
|KI
| Guristas pirates
+
|Ki
| Guristas = {{Damagetype|Kin|Th}}
+
|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>
| Sansha
+
|omni
| Sansha's Nation = {{Damagetype|Em|Th}}
+
|Omni
| Blood Raider Covenant
+
|All
| Blood Raiders = {{Damagetype|Em|Th}}
+
|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>
| Mordu's
+
|<span style="width:50px;display:inline-block;background:#191616">{{{1}}}</span> }}{{#if:{{{2|}}}
| Mordu's Legion = {{Damagetype|Kin|Em}}
+
|{{#switch: {{{2}}}
| EOM
+
|Em
| Equilibrium of Mankind = {{Damagetype|Kin}}
+
|EM
| CONCORD = {{Damagetype|Kin|Th}}
+
|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>
| Amarr Empire
+
|Ex
| Amarr = {{Damagetype|Em|Th}}
+
|EX
| Ammatar = {{Damagetype|Em|Th}}
+
|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>
| Minmatar Republic
+
|Th
| Minmatar = {{Damagetype|Ex|Kin}}
+
|TH
| Gallente Federation
+
|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>
| Gallente = {{Damagetype|Kin|Th}}
+
|Kin
| Caldari State
+
|KIN
| Caldari = {{Damagetype|Kin|Th}}
+
|kin
| Khanid Kingdom
+
|KI
| Khanid = {{Damagetype|Em|Th}}
+
|Ki
| Mercenaries = {{Damagetype|Kin|Th}}
+
|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>
| Rogue Drones = {{Damagetype|Em|Th}}
+
|omni
| Damage to deal not defined for faction 1
+
|Omni
}}}}</span>{{#if: {{{Faction2|}}} | <span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal2|}}}|{{{DamageToDeal2}}}|{{#switch: {{{Faction2}}}
+
|All
| Serpentis = {{Damagetype|Kin|Th}}
+
|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>
| Angel
+
|<span style="width:50px;display:inline-block;background:#0f0f0f">{{{1}}}</span> }}}}{{#if:{{{3|}}}
| Angel Cartel = {{Damagetype|Ex|Kin}}
+
|{{#switch: {{{3}}}
| Syndicate
+
|Em
| The Syndicate = {{Damagetype|Kin|Th}}
+
|EM
| Guristas pirates
+
|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>
| Guristas = {{Damagetype|Kin|Th}}
+
|Ex
| Sansha
+
|EX
| Sansha's Nation = {{Damagetype|Em|Th}}
+
|ex= <span style="width:50px;display:inline-block;background:#201c15"><span style="position:relative;top:-2px;left:3px">{{icon|ex damage|16|Explosive damage}}</span> Ex</span>
| Blood Raider Covenant
+
|Th
| Blood Raiders = {{Damagetype|Em|Th}}
+
|TH
| Mordu's
+
|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>
| Mordu's Legion = {{Damagetype|Kin|Em}}
+
|Kin
| EOM
+
|KIN
| Equilibrium of Mankind = {{Damagetype|Kin}}
+
|kin
| CONCORD = {{Damagetype|Kin|Th}}
+
|KI
| Amarr Empire
+
|Ki
| Amarr = {{Damagetype|Em|Th}}
+
|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>
| Ammatar = {{Damagetype|Em|Th}}
+
|omni
| Minmatar Republic
+
|Omni
| Minmatar = {{Damagetype|Ex|Kin}}
+
|All
| Gallente Federation
+
|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>
| Gallente = {{Damagetype|Kin|Th}}
+
|<span style="width:50px;display:inline-block;background:#0f0f0f">{{{1}}}</span> }}}}</includeonly><noinclude>
| Caldari State
 
| Caldari = {{Damagetype|Kin|Th}}
 
| Khanid Kingdom
 
| Khanid = {{Damagetype|Em|Th}}
 
| Mercenaries = {{Damagetype|Kin|Th}}
 
| Rogue Drones = {{Damagetype|Em|Th}}
 
| Damage to deal not defined for faction 2
 
}}}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}}|{{{DamageToDeal3}}}|{{#switch: {{{Faction3}}}
 
| Serpentis = {{Damagetype|Kin|Th}}
 
| Angel
 
| Angel Cartel = {{Damagetype|Ex|Kin}}
 
| Syndicate
 
| The Syndicate = {{Damagetype|Kin|Th}}
 
| Guristas pirates
 
| Guristas = {{Damagetype|Kin|Th}}
 
| Sansha
 
| Sansha's Nation = {{Damagetype|Em|Th}}
 
| Blood Raider Covenant
 
| Blood Raiders = {{Damagetype|Em|Th}}
 
| Mordu's
 
| Mordu's Legion = {{Damagetype|Kin|Em}}
 
| EOM
 
| Equilibrium of Mankind = {{Damagetype|Kin}}
 
| CONCORD = {{Damagetype|Kin|Th}}
 
| Amarr Empire
 
| Amarr = {{Damagetype|Em|Th}}
 
| Ammatar = {{Damagetype|Em|Th}}
 
| Minmatar Republic
 
| Minmatar = {{Damagetype|Ex|Kin}}
 
| Gallente Federation
 
| Gallente = {{Damagetype|Kin|Th}}
 
| Caldari State
 
| Caldari = {{Damagetype|Kin|Th}}
 
| Khanid Kingdom
 
| Khanid = {{Damagetype|Em|Th}}
 
| Mercenaries = {{Damagetype|Kin|Th}}
 
| Rogue Drones = {{Damagetype|Em|Th}}
 
| Damage to deal not defined for faction 3
 
}}}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}}|{{{DamageToDeal4}}}|{{#switch: {{{Faction4}}}
 
| Serpentis = {{Damagetype|Kin|Th}}
 
| Angel
 
| Angel Cartel = {{Damagetype|Ex|Kin}}
 
| Syndicate
 
| The Syndicate = {{Damagetype|Kin|Th}}
 
| Guristas pirates
 
| Guristas = {{Damagetype|Kin|Th}}
 
| Sansha
 
| Sansha's Nation = {{Damagetype|Em|Th}}
 
| Blood Raider Covenant
 
| Blood Raiders = {{Damagetype|Em|Th}}
 
| Mordu's
 
| Mordu's Legion = {{Damagetype|Kin|Em}}
 
| EOM
 
| Equilibrium of Mankind = {{Damagetype|Kin}}
 
| CONCORD = {{Damagetype|Kin|Th}}
 
| Amarr Empire
 
| Amarr = {{Damagetype|Em|Th}}
 
| Ammatar = {{Damagetype|Em|Th}}
 
| Minmatar Republic
 
| Minmatar = {{Damagetype|Ex|Kin}}
 
| Gallente Federation
 
| Gallente = {{Damagetype|Kin|Th}}
 
| Caldari State
 
| Caldari = {{Damagetype|Kin|Th}}
 
| Khanid Kingdom
 
| Khanid = {{Damagetype|Em|Th}}
 
| Mercenaries = {{Damagetype|Kin|Th}}
 
| Rogue Drones = {{Damagetype|Em|Th}}
 
| Damage to deal not defined for faction 4
 
}}}}</span>|}}{{#if:{{{Faction1|}}}| </td></tr> |}} |}} }}{{#if:{{{DamageToResist|}}}
 
| <tr><td style="background:#191616;padding:0px 1em">Damage to resist</td><td style="padding:2px 0 2px 5px;">{{{DamageToResist}}}</td></tr> |{{#if: {{{Faction1|}}} | <tr><td style="background:#191616;padding:0px 1em">Damage to resist</td><td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToResist1|}}}|{{{DamageToResist1}}}|{{#switch: {{{Faction1}}}
 
| Serpentis = {{Damagetype|Th|Kin}}
 
| Angel
 
| Angel Cartel = {{Damagetype|Ex|Kin}}
 
| Syndicate
 
| The Syndicate = {{Damagetype|Kin|Th}}
 
| Guristas pirates
 
| Guristas = {{Damagetype|Kin|Th}}
 
| Sansha
 
| Sansha's Nation = {{Damagetype|Em|Th}}
 
| Blood Raider Covenant
 
| Blood Raiders = {{Damagetype|Em|Th}}
 
| Mordu's
 
| Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
 
| EOM
 
| Equilibrium of Mankind = {{Damagetype|Kin|Th}}
 
| CONCORD = {{Damagetype|Omni}}
 
| Amarr Empire
 
| Amarr = {{Damagetype|Em|Th}}
 
| Ammatar = {{Damagetype|Em|Th}}
 
| Minmatar Republic
 
| Minmatar = {{Damagetype|Ex|Kin}}
 
| Gallente Federation
 
| Gallente = {{Damagetype|Kin|Th}}
 
| Caldari State
 
| Caldari = {{Damagetype|Kin|Th}}
 
| Khanid Kingdom
 
| Khanid = {{Damagetype|Th|Em}}
 
| Mercenaries = {{Damagetype|Kin|Th}}
 
| Rogue Drones = {{Damagetype|Ex|Kin|Th}}
 
| Damage to resist not defined for faction 1
 
}}}}</span>{{#if: {{{Faction2|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist2|}}}|{{{DamageToResist2}}}|{{#switch: {{{Faction2}}}
 
| Serpentis = {{Damagetype|Th|Kin}}
 
| Angel
 
| Angel Cartel = {{Damagetype|Ex|Kin}}
 
| Syndicate
 
| The Syndicate = {{Damagetype|Kin|Th}}
 
| Guristas pirates
 
| Guristas = {{Damagetype|Kin|Th}}
 
| Sansha
 
| Sansha's Nation = {{Damagetype|Em|Th}}
 
| Blood Raider Covenant
 
| Blood Raiders = {{Damagetype|Em|Th}}
 
| Mordu's
 
| Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
 
| EOM
 
| Equilibrium of Mankind = {{Damagetype|Kin|Th}}
 
| CONCORD = {{Damagetype|Omni}}
 
| Amarr Empire
 
| Amarr = {{Damagetype|Em|Th}}
 
| Ammatar = {{Damagetype|Em|Th}}
 
| Minmatar Republic
 
| Minmatar = {{Damagetype|Ex|Kin}}
 
| Gallente Federation
 
| Gallente = {{Damagetype|Kin|Th}}
 
| Caldari State
 
| Caldari = {{Damagetype|Kin|Th}}
 
| Khanid Kingdom
 
| Khanid = {{Damagetype|Th|Em}}
 
| Mercenaries = {{Damagetype|Kin|Th}}
 
| Rogue Drones = {{Damagetype|Ex|Kin|Th}}
 
| Damage to resist not defined for faction 2
 
}}}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}}|{{{DamageToResist3}}}|{{#switch: {{{Faction3}}}
 
| Serpentis = {{Damagetype|Th|Kin}}
 
| Angel
 
| Angel Cartel = {{Damagetype|Ex|Kin}}
 
| Syndicate
 
| The Syndicate = {{Damagetype|Kin|Th}}
 
| Guristas pirates
 
| Guristas = {{Damagetype|Kin|Th}}
 
| Sansha
 
| Sansha's Nation = {{Damagetype|Em|Th}}
 
| Blood Raider Covenant
 
| Blood Raiders = {{Damagetype|Em|Th}}
 
| Mordu's
 
| Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
 
| EOM
 
| Equilibrium of Mankind = {{Damagetype|Kin|Th}}
 
| CONCORD = {{Damagetype|Omni}}
 
| Amarr Empire
 
| Amarr = {{Damagetype|Em|Th}}
 
| Ammatar = {{Damagetype|Em|Th}}
 
| Minmatar Republic
 
| Minmatar = {{Damagetype|Ex|Kin}}
 
| Gallente Federation
 
| Gallente = {{Damagetype|Kin|Th}}
 
| Caldari State
 
| Caldari = {{Damagetype|Kin|Th}}
 
| Khanid Kingdom
 
| Khanid = {{Damagetype|Th|Em}}
 
| Mercenaries = {{Damagetype|Kin|Th}}
 
| Rogue Drones = {{Damagetype|Ex|Kin|Th}}
 
| Damage to resist not defined for faction 3
 
}}}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist4|}}}|{{{DamageToResist4}}}|{{#switch: {{{Faction4}}}
 
| Serpentis = {{Damagetype|Th|Kin}}
 
| Angel
 
| Angel Cartel = {{Damagetype|Ex|Kin}}
 
| Syndicate
 
| The Syndicate = {{Damagetype|Kin|Th}}
 
| Guristas pirates
 
| Guristas = {{Damagetype|Kin|Th}}
 
| Sansha
 
| Sansha's Nation = {{Damagetype|Em|Th}}
 
| Blood Raider Covenant
 
| Blood Raiders = {{Damagetype|Em|Th}}
 
| Mordu's
 
| Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
 
| EOM
 
| Equilibrium of Mankind = {{Damagetype|Kin|Th}}
 
| CONCORD = {{Damagetype|Omni}}
 
| Amarr Empire
 
| Amarr = {{Damagetype|Em|Th}}
 
| Ammatar = {{Damagetype|Em|Th}}
 
| Minmatar Republic
 
| Minmatar = {{Damagetype|Ex|Kin}}
 
| Gallente Federation
 
| Gallente = {{Damagetype|Kin|Th}}
 
| Caldari State
 
| Caldari = {{Damagetype|Kin|Th}}
 
| Khanid Kingdom
 
| Khanid = {{Damagetype|Th|Em}}
 
| Mercenaries = {{Damagetype|Kin|Th}}
 
| Rogue Drones = {{Damagetype|Ex|Kin|Th}}
 
| Damage to resist not defined for faction 4
 
}}}}</span>|}}{{#if:{{{Faction1|}}}| </td></tr> |}}  |}} }}{{#if:{{{WebPoint|}}}
 
| <tr><td style="background:#191616;padding:0px 1em">Warp disruption</td><td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td></tr> |}}{{#if:{{{EWAR|}}}
 
| <tr><td style="background:#191616;padding:0px 1em">EWAR</td><td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td></tr> |}}{{#if:{{{ShipSizeLimit|}}}
 
| <tr><td style="background:#191616;padding:0px 1em">Ship size limit</td><td style="padding:2px 0 2px 5px;">{{{ShipSizeLimit}}}</td></tr> |}}{{#if:{{{ShipSuggestion|}}}
 
| <tr><td style="background:#191616;padding:0px 1em">Ship suggestion</td><td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td></tr> |}}{{#if:{{{Rewards|}}}
 
| <tr><td style="background:#191616;padding:0px 1em">Rewards</td><td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td></tr> |}}{{#if:{{{StandingLoss|}}}
 
| <tr><td style="width:125px;background:#191616;padding:0px 1em">Standing loss</td><td style="padding:2px 0 2px 5px;">{{{StandingLoss}}}</td></tr> |}}{{#if:{{{Extra|}}}
 
| <tr><td style="width:125px;background:#191616;padding:0px 1em">Extra</td><td style="padding:2px 0 2px 5px;">{{{Extra}}}</td></tr> |}}
 
</table></includeonly><noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:33, 27 January 2018

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?)