Difference between revisions of "Widget:Map Fort1"

From UnderWiki
Jump to navigation Jump to search
Line 16: Line 16:
  
 
[[Category:Widgets]]
 
[[Category:Widgets]]
</noinclude><includeonly><script type="javascript"><!--
+
</noinclude><includeonly><div style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:relative;">
function show(id) {
 
  document.getElementById(id).style.opacity = 1;
 
}
 
function hide(id) {
 
  document.getElementById(id).style.opacity = 0;
 
}
 
--></script><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;<!--{if isset($imagemap)}-->display:flex;z-index:99;<!--{else}-->display:none;<!--{/if}-->">
 
<div id="imagemap" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;<!--{if isset($imagemap)}-->display:flex;z-index:99;<!--{else}-->display:none;<!--{/if}-->">
<img id="bickford_sel" src="http://underwiki.com/images/b/ba/Fort1_bickford_sel.png" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;opacity:0;" usemap="#fort1map">
+
<img id="base_sel" 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">
 
<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="show('bickford_sel')" onMouseOut="hide('bickford_sel')" href="http://underwiki.com/wiki/Bickford" alt="Bickford">
+
   <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.getElementById('base_sel').href='http://underwiki.com/images/b/ba/Fort1_bickford_sel.png';" href="http://underwiki.com/wiki/Bickford" alt="Bickford">
 
</map></div>
 
</map></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="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>
<div id="futuresend" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:8;background-image: url('http://underwiki.com/images/f/f9/Fort1_futuresend_mo.png');<!--{if isset($futuresend)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
+
<div id="futuresend" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:8;background-image: url('http://underwiki.com/images/f/f9/Fort1_futuresend_mo.png');<!--{if isset($futuresend)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
<div id="malom" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:7;background-image: url('http://underwiki.com/images/e/e1/Fort1_malom_mo.png');<!--{if isset($malom)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
+
<div id="malom" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:7;background-image: url('http://underwiki.com/images/e/e1/Fort1_malom_mo.png');<!--{if isset($malom)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
<div id="necro" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:6;background-image: url('http://underwiki.com/images/f/f2/Fort1_necro_mo.png');<!--{if isset($necro)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
+
<div id="necro" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:6;background-image: url('http://underwiki.com/images/f/f2/Fort1_necro_mo.png');<!--{if isset($necro)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
<div id="regret" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:5;background-image: url('http://underwiki.com/images/8/86/Fort1_regret_mo.png');<!--{if isset($regret)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
+
<div id="regret" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:5;background-image: url('http://underwiki.com/images/8/86/Fort1_regret_mo.png');<!--{if isset($regret)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
<div id="riders" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:4;background-image: url('http://underwiki.com/images/e/ef/Fort1_riders_mo.png');<!--{if isset($riders)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
+
<div id="riders" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:4;background-image: url('http://underwiki.com/images/e/ef/Fort1_riders_mo.png');<!--{if isset($riders)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
<div id="sanctum" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:3;background-image: url('http://underwiki.com/images/2/28/Fort1_sanctum_mo.png');<!--{if isset($sanctum)}-->display:flex;background-size:cover;;<!--{else}-->display:none;<!--{/if}-->">&nbsp;</div>
+
<div id="sanctum" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:absolute;top:0;left:0;z-index:3;background-image: url('http://underwiki.com/images/2/28/Fort1_sanctum_mo.png');<!--{if isset($sanctum)}-->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="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>
 
</div></includeonly>
 
</div></includeonly>

Revision as of 13:50, 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.