Template:Contact Unlocked: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell (historical)
mNo edit summary
m (override vector blockquote border)
 
(7 intermediate revisions by 3 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" aria-labelledby="contact-unlocked-{{anchorencode:{{{Contact}}}}}" style="display: flex; margin: 0.5em; border: 1px solid #4169E1; padding: 0.5em; max-width: 80ch; background: #F4F4F4;">
|- align=left
 
|style="width: 45px;" valign=top|[[Image:Balloon.png]]
<div style="flex: none; width: 45px; text-align: center;">[[File:Balloon.png|link=|alt=]]</div>
|<div style="float: left; width: 60px; text-align: center;">{{#if:{{{Image|}}}|[[Image:{{{Image}}}|{{{Size|48px}}}]]|{{#ifexist:Image:Contact Small {{{Contact}}}.jpg|[[Image:Contact Small {{{Contact}}}.jpg|48px]]|[[Image:Badge question mark.png]]}}}}<br /><small>{{#if:{{{ContactLink|}}}|[[{{{ContactLink}}}{{!}}{{{Contact}}}]]|{{linkifexists|{{{Contact}}}}}}}</small></div>
 
<div style="margin-left: 70px;">
<div style="flex: none; width: 6em; text-align: center; font-size: smaller;"><div>{{#if:{{{Image|}}}|[[File:{{{Image}}}|{{{Size|48px}}}|link=|alt=]]|{{#ifexist:File:Contact Small {{{Contact}}}.jpg|[[File:Contact Small {{{Contact}}}.jpg|48px|link=|alt=]]|[[File:Badge question mark.png|link=|alt=]]}}}}</div>{{#if:{{{ContactLink|}}}|[[{{{ContactLink}}}{{!}}<span id="contact-unlocked-{{anchorencode:{{{Contact}}}}}" style="padding-top: {{#expr:{{{Size|48}}}+2}}px;">{{{Contact}}}</span>]]|{{linkifexists|page={{{Contact}}}|name=<span id="contact-unlocked-{{anchorencode:{{{Contact}}}}}" style="padding-top: {{#expr:{{{Size|48}}}+2}}px;">{{{Contact}}}</span>}}}}</div>
{{{Text|}}}</div>
 
|}
<blockquote style="margin: 0 0 0 0.5em; border: none; text-align: left;">
{{clr|left}}<noinclude>
{{{Text|}}}
</blockquote>
 
</div><noinclude>
{{Documentation|content=
This template is used to represent when a player receives the pop-up window signifying that the requirements for unlocking a contact have been met.


== Example Usage ==
== Example Usage ==
Line 13: Line 18:


Yields:
Yields:
{{Contact Unlocked|Contact=Statesman|Text=I've heard about you, {{Character}}.<br />{{darkorange|You can now call this contact for missions.}}}}
{{Contact Unlocked|Contact=Statesman|Text=I've heard about you, {{Character}}.<br />{{darkorange|You can now call this contact for missions.}}}}}}
 
[[Category:Mission Templates]]</noinclude>
[[Category:Mission Templates]]</noinclude>

Latest revision as of 21:13, 27 February 2023

{{{Contact}}}
Documentation

This template is used to represent when a player receives the pop-up window signifying that the requirements for unlocking a contact have been met.

Example Usage

This:

{{Contact Unlocked|Contact=Statesman|Text=I've heard about you, {{Character}}.<br />{{darkorange|You can now call this contact for missions.}}}}

Yields:

I've heard about you, Character.
You can now call this contact for missions.