Template:Command List (Base): Difference between revisions

Template page
m (fix display error)
m (apply "th-divider" class to section headers (color them differently from regular table headers))
Line 1: Line 1:
<includeonly><table class="wikitable"><!--
<includeonly><table class="wikitable"><!--
-->{{#if:{{{header|}}}|{{{header|}}}|}}<!--
-->{{#if:{{{header|}}}|{{{header|}}}|}}<!--
-->{{#if:{{{heading1|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading1|}}}</th></tr>{{{section1|}}}|}}<!--
-->{{#if:{{{heading1|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading1|}}}</th></tr>{{{section1|}}}|}}<!--
-->{{#if:{{{heading2|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading2|}}}</th></tr>{{{section2|}}}|}}<!--
-->{{#if:{{{heading2|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading2|}}}</th></tr>{{{section2|}}}|}}<!--
-->{{#if:{{{heading3|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading3|}}}</th></tr>{{{section3|}}}|}}<!--
-->{{#if:{{{heading3|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading3|}}}</th></tr>{{{section3|}}}|}}<!--
-->{{#if:{{{heading4|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading4|}}}</th></tr>{{{section4|}}}|}}<!--
-->{{#if:{{{heading4|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading4|}}}</th></tr>{{{section4|}}}|}}<!--
-->{{#if:{{{heading5|}}}|<tr><th colspan="{{{hcolumns}}}">{{{heading5|}}}</th></tr>{{{section5|}}}|}}<!--
-->{{#if:{{{heading5|}}}|<tr class="th-divider"><th colspan="{{{hcolumns}}}">{{{heading5|}}}</th></tr>{{{section5|}}}|}}<!--
-->{{#if:{{{heading6|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading6|}}}</th></tr>{{{section6|}}}|}}<!--
-->{{#if:{{{heading6|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading6|}}}</th></tr>{{{section6|}}}|}}<!--
-->{{#if:{{{heading7|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading7|}}}</th></tr>{{{section7|}}}|}}<!--
-->{{#if:{{{heading7|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading7|}}}</th></tr>{{{section7|}}}|}}<!--
-->{{#if:{{{heading8|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading8|}}}</th></tr>{{{section8|}}}|}}<!--
-->{{#if:{{{heading8|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading8|}}}</th></tr>{{{section8|}}}|}}<!--
-->{{#if:{{{heading9|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading9|}}}</th></tr>{{{section9|}}}|}}<!--
-->{{#if:{{{heading9|}}}|<tr class="th-divider"><th colspan="{{{hcolumns|}}}">{{{heading9|}}}</th></tr>{{{section9|}}}|}}<!--
-->{{#if:{{{heading10|}}}|<tr><th colspan="{{{hcolumns|}}}">{{{heading10|}}}</th></tr>{{{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><!--

Revision as of 20:05, 19 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)
| 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 =
}}