Difference between revisions of "Template:DamageProfileHeader"

From EVE University Wiki
Jump to: navigation, search
(incorporated cell width parameter)
m
Line 2: Line 2:
 
| style="width:{{{1|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:{{{1|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:{{{1|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 13:08, 15 March 2021

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