More actions
added Dependencies header |
mNo edit summary |
||
| (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> | ||