Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Command List Row: Difference between revisions

Template page
mNo edit summary
m (alter to work with BBTAG command lists)
Line 3: Line 3:
<td> '''{{{EN|}}}'''{{#if:{{{JP|}}}|<br>{{{JP|}}}|}}{{#if:{{{romaji|}}}|<br>''{{{romaji|}}}''}} </td>
<td> '''{{{EN|}}}'''{{#if:{{{JP|}}}|<br>{{{JP|}}}|}}{{#if:{{{romaji|}}}|<br>''{{{romaji|}}}''}} </td>
<td> {{{input|}}} </td>
<td> {{{input|}}} </td>
<td> {{{input2|}}} </td>
{{#switch:{{{type|}}}|BBTAG=|#default=<td> {{{input2|}}} </td>}}
<td> {{{desc|}}} </td>
<td> {{{desc|}}} </td>
</tr>
</tr>
</includeonly><noinclude>
</includeonly><noinclude>
This is a template to be used alongside [[:Template:Command List]]. It defines a single row of the command list.
This is a template to be used alongside [[:Template:Command List]] or [[:Template:Command List (BBTAG)]]. It defines a single row of the command list.


If you wish to use this template on its own (without Command List), you must put it {{tt|inside a table|<pre style="text-align:left"><table class="wikitable">
If you wish to use this template on its own (without Command List), you must put it {{tt|inside a table|<pre style="text-align:left"><table class="wikitable">
Line 19: Line 19:
}}
}}
</table></pre>}}.
</table></pre>}}.
== Preview ==
<table class="wikitable">
{{Command List Row
  | EN    = English name of command
  | JP    = Japanese name of the command
  | romaji = Romaji for the command
  | input  = Input sequence for the command
  | input2 = Alternate input sequence for the command<br>(omitted for BBTAG command lists)
  | desc  = Description of the command.
  | type  = BBTAG (only necessary for BBTAG command lists. Omit this for all other lists)
}}
</table>


== Usage ==
== Usage ==
<tabs plain>
<tab name="Default">
<pre><nowiki>
<pre><nowiki>
{{Command List Row
{{Command List Row
Line 30: Line 47:
   | desc  =  
   | desc  =  
}}
}}
 
</nowiki></pre>
</tab>
<tab name="BBTAG">
<pre><nowiki>
{{Command List Row
{{Command List Row
   | EN    = English name of command
   | EN    =  
   | JP    = Japanese name of the command
   | JP    =  
   | romaji = Romaji for the command
   | Romaji =  
   | input  = Input sequence for the command
   | input  =  
   | input2 = Alternate input sequence for the command
   | input2 =  
   | desc  = Description of the command.
   | desc  =  
  | type  = BBTAG
}}
}}
</nowiki></pre>
</nowiki></pre>
</tab>
</tabs>


<table class="wikitable">
<pre><nowiki>
{{Command List Row
{{Command List Row
   | EN    = English name of command
   | EN    = English name of command
Line 47: Line 70:
   | romaji = Romaji for the command
   | romaji = Romaji for the command
   | input  = Input sequence for the command
   | input  = Input sequence for the command
   | input2 = Alternate input sequence for the command
   | input2 = Alternate input sequence for the command<br>(omitted for BBTAG command lists)
   | desc  = Description of the command.
   | desc  = Description of the command.
  | type  = BBTAG (only necessary for BBTAG command lists. Omit this for all other lists)
}}
}}
</table>
</nowiki></pre>


[[Category:Gameplay Templates]]
[[Category:Gameplay Templates]]
</noinclude>
</noinclude>

Revision as of 02:12, 26 March 2018

This is a template to be used alongside Template:Command List or Template:Command List (BBTAG). It defines a single row of the command list.

If you wish to use this template on its own (without Command List), you must put it

inside a table
<table class="wikitable">
{{Command List Row
  | EN     = 
  | JP     = 
  | Romaji = 
  | input  = 
  | input2 = 
  | desc   = 
}}
</table>

.

Preview

English name of command
Japanese name of the command
Romaji for the command
Input sequence for the command Alternate input sequence for the command
(omitted for BBTAG command lists)
Description of the command.

Usage

<tabs plain> <tab name="Default">

{{Command List Row
  | EN     = 
  | JP     = 
  | Romaji = 
  | input  = 
  | input2 = 
  | desc   = 
}}

</tab> <tab name="BBTAG">

{{Command List Row
  | EN     = 
  | JP     = 
  | Romaji = 
  | input  = 
  | input2 = 
  | desc   = 
  | type   = BBTAG
}}

</tab> </tabs>

{{Command List Row
  | EN     = English name of command
  | JP     = Japanese name of the command
  | romaji = Romaji for the command
  | input  = Input sequence for the command
  | input2 = Alternate input sequence for the command<br>(omitted for BBTAG command lists)
  | desc   = Description of the command.
  | type   = BBTAG (only necessary for BBTAG command lists. Omit this for all other lists)
}}