Changes

no edit summary
Line 1: Line 1: −
{| style="width: 100%;"
+
<noinclude>{{ShipquoteHeader}}</noinclude>
 
|-
 
|-
|rowspan="2" style="width: 10%; text-align: center; border-radius: 6px; border-style: solid; border-width: 1px; background-color:#BBFFFF" | '''{{{scenario}}}'''{{#ifeq: {{{scenario}}} | Equipment 3 | <ref>This line is shared with expedition selection, resource collection, instant repair and development.</ref> }} <br/>{{#if:{{{audio|}}} | {{Audio|file = {{{audio}}} }} }}
+
|class='play-cell' rowspan="2" style="width: 10%; text-align: center; border-radius: 6px; border-style: solid; border-width: 1px; {{#if: {{{kai|}}}{{{r1|}}} | background-color:#CCFFCC | {{#if: {{{kai2|}}}{{{r2|}}}{{{form2|}}} | background-color:#FFB6C1 | {{#if: {{{kai3|}}}{{{kaic|}}}{{{kai2c|}}}{{{kai2d|}}}{{{kai2e|}}}{{{kai2b|}}}{{{kai2toku|}}}{{{kai2j|}}}{{{r3|}}} | background-color:#FCFA92 | {{#if: {{{kai4|}}}{{{kaigo|}}}{{{r4|}}} | background-color:#FFD5A8 | {{#if: {{{name|}}} | background-color:#AACCFF | background-color:#CCDDFF }} }} }} }} }}" | '''{{#ifeq:{{#len:{{{scenario}}}}}|2|{{{scenario}}}:00|{{{scenario}}}}}'''{{#switch: {{{scenario}}} | #default = | Equipment 3 =<ref>This line is shared with expedition selection, resource collection, instant repair and development.</ref> | Docking (Completed) =<ref>Unused line, likely would have been used as a repair notifier</ref> }} <br/>{{#if:{{{audio|}}} | {{Audio|file = {{{audio}}} }} | {{Audio|file = {{#replace:Ship Voice {{{name|{{BASEPAGENAME}}}}}{{#if:{{{kai|}}}|<nowiki/> Kai}}{{#if:{{{kai2|}}}|<nowiki/> Kai Ni}}{{#if:{{{kai3|}}}|<nowiki/> Kai San}}{{#if:{{{form2|}}}|<nowiki/> {{{form2}}}}}{{#if:{{{kai2b|}}}|<nowiki/> Kai Ni B}}{{#if:{{{kaic|}}}{{{kai2c|}}}|<nowiki/> Kai Ni C}}{{#if:{{{kai2d|}}}|<nowiki/> Kai Ni D}}{{#if:{{{kai2e|}}}|<nowiki/> Kai Ni E}}{{#if:{{{kai2toku|}}}|<nowiki/> Kai Ni Toku}}{{#if:{{{kaigo|}}}|<nowiki/> Kai Ni Go}}{{#if:{{{kai2j|}}}|<nowiki/> Kai Ni Juu}} {{{line|{{#ifeq:{{#sub:{{{scenario}}}|2|1}}|:|{{#sub:{{{scenario}}}|0|2}}|{{#ifeq:{{{scenario}}}|Air Battle/Daytime Spotting/Night Battle Attack|Night Attack|{{{scenario}}}}}}}}}}.mp3|<nowiki/> |_}} }} }}
|lang="ja" style="width: 90%; border-radius: 8px 8px 4px 4px; border-style: solid; border-width: 1px; padding: 2px 0px 2px 10px" | {{#switch: {{{scenario}}} | Secretary (Married) | Wedding | Sunk = {{Template:Background_color|#000000|{{{origin}}} }} | {{{origin}}} }}
+
|{{#switch: {{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Secretary %(Married%)).*}}{{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Wedding).*}}{{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Sunk).*}} | Secretary (Married) | Wedding | Sunk = class="spoiler" | }}{{#ifeq:{{{scenario}}}|Secretary Married|class="spoiler"}} style="width: 90%; border-radius: 8px 8px 4px 4px; border-style: solid; border-width: 1px; padding: 2px 0px 2px 10px" | {{{translation}}}
 
|-
 
|-
|style="border-radius: 4px 4px 8px 8px; border-style: solid; border-width: 1px; padding: 2px 0px 2px 10px"| {{#switch: {{{scenario}}} | Secretary (Married) | Wedding | Sunk = {{Template:Background_color|#000000|{{{translation|Hello World}}} }} | {{{translation}}} }}
+
|lang="ja"  {{#switch: {{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Secretary %(Married%)).*}}{{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Wedding).*}}{{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Sunk).*}} | Secretary (Married) | Wedding | Sunk = class="spoiler" | }}{{#ifeq:{{{scenario}}}|Secretary Married|class="spoiler"}} style="border-radius: 4px 4px 8px 8px; border-style: solid; border-width: 1px; padding: 2px 0px 2px 10px"| {{{origin}}}
|}
+
|- <noinclude>
<noinclude>{{Documentation}}</noinclude>
+
|} {{Documentation}}</noinclude>
cssedit, gkautomate
7,064

edits