Template:Cutscene: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Leandro
(Just a stub template until I can make something better. Some missions just don't make sense without the cutscenes in there.)
 
m (override blockquote border in Vector skin)
 
(30 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<div style="margin: 0.5em;">
<div role="figure" {{#if:{{{Char|}}}|aria-labelledby="cutscene-{{anchorencode:{{{Char}}}}}"}} style="display: flow-root; position: relative; margin: 0.5em; border: 1px solid #4169E1; padding: 0 1em 0 48px; max-width: 70ch; background: #F4F4F4; text-align: left;">
{|style="background-color: #F4F4F4; border: 1px solid #4169E1;"
<div style="position: absolute; left: 8px; top: 10px;">[[File:Balloon.png|link=|alt=]]</div>
|-
{{#if:{{{Char|}}}|
|Rowspan=2 Valign=top|[[Image:globalchat.png|left]] || '''{{{Name}}}'''
<div style="margin: 1em 0;"><span id="cutscene-{{anchorencode:{{{Char}}}}}" style="font-weight: bold;">{{{Char}}}</span>:</div>
|-
}}
| style="width:100%;"|{{{Text}}}
<blockquote style="margin: 1em 0; border: 0; padding: 0">
|}</div>
{{{Text}}}
</blockquote>
</div><noinclude>
 
== Example Usage ==
This:
<nowiki>{{Cutscene|Char=Lin Chiao Ryu|Text=Curses!<br />Foiled again!}}</nowiki>
 
Yields:
{{Cutscene|Char=Lin Chiao Ryu|Text=Curses!<br />Foiled again!}}
 
{{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>

Latest revision as of 09:52, 17 October 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.