Difference between revisions of "Template:DamageProfileHeader"

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

Latest revision as of 08:55, 7 November 2018

Template documentation (for the above template, sometimes hidden or invisible)
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%.
  • Uses CSS
Type {{DamageProfileHeader|<cell width (optional)>}} into a table row.
Sample output
{| class="wikitable"
Icon damage em.png
Icon damage therm.png
Icon damage kin.png
Icon damage exp.png
See also
Visit Template:DamageProfileHeader/doc to edit this text! (How does this work?) (Refresh this text - why?)