Template:Cutscene: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
(Fixing alignment issue)
m (override blockquote border in Vector skin)
 
(20 intermediate revisions by 5 users not shown)
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="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;">
|- align=left
<div style="position: absolute; left: 8px; top: 10px;">[[File:Balloon.png|link=|alt=]]</div>
|style="width: 45px;" valign=top|[[Image:globalchat.png]]
{{#if:{{{Char|}}}|
|{{if|{{{Char|}}}|'''{{{Char}}}''':<br />|}}{{{Text}}}
<div style="margin: 1em 0;"><span id="cutscene-{{anchorencode:{{{Char}}}}}" style="font-weight: bold;">{{{Char}}}</span>:</div>
|}<noinclude>
}}
This template is to be used for in-game cutscenes where they just MUST be included for the mission to make sense (I'm using this because of Dr. Aeon's cutscenes in the [[Statesman's TF]]). I kinda suck at making templates though. And I don't know what image to put up there either, I used a Chat icon. Could someone redo this to be more attractive?
<blockquote style="margin: 1em 0; border: 0; padding: 0">
: ... So, what's wrong with it, besides the global chat icon?  What information is missing, and what would you expect to see?  All I could see worth doing was minor tweaks. --[[User:Lin Chiao Feng|Lin Chiao Feng]] 07:59, 19 April 2007 (PDT)
{{{Text}}}
</blockquote>
</div><noinclude>


==Examples==
== Example Usage ==
{{Cutscene|Char=Lin Chiao Ryu|Text=Foils!
This:
<nowiki>{{Cutscene|Char=Lin Chiao Ryu|Text=Curses!<br />Foiled again!}}</nowiki>


Cursed again!}}
Yields:
</noinclude>
{{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.