More actions
m (adjust image height and width, allow a second and third image if needed) |
m (Display romaji in smaller font) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr> | <tr> | ||
<th style="font-weight:normal;"> {{#if:{{{DE|}}}{{{FR|}}}{{{ES|}}}{{{IT|}}}{{{ZH|}}}{{{KO|}}}|<!-- | <th style="font-weight:normal; text-align:left;"> {{#if:{{{DE|}}}{{{FR|}}}{{{ES|}}}{{{IT|}}}{{{ZH|}}}{{{KO|}}}|<!-- | ||
-->{{tt|<b>{{{EN|}}}</b>{{#if:{{{JP|}}}|<br>{{{JP|}}}|}}{{#if:{{{romaji|}}}|<br><i>{{{romaji|}}}</i>}}|<!-- | -->{{tt|<b>{{{EN|}}}</b>{{#if:{{{JP|}}}|<br>{{{JP|}}}|}}{{#if:{{{romaji|}}}|<br><small><i>{{{romaji|}}}</i></small>}}|<!-- | ||
-->{{#if:{{{DE|}}}|German: {{{DE|}}}<br/>}}<!-- | -->{{#if:{{{DE|}}}|German: {{{DE|}}}<br/>}}<!-- | ||
-->{{#if:{{{FR|}}}|French: {{{FR|}}}</br>}}<!-- | -->{{#if:{{{FR|}}}|French: {{{FR|}}}</br>}}<!-- | ||
Line 10: | Line 10: | ||
-->{{#if:{{{KO|}}}|Korean: {{{KO|}}} }}<!-- | -->{{#if:{{{KO|}}}|Korean: {{{KO|}}} }}<!-- | ||
-->}}|<!-- | -->}}|<!-- | ||
--><b>{{{EN|}}}</b>{{#if:{{{JP|}}}|<br>{{{JP|}}}|}}{{#if:{{{romaji|}}}|<br><i>{{{romaji|}}}</i>}}<!-- | --><b>{{{EN|}}}</b>{{#if:{{{JP|}}}|<br>{{{JP|}}}|}}{{#if:{{{romaji|}}}|<br><small><i>{{{romaji|}}}</i></small>}}<!-- | ||
-->}} </th> | -->}} </th> | ||
<th> {{{input|}}} </th> | <th> {{{input|}}} </th> | ||
Line 27: | Line 27: | ||
<tr> | <tr> | ||
<td style="text-align:center; max-width:200px;"><!-- | <td style="text-align:center; max-width:200px;"><!-- | ||
-->{{#if:{{{image|}}}|[[File:{{{image|}}}|200x200px]]}}<!-- | -->{{#if:{{{image|}}}|[[File:{{{image|}}}|200x200px]]}}{{#if:{{{caption|}}}|<br/>{{{caption|}}}}}<!-- | ||
-->{{#if:{{{image2|}}}|[[File:{{{image2|}}}|200x200px]]}}<!-- | -->{{#if:{{{image2|}}}|<br/>[[File:{{{image2|}}}|200x200px]]}}{{#if:{{{caption2|}}}|<br/>{{{caption2|}}}}}<!-- | ||
-->{{#if:{{{image3|}}}|[[File:{{{image3|}}}|200x200px]]}}</td> | -->{{#if:{{{image3|}}}|<br/>[[File:{{{image3|}}}|200x200px]]}}{{#if:{{{caption3|}}}|<br/>{{{caption3|}}}}}</td> | ||
<td {{#if:{{{input2}}}|{{#if:{{{input2|}}}|colspan="2"|}}|colspan="2"}}>{{{desc|}}}</td> | <td {{#if:{{{input2}}}|{{#if:{{{input2|}}}|colspan="2"|}}|colspan="2"}}>{{{desc|}}}</td> | ||
</tr> | </tr> | ||
Line 53: | Line 53: | ||
| input = 6D | | input = 6D | ||
| input2 = | | input2 = | ||
| image = Kagura B Dragon's Ascent.gif | | image = Kagura B Dragon's Ascent.gif |caption=Caption | ||
| image2 = Kagura B Dragon Spirit.gif | | image2 = Kagura B Dragon Spirit.gif |caption2=Caption2 | ||
| desc = A description of the command can be very long and might have multiple paragraphs. Note that in order to add line breaks, use <nowiki><br/></nowiki>. Here is a filler sentence.<br/>This is paragraph 2. | | desc = A description of the command can be very long and might have multiple paragraphs. Note that in order to add line breaks, use <nowiki><br/></nowiki>. Here is a filler sentence.<br/>This is paragraph 2. | ||
}} | }} | ||
Line 92: | Line 92: | ||
| KO = | | KO = | ||
| romaji = | | romaji = | ||
| image = | | image = |caption= | ||
| image2 = | | image2 = |caption2= | ||
| image3 = | | image3 = |caption3= | ||
| input = | | input = | ||
| input2 = | | input2 = | ||
Line 113: | Line 113: | ||
| KO = | | KO = | ||
| romaji = | | romaji = | ||
| image = | | image = |caption= | ||
| image2 = | | image2 = |caption2= | ||
| image3 = | | image3 = |caption3= | ||
| input = | | input = | ||
| desc = | | desc = |
Latest revision as of 02:14, 2 November 2019
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 Template:Command List), you must put it inside a table.
Preview
Command List
Command List (BBTAG)
Usage
<tabs> <tab name="Default">
{{Command List Row | EN = | JP = | DE = | FR = | ES = | IT = | ZH = | KO = | romaji = | image = |caption= | image2 = |caption2= | image3 = |caption3= | input = | input2 = | desc = }}
</tab> <tab name="BBTAG">
{{Command List Row | EN = | JP = | DE = | FR = | ES = | IT = | ZH = | KO = | romaji = | image = |caption= | image2 = |caption2= | image3 = |caption3= | input = | desc = }}
</tab> </tabs>
{{Command List Row | EN = English name of command | JP = Japanese name of the command | DE = German | FR = French | ES = Spanish | IT = Italian | ZH = Chinese (pick traditional over simplified) | KO = Korean | romaji = Romaji for the command | image = image name (without the File: prefix) | image2 = "" for a second image | image3 = "" for a third image | input = Input sequence for the command | input2 = Alternate input sequence for the command (omit it completely to remove the column, otherwise leave it blank to keep the column, but have it be blank e,g for BBTAG command lists - see above for templates) | desc = Description of the command. (omit it completely to remove the column, otherwise leave it blank to keep the column, but have it be blank e,g for BBTAG command lists - see above for templates) }}
Notes
We want it so that if input2 is completely omitted, the column will disappear. If input2 is left blank, but exists, then we want to column to exist, but be blank. Finally, if input2 is filled in, then we want its column to exist.
Truth Table | ||
---|---|---|
{{{input2}}} | {{{input2|}}} | |
omitted | T | F |
"input2 =" | F | F |
"input2 = something" | T | T |