Difference between revisions of "Template:DamageProfileHeader"

From EVE University Wiki
Jump to: navigation, search
(center text)
(incorporated cell width parameter)
Line 1: Line 1:
<includeonly>| style="width:4%; text-align:center; color:Cyan;" | {{icon|em damage}}<br />EM
+
<includeonly>| style="width:{{{1|4%}}}; text-align:center; color:Cyan;" | {{icon|em damage}}<br />EM
| style="width:4%; text-align:center; color:OrangeRed;" | {{icon|th damage}}<br />Therm.
+
| style="width:{{{1|4%}}}; text-align:center; color:OrangeRed;" | {{icon|th damage}}<br />Therm.
| style="width:4%; text-align:center; color:Silver;" | {{icon|ki damage}}<br />Kinetic
+
| style="width:{{{1|4%}}}; text-align:center; color:Silver;" | {{icon|ki damage}}<br />Kinetic
| style="width:4%; text-align:center; color:Orange;" | {{icon|ex damage}}<br />Exp.</includeonly><noinclude>{{documentation}}</noinclude>
+
| style="width:{{{1|4%}}}; text-align:center; color:Orange;" | {{icon|ex damage}}<br />Exp.</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 08:55, 7 November 2018

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