Template:Contact Unlocked: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (max-width to container)
m (override vector blockquote border)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
<div style="flex: none; width: 45px; text-align: center;">[[File:Balloon.png|link=|alt=]]</div>
<div style="flex: none; width: 45px; text-align: center;">[[File:Balloon.png|link=|alt=]]</div>


<div style="flex: none; width: 70px; 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>
<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>


<blockquote style="margin: 0 0 0 10px; text-align: left;">
<blockquote style="margin: 0 0 0 0.5em; border: none; text-align: left;">
{{{Text|}}}
{{{Text|}}}
</blockquote>
</blockquote>

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.