Difference between revisions of "Widget:Map Fort1"
Jump to navigation
Jump to search
(21 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
=== Parameters === | === Parameters === | ||
− | ; base : If set, excludes the base map. By default, this is included. | + | ; 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. | ||
+ | |||
+ | === Layer Parameters === | ||
+ | ; 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. | ; 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. | ; furies : If set, highlights this area in gold. By default, this is hidden. | ||
Line 13: | Line 17: | ||
; sanctum : 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. | ; webway : If set, highlights this area in gold. By default, this is hidden. | ||
− | |||
+ | === Special Parameters === | ||
+ | ; seed : If a map is included more than once on a page, you can override this value so the imagemap and layers are controlled separately in each. The default seed value is '0'. | ||
[[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;<!--{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" src=" | + | <img id="base_sel<!--{$seed|escape:'html'|default:'1'}-->" src="https://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'}-->"> |
− | <map name=" | + | <map name="fort1_map<!--{$seed|escape:'html'|default:'1'}-->"> |
− | <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'). | + | <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<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/b/ba/Fort1_bickford_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Bickford's_Cellar" alt="Bickford's Cellar"> |
+ | <area shape="poly" coords="591,621,612,621,612,653,661,652,661,645,698,644,699,653,747,654,747,647,764,647,764,655,768,655,768,736,773,793,761,811,765,815,743,846,737,843,727,857,728,869,696,870,697,899,757,898,764,926,764,948,794,969,793,981,774,991,753,973,753,968,744,968,743,931,717,932,717,941,697,942,697,948,669,949,669,871,638,871,603,842,592,814,591,738,593,738,591,652,597,652,596,637,591,637" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/9/95/Fort1_furies_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Gate_of_the_Furies" alt="Gate of the Furies"> | ||
+ | <area shape="poly" coords="704,283,758,342,750,349,751,381,738,408,720,417,711,417,691,398,622,399,642,418,631,419,599,387,591,366,592,347,604,327,644,319" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/8/86/Fort1_futuresend_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Future's_End" alt="Future's End"> | ||
+ | <area shape="poly" coords="558,23,611,26,610,56,669,59,666,136,691,139,705,153,704,160,721,176,761,178,757,242,739,242,738,250,705,280,642,318,606,326,526,324,517,314,520,228,484,227,487,164,502,164,503,140,470,103" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/8/83/Fort1_malom_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Tomb_of_Malom" alt="Tomb of Malom"> | ||
+ | <area shape="poly" coords="180,237,248,215,267,223,277,220,290,227,322,317,320,325,325,324,349,359,325,376,276,458,280,463,270,489,270,505,277,505,277,520,273,521,255,569,212,596,181,592,141,590,85,549,108,514,93,498,66,498,66,491,35,490,38,436,64,431,72,409,67,405,122,306,141,298,137,283,159,276,158,272,180,263" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/8/8b/Fort1_necro_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Necromanteion" alt="Necromanteion"> | ||
+ | <area shape="poly" coords="180,28,226,28,227,63,231,71,228,94,233,115,234,134,232,171,236,210,245,214,180,235,174,195,179,166,179,138,172,109,179,65" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/b/bb/Fort1_regret_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Chronos'_Regret" alt="Chronos' Regret"> | ||
+ | <area shape="poly" coords="762,178,838,182,835,248,801,247,799,270,783,285,788,290,747,326,707,282,732,258,751,279,764,268,769,272,779,263,780,243,759,242" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/5/53/Fort1_riders_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Shrine_of_the_Fallen_Riders" alt="Shrine of the Fallen Riders"> | ||
+ | <area shape="poly" coords="662,399,691,398,710,417,720,417,721,464,751,463,753,560,739,560,739,589,733,595,732,631,724,641,637,643,626,633,625,598,616,588,615,562,601,562,599,466,630,465,629,419,642,419" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/c/c4/Fort1_sanctum_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Shunned_Sanctum" alt="Shunned Sanctum"> | ||
+ | <area shape="poly" coords="814,249,836,250,836,256,830,256,830,281,860,334,878,324,915,384,893,398,901,410,910,404,928,435,920,440,938,472,897,498,902,508,899,520,914,544,914,548,921,560,941,549,972,599,923,629,892,578,913,565,906,552,903,554,896,544,873,555,832,567,821,578,817,577,800,606,777,620,764,626,764,645,747,645,748,614,764,613,788,598,808,569,807,567,813,554,823,513,805,523,783,529,754,529,754,488,779,488,768,468,761,472,748,451,771,437,776,444,810,423,804,413,795,418,775,413,756,382,762,359,768,355,749,328,772,308,783,320,770,332,780,348,785,344,809,351,827,380,824,394,832,390,841,379,850,381,857,391,868,385,854,362,849,338,813,284" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/3/39/Fort1_webway_sel.png';" onMouseOut="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/4/48/Trans.png';" href="https://underwiki.com/wiki/Forsaken_Webway" alt="Forsaken Webway"> | ||
</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(' | + | <div id="bickford<!--{$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:10;background-image: url('https://underwiki.com/images/6/6e/Fort1_bickford_mo.png');<!--{if isset($bickford)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </div> |
− | <div id="furies | + | <div id="furies<!--{$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:9;background-image: url('https://underwiki.com/images/9/9c/Fort1_furies_mo.png');<!--{if isset($furies)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </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(' | + | <div id="futuresend<!--{$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:8;background-image: url('https://underwiki.com/images/f/f9/Fort1_futuresend_mo.png');<!--{if isset($futuresend)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </div> |
− | <div id="malom | + | <div id="malom<!--{$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:7;background-image: url('https://underwiki.com/images/e/e1/Fort1_malom_mo.png');<!--{if isset($malom)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </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(' | + | <div id="necro<!--{$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:6;background-image: url('https://underwiki.com/images/f/f2/Fort1_necro_mo.png');<!--{if isset($necro)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </div> |
− | <div id="regret | + | <div id="regret<!--{$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:5;background-image: url('https://underwiki.com/images/8/86/Fort1_regret_mo.png');<!--{if isset($regret)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </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(' | + | <div id="riders<!--{$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:4;background-image: url('https://underwiki.com/images/e/ef/Fort1_riders_mo.png');<!--{if isset($riders)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </div> |
− | <div id="sanctum | + | <div id="sanctum<!--{$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:3;background-image: url('https://underwiki.com/images/2/28/Fort1_sanctum_mo.png');<!--{if isset($sanctum)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </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(' | + | <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('https://underwiki.com/images/5/5b/Fort1_webway_mo.png');<!--{if isset($webway)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </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(' | + | <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('https://underwiki.com/images/7/75/Fort1_base.png');<!--{if isset($base)}-->display:none;<!--{else}-->display:flex;background-size:cover;<!--{/if}-->"> </div> |
</div></includeonly> | </div></includeonly> |
Latest revision as of 08:20, 8 April 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.
Layer Parameters
- 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 Parameters
- seed
- If a map is included more than once on a page, you can override this value so the imagemap and layers are controlled separately in each. The default seed value is '0'.