Difference between revisions of "Template:SKDamageTableTest"

From SpiralKnights

Jump to: navigation, search
(Personal test to modify the other template.)
 
Line 1: Line 1:
 
{{SKWindow2|width=50em|collapsible={{{collapsible|yes}}} |state={{{state|uncollapsed}}}
 
{{SKWindow2|width=50em|collapsible={{{collapsible|yes}}} |state={{{state|uncollapsed}}}
|header={{PAGENAME}}'s Damage Table {{#ifeq:{{{state|}}}|collapsed|(Click to Show!)}} }}
+
|header={{{2|}}} }}
 
{{SKNewRow}}
 
{{SKNewRow}}
 
{{SKCell2||background=#114255|unsortable=yes}}
 
{{SKCell2||background=#114255|unsortable=yes}}
Line 10: Line 10:
 
{{SKCell2|'''Stratum 6'''|center|background=#ebc94d|unsortable=yes}}
 
{{SKCell2|'''Stratum 6'''|center|background=#ebc94d|unsortable=yes}}
 
{{{1|}}}
 
{{{1|}}}
{{Table/End}}<noinclude>
+
{{Table/End}}
{{Documentation
+
 
| content =
+
<noinclude>
{{#switch: {{{header}}}
+
{{#switch: {{{header =}}}
| custom = {{{2|}}}'s Damage Table {{#ifeq:{{{state|}}}|collapsed|(Click to Show!)}}
+
| yes = {{{2|}}}'s Damage Table {{#ifeq:{{{state|}}}|collapsed|(Click to Show!)}}
 
| #default = {{PAGENAME}}'s Damage Table {{#ifeq:{{{state|}}}|collapsed|(Click to Show!)}}
 
| #default = {{PAGENAME}}'s Damage Table {{#ifeq:{{{state|}}}|collapsed|(Click to Show!)}}
}}
+
}}</noinclude>
  
 
This template creates a weapon damage table. Subpages provide helper templates that work with this one.
 
This template creates a weapon damage table. Subpages provide helper templates that work with this one.

Revision as of 22:34, 13 May 2014

Stratum 1 Stratum 2 Stratum 3 Stratum 4 Stratum 5 Stratum 6


SKDamageTableTest's Damage Table

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