Template:StageQuote: Difference between revisions
From Inkipedia, the Splatoon wiki
(Finally added in support for expressions.) |
(only wrap localised text in span with lang attribute, excluding the English translation) |
||
(22 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{ | <includeonly> | ||
{{ | {{!}}<span lang="{{Lang tag|{{{language}}}}}">{{#if:{{{C|}}}|{{#switch:{{{game}}} | ||
{{!}}{{#if:{{{ | |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> | |||
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.