Template:StageQuote: Difference between revisions

From Inkipedia, the Splatoon wiki
(Added the ability to customize the name colors (parameters Ccolor and Mcolor) and used Template:TextColor for the default values)
(only wrap localised text in span with lang attribute, excluding the English translation)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{Cquote|}}}|
<includeonly>
{{!}}{{#if:{{{Cface|}}}|[[File:Callie Expression {{{Cface}}}.jpg|right|50px|frameless|]]}}<span style="color:rgb({{{Ccolor|{{TextColor|Callie}}}}});font-weight:bold;">{{{C|Callie}}}{{{:|:}}}</span><br/>{{{Qopen|“}}}{{{Cquote|}}}{{{Qclose|”}}}{{#if:{{{CquoteEng|}}}|{{-}}({{{CquoteEng|}}})}}
{{!}}<span lang="{{Lang tag|{{{language}}}}}">{{#if:{{{C|}}}|{{#switch:{{{game}}}
{{!}}{{#if:{{{Mface|}}}|[[File:Marie Expression {{{Mface}}}.jpg|right|50px|frameless|]]}}<span style="color:rgb({{{Mcolor|{{TextColor|Marie}}}}});font-weight:bold;">{{{M|Marie}}}{{{:|:}}}</span><br/>{{{Qopen|“}}}{{{Mquote|}}}{{{Qclose|”}}}{{#if:{{{MquoteEng|}}}|{{-}}({{{MquoteEng|}}})}}
|Splatoon  = <span class="text-plazanews-s1 text-plazanews-s1-{{{CEng}}}"><span>{{{C}}}</span></span>
|Splatoon 2 = <span class="text-plazanews-s2 text-plazanews-s2-{{{CEng}}}"><span>{{{C}}}</span></span>
|Splatoon 3 = <span class="text-plazanews-s3 text-plazanews-s3-{{#switch:{{{CEng}}}|Big Man=BigMan|{{{CEng}}}}}">{{{C}}}</span>
|#default  = <span class="text-shadow-8" style="color:rgb({{{Ccolor}}});">'''{{{C}}}'''{{{:}}}</span>
}}
}}{{#if:{{{Cface|}}}|[[File:{{{CEng}}} Expression {{{Cface}}}.png|right|50px|]]}}<br>{{#if:{{{Cquote|}}}|{{{Qopen}}}{{{Cquote}}}{{{Qclose}}}}}</span>{{#if:{{{CquoteEng|}}}|<br/>({{{CquoteEng}}})}}
{{!}}<span lang="{{Lang tag|{{{language}}}}}">{{#if:{{{M|}}}|{{#switch:{{{game}}}
|Splatoon  = <span class="text-plazanews-s1 text-plazanews-s1-{{{MEng}}}"><span>{{{M}}}</span></span>
|Splatoon 2 = <span class="text-plazanews-s2 text-plazanews-s2-{{{MEng}}}"><span>{{{M}}}</span></span>
|Splatoon 3 = <span class="text-plazanews-s3 text-plazanews-s3-{{#switch:{{{MEng}}}|Big Man=BigMan|{{{MEng}}}}}">{{{M}}}</span>
|#default  = <span class="text-shadow-8" style="color:rgb({{{Mcolor}}});">'''{{{M}}}'''{{{:}}}</span>
}}
}}{{#if:{{{Mface|}}}|[[File:{{{MEng}}} Expression {{{Mface}}}.png|right|50px|]]}}<br>{{#if:{{{Mquote|}}}|{{{Qopen}}}{{{Mquote}}}{{{Qclose}}}}}</span>{{#if:{{{MquoteEng|}}}|<br/>({{{MquoteEng}}})}}
{{!}}{{{R|}}}
{{!}}{{{R|}}}
}}</includeonly><noinclude>
</includeonly><noinclude>
This template is intended only for use in [[:Template:StageQuotes]].  The table row's cells and styles are defined here.
This template is intended only for use in [[:Template:StageQuotes]].  The table row's cells and styles are defined here.
</noinclude>
</noinclude>

Latest revision as of 08:52, 7 May 2023

This template is intended only for use in Template:StageQuotes. The table row's cells and styles are defined here.