Difference between revisions of "Template:DamageProfileHeader/doc"

From EVE University Wiki
Jump to: navigation, search
(added Dependencies header)
(added cell width parameter info)
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>

Revision as of 08:54, 7 November 2018

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