• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:ShipquoteKai"

From Kancolle Wiki
Jump to navigation Jump to search
 
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude>{{ShipquoteHeader}}</noinclude>
 
<noinclude>{{ShipquoteHeader}}</noinclude>
 
|-
 
|-
|rowspan="2" style="width: 10%; text-align: center; border-radius: 6px; border-style: solid; border-width: 1px; {{#if: {{{kai2|}}} | background-color:#FFB6C1 | {{#if: {{{kai|}}} | background-color:#ccffcc | background-color:#CCDDFF }} }}" | '''{{{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}}} }} }}
+
|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"  {{#switch: {{{scenario}}} | Secretary (Married)% | Wedding | Sunk = class="spoiler" | }} style="width: 90%; border-radius: 8px 8px 4px 4px; border-style: solid; border-width: 1px; padding: 2px 0px 2px 10px" | {{{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}}}
 
|-
 
|-
|{{#switch: {{{scenario}}} | Secretary (Married) | Wedding | Sunk = class="spoiler" | }} style="border-radius: 4px 4px 8px 8px; border-style: solid; border-width: 1px; padding: 2px 0px 2px 10px"| {{{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>

Latest revision as of 07:40, 29 August 2023

Event Japanese/English
{{{scenario}}}
{{{translation}}}
{{{origin}}}

Template-info.png Template documentation [view] [edit] [history] [purge]

How To Use

  • Notes can be added with the "ref" tag. See Equipment 3 for example.
  • If a ship has different remodel lines, simply copy and paste the relevant section and add the remodel it is related to in brackets to the scenario
    • For first remodels use the kai tag, for second remodels use the kai2 tag like below
{{ShipquoteKai
| scenario    =Introduction
| kai2        =yes
| origin      =
| translation =
| audio       =
}}

Quotes

{{ShipquoteHeader}}
{{ShipquoteKai
| scenario    =Introduction
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Library
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Secretary 1
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Secretary 2
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Secretary 3
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Secretary Idle
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Wedding
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Secretary (Married)
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Player's Score
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Joining the Fleet
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Equipment 1
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Equipment 2
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Equipment 3
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Supply
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Docking (Minor)
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Docking (Major)
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Construction
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Return from Sortie
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Starting a Sortie
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Starting a Battle
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Attack
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Air Battle/ Daytime Spotting/ Night Battle Attack
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Night Battle
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =MVP
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Minor Damage 1
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Minor Damage 2
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Major Damage
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =Sunk
| origin      =
| translation =
| audio       =
}}
|}

Hourlies

{{ShipquoteHeader | type = hourly}}
{{ShipquoteKai
| scenario    =00:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =01:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =02:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =03:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =04:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =05:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =06:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =07:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =08:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =09:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =10:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =11:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =12:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =13:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =14:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =15:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =16:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =17:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =18:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =19:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =20:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =21:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =22:00
| origin      =
| translation =
| audio       =
}}
{{ShipquoteKai
| scenario    =23:00
| origin      =
| translation =
| audio       =
}}
|}