More actions
(Created page with "<includeonly><table class="wikitable"><!-- -->{{#if:{{{header|}}}|{{{header|}}}|}}<!-- -->{{#if:{{{heading1|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading1|}}}</th>{{{section...") |
m (add ability to collapse the table with "collapse" parameter) |
||
(2 intermediate revisions by the same user not shown) | |||
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><th colspan="{{{hcolumns}}}">{{{heading1|}}}</th>{{{section1|}}} | -->{{#if:{{{heading1|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading1|}}}</th></tr>{{{section1|}}}|}}<!-- | ||
-->{{#if:{{{heading2|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading2|}}}</th>{{{section2|}}} | -->{{#if:{{{heading2|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading2|}}}</th></tr>{{{section2|}}}|}}<!-- | ||
-->{{#if:{{{heading3|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading3|}}}</th>{{{section3|}}} | -->{{#if:{{{heading3|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading3|}}}</th></tr>{{{section3|}}}|}}<!-- | ||
-->{{#if:{{{heading4|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading4|}}}</th>{{{section4|}}} | -->{{#if:{{{heading4|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading4|}}}</th></tr>{{{section4|}}}|}}<!-- | ||
-->{{#if:{{{heading5|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading5|}}}</th>{{{section5|}}} | -->{{#if:{{{heading5|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading5|}}}</th></tr>{{{section5|}}}|}}<!-- | ||
-->{{#if:{{{heading6|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading6|}}}</th>{{{section6|}}} | -->{{#if:{{{heading6|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading6|}}}</th></tr>{{{section6|}}}|}}<!-- | ||
-->{{#if:{{{heading7|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading7|}}}</th>{{{section7|}}} | -->{{#if:{{{heading7|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading7|}}}</th></tr>{{{section7|}}}|}}<!-- | ||
-->{{#if:{{{heading8|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading8|}}}</th>{{{section8|}}} | -->{{#if:{{{heading8|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading8|}}}</th></tr>{{{section8|}}}|}}<!-- | ||
-->{{#if:{{{heading9|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading9|}}}</th>{{{section9|}}} | -->{{#if:{{{heading9|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading9|}}}</th></tr>{{{section9|}}}|}}<!-- | ||
-->{{#if:{{{heading10|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading10|}}}</th>{{{section10|}}} | -->{{#if:{{{heading10|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading10|}}}</th></tr>{{{section10|}}}|}}<!-- | ||
--></table><!-- | --></table><!-- | ||
--><div style="clear:both;"></div><!-- | --><div style="clear:both;"></div><!-- | ||
Line 18: | Line 18: | ||
== Preview == | == Preview == | ||
{{Command List (Base) | {{Command List (Base) | ||
| collapse = yes | |||
| header = | | header = | ||
<tr> | <tr> | ||
Line 28: | Line 29: | ||
| heading1 = Smart Combo | | heading1 = Smart Combo | ||
| section1 = | | section1 = | ||
{{Command List Row | |||
| EN = | |||
| JP = | |||
| romaji = | |||
| input = | |||
| desc = | |||
}} | |||
| heading2 = Command Normal | | heading2 = Command Normal | ||
| section2 = | | section2 = | ||
{{Command List Row | |||
| EN = | |||
| JP = | |||
| romaji = | |||
| input = | |||
| desc = | |||
}} | |||
| heading3 = Special | | heading3 = Special | ||
| section3 = | | section3 = | ||
Line 48: | 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 = }}