Template:Cutscene: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
m (more unique html id)
m (overflow:hidden to prevent overlap with right floats e.g. infobox)
Line 1: Line 1:
<div role="figure" {{#if:{{{Char|}}}|aria-labelledby="cutscene-{{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;">
<div role="figure" {{#if:{{{Char|}}}|aria-labelledby="cutscene-{{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; overflow: hidden;">
<div style="position: absolute; left: 8px; top: 10px;">[[File:Balloon.png|link=|alt=]]</div>
<div style="position: absolute; left: 8px; top: 10px;">[[File:Balloon.png|link=|alt=]]</div>
{{#if:{{{Char|}}}|
{{#if:{{{Char|}}}|

Revision as of 02:31, 21 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.