Template:Zone: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>GreyDog
m (margin adjustment)
m (chrome bug? border-spacing uses rem not em)
 
(56 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| align="right" style="width: 250px; text-align: left; font-size: 95%; left-margin: 2em;{{{{{Type of Zone}}}}}" cell-padding="2"
<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}}}}}
|+ style="font-size: larger;"|'''{{{Zone Name}}}'''
|hero city zone=border:2px solid #0000A0;
|-
|hero hazard zone=border:2px dashed #0000A0;
| colspan="2" style="text-align:center"| [[Image:{{{Zone Map}}}|250px]]
|hero trial zone=border:2px dashed #0000A0;
|-
|hero social zone=border:3px double #0000A0;
! colspan="2" style="text-align:center"|{{{Type of Zone}}} ({{{Level Range}}})
|villain city zone=border:2px solid #A00000;
|- bgcolor=lightgrey
|villain hazard zone=border:2px dashed #A00000;
! style="text-align: right"|Trainer:
|villain trial zone=border:2px dashed #A00000;
| {{{Trainer}}}
|villain social zone=border:3px double #A00000;
|-
|praetorian city zone=border:2px solid #C99A00;
! style="text-align: right"|TF Contact:
|praetorian hazard zone=border:2px dashed #C99A00;
| {{{Task Force Contact}}}
|praetorian trial zone=border:2px dashed #C99A00;
|- bgcolor=lightgrey
|praetorian social zone=border:3px double #C99A00;
! style="text-align: right"|Event:
|pvp zone=border:2px dotted #600060;
| {{{Event}}}
|co-op city zone=border:2px solid #000000;
|-
|co-op hazard zone=border:2px dashed #000000;
! style="text-align: right"|Exploration Badges:
|co-op trial zone=border:2px dashed #000000;
| {{{Exploration Badges}}}
|co-op social zone=border:3px double #45d769;
|- bgcolor=lightgrey
|war zone=border:2px dashed #000000;
! style="text-align: right"|Plaques:
|#default=border:2px solid #000000;
| {{{Plaques}}}
}}">
|-
! style="text-align: right"|Enemies:
| {{{Enemies}}}
|- bgcolor=lightgrey
! style="text-align: right"|Connecting Zones:
| {{{Connecting Zones}}}
|-
! style="text-align: right"|Transit:
| {{{Lines}}}
|- bgcolor=lightgrey
|colspan="2" style="text-align:center"|[http://vidiotmaps.com/maps_int.php?map={{{VidiotMaps File}}} {{{Zone Name}}} at VidiotMaps.com]
|}


<noinclude>
<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}}}|277px|alt=Splash]]</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>


{{Hero City Zone}}
<dl class="nowraplinks" style="display: table; margin: 0 0 -0.2em; width: 100%; border-spacing: 0.2105rem; text-align: left;">
{{Hero Hazard Zone}}
{{Villain City Zone}}
{{Villain Hazard Zone}}
{{PvP Zone}}
{{Coop City Zone}}


{|
<div style="display: table-row; background-color: #DDDDDD;">
|style="{{Hero City Zone}}"| Hero City Zone Template
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Trainers:</dt>
|-
<dd style="display: table-cell; padding: 0.2em;">{{{Trainer}}}</dd>
|style="{{Hero Hazard Zone}}"|Hero Hazard Zone Template
</div>
|-
|style="{{Villain City Zone}}"|Villain City Zone Template
|-
|style="{{Villain Hazard Zone}}"|Villain Hazard Zone Template
|-
|style="{{PvP Zone}}"|PvP Zone Template
|-
|style="{{Coop City Zone}}"|Coop City Zone Template


|}
<div style="display: table-row;">
</noinclude>
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Trial / TF Contacts:</dt>
<dd style="display: table-cell; padding: 0.2em;">{{{Task Force Contact}}}</dd>
</div>
 
<div style="display: table-row; background-color: #DDDDDD;">
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Events:</dt>
<dd style="display: table-cell; padding: 0.2em;">{{{Event}}}</dd>
</div>
 
<div style="display: table-row;">
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Exploration Badges:</dt>
<dd style="display: table-cell; padding: 0.2em;">{{{Exploration Badges}}}</dd>
</div>
 
<div style="display: table-row; background-color: #DDDDDD;">
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Plaque Badges:</dt>
<dd style="display: table-cell; padding: 0.2em;">{{{Plaques}}}</dd>
</div>
 
<div style="display: table-row;">
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Day Jobs:</dt>
<dd style="display: table-cell; padding: 0.2em;">{{{Day Jobs}}}</dd>
</div>
 
<div style="display: table-row; background-color: #DDDDDD;">
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Enemies:</dt>
<dd style="display: table-cell; padding: 0.2em;">{{{Enemies}}}</dd>
</div>
 
<div style="display: table-row;">
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Connecting Zones:</dt>
<dd style="display: table-cell; padding: 0.2em;">{{{Connecting Zones}}}</dd>
</div>
 
<div style="display: table-row; background-color: #DDDDDD;">
<dt style="display: table-cell; padding: 0.2em; line-height: inherit; font-family: inherit; text-align: right;">Transits:</dt>
<dd style="display: table-cell; padding: 0.2em;">{{{Lines}}}</dd>
</div>
 
</dl>
{{#if:{{{VidiotMap|}}}|
<div style="margin: 0.2em; padding: 0.2em; background-color: lightgrey;"><!--[http://www.badge-hunter.com/index.php?/page/maps_po.php?map={{{VidiotMaps File}}}&type=po {{{Zone Name}}} at VidiotMaps.com]-->[[:Media:{{{VidiotMap}}} VidiotMap.png|{{{VidiotMap}}} VidiotMap]]</div>
}}{{#if:{{{VidiotMap2|}}}|
<div style="margin: 0.2em; padding: 0.2em; background-color: lightgrey;">[[:Media:{{{VidiotMap2}}} VidiotMap.png|{{{VidiotMap2}}} VidiotMap]]</div>
}}
<div style="margin: 0.2em; padding: 0.2em; background-color: lightgrey;">{{#if:{{{MoreMaps4U|}}}{{{MoreMapsAlt|}}}|[[:Media:{{{MoreMaps4U}}} MoreMaps4U.png|{{{MoreMapsAlt}}} MoreMaps4U Map]]|No updated MoreMaps4U map available}}</div>
 
</div><noinclude>Template to be used for city zone infoboxes.
 
[[Category:Standardized Text Templates]]</noinclude>

Latest revision as of 06:59, 13 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.