Difference between revisions of "Template:WA2ScriptLine"

From Baka-Tsuki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><tr><td align="center">{{{1}}}</td>{{#if: {{{2|}}} |<td nowrap="nowrap">{{{2}}}</td><td {{#if: {{{3|}}}||bgcolor="#FF0000"}}>{{{3}}}</td>|<td colspan="2" align="center"></td>}}<td>{{{4}}}</td><td {{#if: {{{5|}}}||bgcolor="{{#if: {{{7|}}}|#FF0000|{{{7|}}}}}"}}>{{{5|}}}</td><td bgcolor="#FFE4B5" class="commentcell">{{{6|}}}</td></tr></includeonly><noinclude>
+
<includeonly><tr><td align="center">{{{1}}}</td>{{#if: {{{2|}}}|<td nowrap="nowrap">{{{2}}}</td><td {{#if: {{{3|}}}||bgcolor="#FF0000"}}>{{{3}}}</td>|<td colspan="2" align="center"></td>}}<td>{{{4}}}</td><td {{#if: {{{5|}}}|{{#if: {{{7|}}}||bgcolor="{{{7|}}}"}}|bgcolor="#FF0000"}}>{{{5|}}}</td><td bgcolor="#FFE4B5" class="commentcell">{{{6|}}}</td></tr></includeonly><noinclude>
   
 
Usage:
 
Usage:

Revision as of 07:51, 22 March 2012


Usage:

  • first parameter is line number
  • second parameter is speaker in japanese
  • third parameter is speaker in english
  • fourth parameter is text in japanese
  • fifth parameter is text in english
  • sixth parameter is any comments
  • seventh parameter is color (either #rrggbb or name)