Template:Cutscene: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell
m (templatize)
(copy changes from Template:CutsceneText: rewrite in html5 blockquote style, fixes right side overflow on mobile, limits line length for widescreen readability)
Line 1: Line 1:
{|style="background: #F4F4F4; border: 1px solid #4169E1; width:100%; text-align: left; margin: 0.5em;"
<div role="figure" {{#if:{{{Char|}}}|aria-labelledby="{{anchorencode:{{{Char}}}}}"}} style="position: relative; margin: 0.5em; border: 1px solid #4169E1; padding: 0 1em 0 48px; max-width: 70ch; background: #F4F4F4; text-align: left;">
|- align=left
<div style="position: absolute; left: 8px; top: 10px;">[[Image:Balloon.png|link=|alt=]]</div>
|style="width: 45px;" valign=top|[[Image:Balloon.png]]
{{#if:{{{Char|}}}|
|{{#if:{{{Char|}}}|'''{{{Char}}}''':<br />|}}{{{Text}}}
<div style="margin: 1em 0;"><cite id="{{anchorencode:{{{Char}}}}}" style="font-weight: bold; font-style: inherit;">{{{Char}}}</cite>:</div>
|}<noinclude>
}}
<blockquote style="margin: 0;">
{{{Text}}}
</blockquote>
</div><noinclude>


== Example Usage ==
== Example Usage ==
Line 14: Line 18:
{{EdNote|note=The usage of this template differs from {{tl|CutsceneText}} in that this is for recording in-game cutscene dialogue on the actual mission article, not in the "Quotes" section of the speaker's page.}}
{{EdNote|note=The usage of this template differs from {{tl|CutsceneText}} in that this is for recording in-game cutscene dialogue on the actual mission article, not in the "Quotes" section of the speaker's page.}}


The icon used in this template is [[:File:Balloon.png]].
[[Category:Mission Templates]]</noinclude>
[[Category:Mission Templates]]</noinclude>

Revision as of 21:56, 18 March 2022

{{{Text}}}

Example Usage

This:

{{Cutscene|Char=Lin Chiao Ryu|Text=Curses!<br />Foiled again!}}

Yields:

Lin Chiao Ryu:

Curses!
Foiled again!

Editor's Note:

The usage of this template differs from {{CutsceneText}} in that this is for recording in-game cutscene dialogue on the actual mission article, not in the "Quotes" section of the speaker's page.

The icon used in this template is File:Balloon.png.