Difference between revisions of "Widget:Map Fort1"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
; 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'. | ; 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'. | ||
[[Category:Widgets]] | [[Category:Widgets]] | ||
− | </noinclude><includeonly | + | </noinclude><includeonly><div style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;position:relative;"> |
<div id="imagemap<!--{$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;<!--{if isset($imagemap)}-->display:flex;z-index:99;<!--{else}-->display:none;<!--{/if}-->"> | <div id="imagemap<!--{$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;<!--{if isset($imagemap)}-->display:flex;z-index:99;<!--{else}-->display:none;<!--{/if}-->"> | ||
<img id="base_sel<!--{$seed|escape:'html'|default:'1'}-->" src="http://underwiki.com/images/4/48/Trans.png" width="1024" height="1024" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;" usemap="#fort1_map<!--{$seed|escape:'html'|default:'1'}-->"> | <img id="base_sel<!--{$seed|escape:'html'|default:'1'}-->" src="http://underwiki.com/images/4/48/Trans.png" width="1024" height="1024" style="width:<!--{$width|escape:'html'|default:'1024'}-->px;height:<!--{$width|escape:'html'|default:'1024'}-->px;" usemap="#fort1_map<!--{$seed|escape:'html'|default:'1'}-->"> |
Revision as of 03:18, 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'.