Template:CutsceneText: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell (historical)
m (update note)
(rewrite in HTML5 blockquote style, fixes horizontal overflow in mobile)
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-left: 48px; 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;">
|}<noinclude>
<cite id="{{anchorencode:{{{Char}}}}}" style="font-weight: bold; font-style: inherit;">{{{Char}}}</cite>:
</div>
}}
<blockquote style="margin: 0;">
{{{Text}}}
</blockquote>
</div><noinclude>


== Example Usage ==
== Example Usage ==
Line 13: Line 19:


{{EdNote|note=The usage of this template differs from {{tl|Cutscene}} in that this is for recording in-game text and dialogue that occurs outside a cutscene, or for a character's cutscene dialogue copied onto their page's own "Quotes" section. For other meta-related quotes from devs, players, or outside sources, use {{tl|Quotebox}}.}}
{{EdNote|note=The usage of this template differs from {{tl|Cutscene}} in that this is for recording in-game text and dialogue that occurs outside a cutscene, or for a character's cutscene dialogue copied onto their page's own "Quotes" section. For other meta-related quotes from devs, players, or outside sources, use {{tl|Quotebox}}.}}
The icon used in this template is [[:File:Balloon.png]].
[[Category:Mission Templates]]</noinclude>
[[Category:Mission Templates]]</noinclude>

Revision as of 19:35, 17 March 2022

{{{Text}}}

Example Usage

This:

{{CutsceneText|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 {{Cutscene}} in that this is for recording in-game text and dialogue that occurs outside a cutscene, or for a character's cutscene dialogue copied onto their page's own "Quotes" section. For other meta-related quotes from devs, players, or outside sources, use {{Quotebox}}.

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