Difference between revisions of "Template:SKDamageTable"

From SpiralKnights

Jump to: navigation, search
(update to allow collapsible tables)
(add "click to show" if default state is collapsed)
Line 1: Line 1:
 
{{SKWindow2|width=40em|collapsible={{{collapsible|yes}}} |state={{{state|uncollapsed}}}
 
{{SKWindow2|width=40em|collapsible={{{collapsible|yes}}} |state={{{state|uncollapsed}}}
|header={{PAGENAME}}'s Damage Table}}
+
|header={{PAGENAME}}'s Damage Table {{#ifeq:{{{state|}}}|collapsed|(Click to Show!)}} }}
 
{{SKNewRow}}
 
{{SKNewRow}}
 
{{SKCell2||background=#114255|unsortable=yes}}
 
{{SKCell2||background=#114255|unsortable=yes}}

Revision as of 07:41, 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