Template:StageQuote: Difference between revisions
From Inkipedia, the Splatoon wiki
(format S2 news dialogue labels like in-game, using new CSS) |
(only wrap localised text in span with lang attribute, excluding the English translation) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{!}}{{#if:{{{C|}}}|{{#switch:{{{game}}} | {{!}}<span lang="{{Lang tag|{{{language}}}}}">{{#if:{{{C|}}}|{{#switch:{{{game}}} | ||
|Splatoon = <span class="text-plazanews-s1 text-plazanews-s1-{{{CEng}}}"><span>{{{C}}}</span></span> | |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 2 = <span class="text-plazanews-s2 text-plazanews-s2-{{{CEng}}}"><span>{{{C}}}</span></span> | ||
Line 6: | Line 6: | ||
|#default = <span class="text-shadow-8" style="color:rgb({{{Ccolor}}});">'''{{{C}}}'''{{{:}}}</span> | |#default = <span class="text-shadow-8" style="color:rgb({{{Ccolor}}});">'''{{{C}}}'''{{{:}}}</span> | ||
}} | }} | ||
}}{{#if:{{{Cface|}}}|[[File:{{{CEng}}} Expression {{{Cface}}}.png|right|50px|]]}}<br>{{{Qopen}}}{{{Cquote | }}{{#if:{{{Cface|}}}|[[File:{{{CEng}}} Expression {{{Cface}}}.png|right|50px|]]}}<br>{{#if:{{{Cquote|}}}|{{{Qopen}}}{{{Cquote}}}{{{Qclose}}}}}</span>{{#if:{{{CquoteEng|}}}|<br/>({{{CquoteEng}}})}} | ||
{{!}}{{#if:{{{M|}}}|{{#switch:{{{game}}} | {{!}}<span lang="{{Lang tag|{{{language}}}}}">{{#if:{{{M|}}}|{{#switch:{{{game}}} | ||
|Splatoon = <span class="text-plazanews-s1 text-plazanews-s1-{{{MEng}}}"><span>{{{M}}}</span></span> | |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 2 = <span class="text-plazanews-s2 text-plazanews-s2-{{{MEng}}}"><span>{{{M}}}</span></span> | ||
Line 13: | Line 13: | ||
|#default = <span class="text-shadow-8" style="color:rgb({{{Mcolor}}});">'''{{{M}}}'''{{{:}}}</span> | |#default = <span class="text-shadow-8" style="color:rgb({{{Mcolor}}});">'''{{{M}}}'''{{{:}}}</span> | ||
}} | }} | ||
}}{{#if:{{{Mface|}}}|[[File:{{{MEng}}} Expression {{{Mface}}}.png|right|50px|]]}}<br>{{{Qopen}}}{{{Mquote | }}{{#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.