• 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
m
m
Line 2: Line 2:
 
|- data-file="{{#replace:Ship Voice {{PAGENAME}}{{#if:{{{kai|}}}|<nowiki/> Kai}}{{#if:{{{kai2|}}}|<nowiki/> Kai Ni}} {{{line|{{#ifeq:{{#sub:{{{scenario}}}|2|1}}|:|{{#sub:{{{scenario}}}|0|2}}|{{{scenario}}}}}}}}.mp3|<nowiki/> |_}}"
 
|- data-file="{{#replace:Ship Voice {{PAGENAME}}{{#if:{{{kai|}}}|<nowiki/> Kai}}{{#if:{{{kai2|}}}|<nowiki/> Kai Ni}} {{{line|{{#ifeq:{{#sub:{{{scenario}}}|2|1}}|:|{{#sub:{{{scenario}}}|0|2}}|{{{scenario}}}}}}}}.mp3|<nowiki/> |_}}"
 
|rowspan="2" style="width: 10%; text-align: center; border-radius: 6px; border-style: solid; border-width: 1px; {{#if: {{{kai|}}} | background-color:#CCFFCC | {{#if: {{{kai2|}}} | background-color:#FFB6C1 | {{#if: {{{kai3|}}} | background-color:#FCFA92 | 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}}} }} | {{Audio|file = {{#replace:Ship Voice {{PAGENAME}}{{#if:{{{kai|}}}|<nowiki/> Kai}}{{#if:{{{kai2|}}}|<nowiki/> Kai Ni}} {{{line|{{#ifeq:{{#sub:{{{scenario}}}|2|1}}|:|{{#sub:{{{scenario}}}|0|2}}|{{#ifeq:{{{scenario}}}|Air Battle/Daytime Spotting/Night Battle Attack|Night Attack|{{{scenario}}}}}}}}}}.mp3|<nowiki/> |_}} }} }}
 
|rowspan="2" style="width: 10%; text-align: center; border-radius: 6px; border-style: solid; border-width: 1px; {{#if: {{{kai|}}} | background-color:#CCFFCC | {{#if: {{{kai2|}}} | background-color:#FFB6C1 | {{#if: {{{kai3|}}} | background-color:#FCFA92 | 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}}} }} | {{Audio|file = {{#replace:Ship Voice {{PAGENAME}}{{#if:{{{kai|}}}|<nowiki/> Kai}}{{#if:{{{kai2|}}}|<nowiki/> Kai Ni}} {{{line|{{#ifeq:{{#sub:{{{scenario}}}|2|1}}|:|{{#sub:{{{scenario}}}|0|2}}|{{#ifeq:{{{scenario}}}|Air Battle/Daytime Spotting/Night Battle Attack|Night Attack|{{{scenario}}}}}}}}}}.mp3|<nowiki/> |_}} }} }}
|{{#switch: {{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Secretary %(Married%)).*}}{{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Wedding).*}}{{#invoke:RegExpr|findMatch|{{{scenario}}}|^(Sunk).*}} | 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" | {{{translation}}}
+
|{{#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}}}
 
|-
 
|-
|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" | }} style="border-radius: 4px 4px 8px 8px; border-style: solid; border-width: 1px; padding: 2px 0px 2px 10px"| {{{origin}}}
+
|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>

Revision as of 04:57, 31 August 2019

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       =
}}
|}