Template:Zone: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (margin padding closer to previous layout)
m (adjust overall width closer to previous layout's width)
Line 1: Line 1:
<div role="figure" aria-label="Infobox" class="infobox" style="position: relative; width: 250px; text-align: center; font-size: 95%; margin-top: 2em; margin-left: 2em; {{#switch: {{lc:{{{Type of Zone}}}}}
<div role="figure" aria-label="Infobox" class="infobox" style="position: relative; width: calc(234px + 0.4em); text-align: center; font-size: 95%; margin-top: 2em; margin-left: 2em; {{#switch: {{lc:{{{Type of Zone}}}}}
|hero city zone=border:2px solid #0000A0;
|hero city zone=border:2px solid #0000A0;
|hero hazard zone=border:2px dashed #0000A0;
|hero hazard zone=border:2px dashed #0000A0;
Line 21: Line 21:
}}">
}}">


<div style="position: absolute; top: -1.3em; width: 250px; font-size: larger; font-weight: bold;">{{{Zone Name}}}</div>
<div style="position: absolute; top: -1.3em; width: calc(234px + 0.4em); font-size: larger; font-weight: bold;">{{{Zone Name}}}</div>
{{#if: {{{Splash Image|}}}|<div style="margin: 0.2em;">[[File:{{{Splash Image}}}|250px|alt=Splash]]</div>}}
{{#if: {{{Splash Image|}}}|<div style="margin: 0.2em;">[[File:{{{Splash Image}}}|234px|alt=Splash]]</div>}}
<div style="margin: 0.2em;>[[File:{{{Zone Map}}}|{{{Width|250}}}px|alt=Map]]</div>
<div style="margin: 0.2em;>[[File:{{{Zone Map}}}|{{{Width|234}}}px|alt=Map]]</div>
<div style="margin: 0.2em; font-weight: bold;">{{{Type of Zone}}} ({{{Level Range}}})</div>
<div style="margin: 0.2em; font-weight: bold;">{{{Type of Zone}}} ({{{Level Range}}})</div>



Revision as of 07:29, 24 April 2022

{{{Zone Name}}}
[[File:{{{Zone Map}}}|234px|alt=Map]]
{{{Type of Zone}}} ({{{Level Range}}})
Trainers:
{{{Trainer}}}
Trial / TF Contacts:
{{{Task Force Contact}}}
Events:
{{{Event}}}
Exploration Badges:
{{{Exploration Badges}}}
Plaque Badges:
{{{Plaques}}}
Day Jobs:
{{{Day Jobs}}}
Enemies:
{{{Enemies}}}
Connecting Zones:
{{{Connecting Zones}}}
Transits:
{{{Lines}}}
No updated MoreMaps4U map available

Template to be used for city zone infoboxes.