Difference between revisions of "Template:DamageProfileHeader/doc"
From EVE University Wiki
(added Dependencies header) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
;Description | ;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. | + | :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 | ;Dependencies | ||
:* Uses CSS | :* Uses CSS | ||
;Syntax | ;Syntax | ||
− | :Type <code>{{t|DamageProfileHeader}}</code> into a table row. | + | :Type <code>{{t|DamageProfileHeader|cell width (optional)}}</code> into a table row. |
;Sample output | ;Sample output | ||
:<code><nowiki>{| class="wikitable"</nowiki></code> | :<code><nowiki>{| class="wikitable"</nowiki></code> | ||
Line 22: | Line 22: | ||
:* [[Projectile ammunition]] | :* [[Projectile ammunition]] | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Formatting templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly> |
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 21:14, 18 March 2021
- 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...
EM |
Therm. |
Kinetic |
Exp. |