Difference between revisions of "Template:DamageProfileHeader"

From EVE University Wiki
Jump to: navigation, search
m
(Remove template:icon)
 
Line 1: Line 1:
<includeonly>| style="width:{{{1|4%}}}; text-align:center; color:Cyan;" | {{icon|em damage}}<br />EM
+
<includeonly>| style="width:{{{1|4%}}}; text-align:center; color:Cyan;" | [[image:icon_damage_em.png|32px|link=]]<br />EM
| style="width:{{{1|4%}}}; text-align:center; color:OrangeRed;" | {{icon|th damage}}<br />Therm.
+
| style="width:{{{1|4%}}}; text-align:center; color:OrangeRed;" | [[image:icon_damage_therm.png|32px|link=]]<br />Therm.
| style="width:{{{1|4%}}}; text-align:center; color:Silver;" | {{icon|ki damage}}<br />Kinetic
+
| style="width:{{{1|4%}}}; text-align:center; color:Silver;" | [[image:icon_damage_kin.png|32px|link=]]<br />Kinetic
| style="width:{{{1|4%}}}; text-align:center; color:Orange;" | {{icon|ex damage}}<br />Exp.</includeonly><noinclude>
+
| style="width:{{{1|4%}}}; text-align:center; color:Orange;" | [[image:icon_damage_exp.png|32px|link=]]<br />Exp.</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:03, 8 June 2022

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template simply creates a header to be used in ammunition tables to display damage profiles. It will only work inside of a parent table. Optionally, a cell width may be specified (20px, or 5%, etc). The default width is 4%.
Dependencies
  • Uses CSS
Syntax
Type {{DamageProfileHeader|<cell width (optional)>}} into a table row.
Sample output
{| class="wikitable"
|+
{{DamageProfileHeader}}
|}
gives...
Icon damage em.png
EM
Icon damage therm.png
Therm.
Icon damage kin.png
Kinetic
Icon damage exp.png
Exp.
See also
Visit Template:DamageProfileHeader/doc to edit this text! (How does this work?) (Refresh this text - why?)