Difference between revisions of "Template:DamageProfileHeader/doc"

From EVE University Wiki
Jump to: navigation, search
(use header designation)
m
 
(2 intermediate revisions 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
 
:* 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 21: Line 22:
 
:* [[Projectile ammunition]]
 
:* [[Projectile ammunition]]
  
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
<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...
Icon damage em.png
EM
Icon damage therm.png
Therm.
Icon damage kin.png
Kinetic
Icon damage exp.png
Exp.
See also