Difference between revisions of "Template:SKDamageTable"

From SpiralKnights

Jump to: navigation, search
m (Unsortable)
(update to allow collapsible tables)
Line 1: Line 1:
{{SKWindow2}}
+
{{SKWindow2|width=40em|collapsible={{{collapsible|yes}}} |state={{{state|uncollapsed}}}
 +
|header={{PAGENAME}}'s Damage Table}}
 
{{SKNewRow}}
 
{{SKNewRow}}
 
{{SKCell2||background=#114255|unsortable=yes}}
 
{{SKCell2||background=#114255|unsortable=yes}}
{{SKCell2|'''Stratum 1'''|background=#ebc94d|unsortable=yes}}
+
{{SKCell2|'''Stratum 1'''|center|background=#ebc94d|unsortable=yes}}
{{SKCell2|'''Stratum 2'''|background=#ebc94d|unsortable=yes}}
+
{{SKCell2|'''Stratum 2'''|center|background=#ebc94d|unsortable=yes}}
{{SKCell2|'''Stratum 3'''|background=#ebc94d|unsortable=yes}}
+
{{SKCell2|'''Stratum 3'''|center|background=#ebc94d|unsortable=yes}}
{{SKCell2|'''Stratum 4'''|background=#ebc94d|unsortable=yes}}
+
{{SKCell2|'''Stratum 4'''|center|background=#ebc94d|unsortable=yes}}
{{SKCell2|'''Stratum 5'''|background=#ebc94d|unsortable=yes}}
+
{{SKCell2|'''Stratum 5'''|center|background=#ebc94d|unsortable=yes}}
{{SKCell2|'''Stratum 6'''|background=#ebc94d|unsortable=yes}}
+
{{SKCell2|'''Stratum 6'''|center|background=#ebc94d|unsortable=yes}}
 
{{{1|}}}
 
{{{1|}}}
 
{{Table/End}}<noinclude>
 
{{Table/End}}<noinclude>
Line 20: Line 21:
 
=== Required ===
 
=== Required ===
 
; 1 : Rows with damages of different attack modes/ vs. creature group. Use [[template:SKDamageRow]].
 
; 1 : Rows with damages of different attack modes/ vs. creature group. Use [[template:SKDamageRow]].
 
+
=== Optional ===
 +
; collapsible : Whether to make the table collapsible. Possible values "yes" or "no".  Default value is "yes".
 +
; state : The default state of the table either "collapsed" or "uncollapsed". Default value is uncollapsed.
 
}}</noinclude>
 
}}</noinclude>

Revision as of 07:35, 23 August 2011

SKDamageTable's Damage Table
Stratum 1 Stratum 2 Stratum 3 Stratum 4 Stratum 5 Stratum 6
Template documentation

This template creates a weapon damage table. Subpages provide helper templates that work with this one.

Usage

This template can be used to display the damage information of a weapon.

Parameters

Required

Rows with damages of different attack modes/ vs. creature group. Use template:SKDamageRow.

Optional

collapsible 
Whether to make the table collapsible. Possible values "yes" or "no". Default value is "yes".
state 
The default state of the table either "collapsed" or "uncollapsed". Default value is uncollapsed.
Personal tools