Template:Zone: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(avoid wrapping links)
(increase width to match other infoboxes)
Line 1: Line 1:
<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}}}}}
<div role="figure" aria-label="Infobox" class="infobox" style="position: relative; width: calc(277px + 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: calc(234px + 0.4em); font-size: larger; font-weight: bold;">{{{Zone Name}}}</div>
<div style="position: absolute; top: -1.3em; width: calc(277px + 0.4em); font-size: larger; font-weight: bold;">{{{Zone Name}}}</div>
{{#if: {{{Splash Image|}}}|<div style="margin: 0.2em 0.2em 0.4em;">[[File:{{{Splash Image}}}|234px|alt=Splash]]</div>}}
{{#if: {{{Splash Image|}}}|<div style="margin: 0.2em 0.2em 0.4em;">[[File:{{{Splash Image}}}|277px|alt=Splash]]</div>}}
<div style="margin: 0.2em 0.2em 0.4em;>[[File:{{{Zone Map}}}|{{{Width|234}}}px|alt=Map]]</div>
<div style="margin: 0.2em 0.2em 0.4em;>[[File:{{{Zone Map}}}|{{{Width|277}}}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 03:43, 1 May 2022

{{{Zone Name}}}
[[File:{{{Zone Map}}}|277px|alt=Map]]
{{{Type of Zone}}} ({{{Level Range}}})
No updated MoreMaps4U map available

Template to be used for city zone infoboxes.