Difference between revisions of "Widget:Map Fort1"

From UnderWiki
Jump to navigation Jump to search
Line 17: Line 17:
 
[[Category:Widgets]]
 
[[Category:Widgets]]
 
</noinclude><includeonly><div style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:relative;">
 
</noinclude><includeonly><div style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:relative;">
 +
<div id="imagemap" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:0;<!--{if isset($imagemap)}-->display:flex;background-size:cover;opacity:0;<!--{else}-->display:none;<!--{/if}-->">
 +
<img src="http://underwiki.com/images/7/75/Fort1_base.png" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;" usemap="#fort1map">
 +
<div id="bickford_sel" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:10;background-image: url('http://underwiki.com/images/b/ba/Fort1_bickford_sel.png');display:none;background-size:cover;">&nbsp;</div>
 +
<map name="fort1map">
 +
  <area shape="poly" coords="278,505,369,501,380,513,391,515,390,550,416,573,482,597,536,605,553,622,589,621,589,638,552,639,552,649,532,661,488,641,449,641,371,607,342,574,376,551,376,533,346,533,347,561,327,562,318,572,299,572,289,565,289,544,278,562" onmouseover="document.getElemenyById('bickford_sel').style.display='flex';" href="http://underwiki.com/wiki/Bickford" alt="Bickford">
 +
</map>
 
<div id="bickford" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:10;background-image: url('http://underwiki.com/images/6/6e/Fort1_bickford_mo.png');<!--{if isset($bickford)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
 
<div id="bickford" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:10;background-image: url('http://underwiki.com/images/6/6e/Fort1_bickford_mo.png');<!--{if isset($bickford)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
 
<div id="furies" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:9;background-image: url('http://underwiki.com/images/9/9c/Fort1_furies_mo.png');<!--{if isset($furies)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
 
<div id="furies" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:9;background-image: url('http://underwiki.com/images/9/9c/Fort1_furies_mo.png');<!--{if isset($furies)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
Line 27: Line 33:
 
<div id="webway" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:2;background-image: url('http://underwiki.com/images/5/5b/Fort1_webway_mo.png');<!--{if isset($webway)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
 
<div id="webway" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:2;background-image: url('http://underwiki.com/images/5/5b/Fort1_webway_mo.png');<!--{if isset($webway)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
 
<div id="base" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:1;background-image: url('http://underwiki.com/images/7/75/Fort1_base.png');<!--{if isset($base)}-->display:none;<!--{else}-->display:flex;background-size:cover;;<!--{/if}-->">&nbsp;</div>
 
<div id="base" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:1;background-image: url('http://underwiki.com/images/7/75/Fort1_base.png');<!--{if isset($base)}-->display:none;<!--{else}-->display:flex;background-size:cover;;<!--{/if}-->">&nbsp;</div>
<!--ImageMap-->
 
<div id="bickford_sel" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:10;background-image: url('http://underwiki.com/images/b/ba/Fort1_bickford_sel.png');display:none;background-size:cover;">&nbsp;</div>
 
<div id="imagemap" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:0;<!--{if isset($imagemap)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">
 
<img src="http://underwiki.com/images/7/75/Fort1_base.png" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;" usemap="#fort1map">
 
<map name="fort1map">
 
  <area shape="poly" coords="278,505,369,501,380,513,391,515,390,550,416,573,482,597,536,605,553,622,589,621,589,638,552,639,552,649,532,661,488,641,449,641,371,607,342,574,376,551,376,533,346,533,347,561,327,562,318,572,299,572,289,565,289,544,278,562" onmouseover="document.getElemenyById('bickford_sel').style.display='flex';" href="http://underwiki.com/wiki/Bickford" alt="Bickford">
 
</map></div>
 
 
</div></includeonly>
 
</div></includeonly>

Revision as of 12:52, 28 January 2019

This widget inserts a map of Tyball's Folly (Fort1).

Parameters

base
If set, excludes the base map. By default, this is included.
bickford
If set, highlights this area in gold. By default, this is hidden.
furies
If set, highlights this area in gold. By default, this is hidden.
futuresend
If set, highlights this area in gold. By default, this is hidden.
malom
If set, highlights this area in gold. By default, this is hidden.
necro
If set, highlights this area in gold. By default, this is hidden.
regret
If set, highlights this area in gold. By default, this is hidden.
riders
If set, highlights this area in gold. By default, this is hidden.
sanctum
If set, highlights this area in gold. By default, this is hidden.
webway
If set, highlights this area in gold. By default, this is hidden.
width
Width of the map pane, in pixels. Default is 1024 pixels.