Difference between revisions of "Widget:Map Fort1"

From UnderWiki
Jump to navigation Jump to search
Line 45: Line 45:
 
<div id="webway<!--{$seed|escape:'html'|default:'1'}-->" 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<!--{$seed|escape:'html'|default:'1'}-->" 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<!--{$seed|escape:'html'|default:'1'}-->" 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<!--{$seed|escape:'html'|default:'1'}-->" 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><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"><!-- $('img[usemap]').rwdImageMaps(); --></script></includeonly>
+
</div></includeonly>

Revision as of 03:15, 29 January 2019

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

Parameters

width
Width of the map pane, in pixels. Default is 1024 pixels.
imagemap
If set, displays the imagemap of all locations which highlight in blue when moused over. By default, this is hidden. (Note: only works at full size, currently.)

Layer options:

base
If set, excludes the base map. By default, this is included. (Generally, this should be 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.

Special options:

seed
If a map is included more than once, you can override this value so it doesn't break the imagemap and layer display options in each. The default seed value is '0'.