More actions
m (apply "th-divider" class to section headers (color them differently from regular table headers)) |
m (add ability to collapse the table with "collapse" parameter) |
||
Line 1: | Line 1: | ||
<includeonly><table class="wikitable"><!-- | <includeonly><table class="wikitable {{#ifeq:{{{collapse|}}}|yes|mw-collapsible mw-collapsed}}"><!-- | ||
-->{{#if:{{{header|}}}|{{{header|}}}|}}<!-- | -->{{#if:{{{header|}}}|{{{header|}}}|}}<!-- | ||
-->{{#if:{{{heading1|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading1|}}}</th></tr>{{{section1|}}}|}}<!-- | -->{{#if:{{{heading1|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading1|}}}</th></tr>{{{section1|}}}|}}<!-- | ||
Line 18: | Line 18: | ||
== Preview == | == Preview == | ||
{{Command List (Base) | {{Command List (Base) | ||
| collapse = yes | |||
| header = | | header = | ||
<tr> | <tr> | ||
Line 62: | Line 63: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Command List (Base) | {{Command List (Base) | ||
| collapse = yes (anything else = no) | |||
| header = | | header = | ||
<tr> | <tr> |
Latest revision as of 17:04, 20 May 2018
A base template to help create command list tables like Template:Command List and Template: Command List (BBTAG). This template was written to increase the readability of those templates.
Preview
Name | Command | Description |
---|---|---|
Smart Combo | ||
Command Normal | ||
Special | ||
Reversal Action | ||
EX (Takes 1 skill gauge) | ||
Extra Skill (Takes 1 skill gauge) | ||
Skill | ||
Distortion Special (Takes 2 skill gauge) | ||
Distortion Skill · Duo (takes 1 skill gauge) |
Usage
{{Command List (Base) | collapse = yes (anything else = no) | header = <tr> <th> Name </th> <th> Command </th> <th> Description </th> </tr> | hcolumns = | heading1 = | section1 = | heading2 = | section2 = | heading3 = | section3 = | heading4 = | section4 = | heading5 = | section5 = | heading6 = | section6 = | heading7 = | section7 = | heading8 = | section8 = | heading9 = | section9 = | heading10 = | section10 = }}