Difference between revisions of "Widget:Map Marcaul"
Jump to navigation
Jump to search
(Created page with "<noinclude> This widget inserts a map of Marcaul (Marcaul). === Parameters === ; width : Width of the map pane, in pixels. Default is 1024 pixels. ; imagemap : If set, displ...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
=== Layer Parameters === | === Layer Parameters === | ||
; base : If set, excludes the base map. By default, this is included. (Generally, this should be included.) | ; base : If set, excludes the base map. By default, this is included. (Generally, this should be included.) | ||
− | |||
− | |||
; marcaul : If set, highlights this area in gold. By default, this is hidden. | ; marcaul : If set, highlights this area in gold. By default, this is hidden. | ||
; midnightforum : If set, highlights this area in gold. By default, this is hidden. | ; midnightforum : If set, highlights this area in gold. By default, this is hidden. | ||
Line 20: | Line 18: | ||
</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<!--{$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=" | + | <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="#marcaul_map<!--{$seed|escape:'html'|default:'1'}-->"> |
<map name="marcaul_map<!--{$seed|escape:'html'|default:'1'}-->"> | <map name="marcaul_map<!--{$seed|escape:'html'|default:'1'}-->"> | ||
− | <area shape="poly" coords=" | + | <area shape="poly" coords="604,23,619,22,672,24,697,27,721,34,746,48,765,67,777,89,782,109,786,150,786,174,783,204,774,236,763,259,750,277,738,290,721,303,699,315,686,319,666,322,661,322,658,330,661,329,672,329,683,333,692,340,699,351,701,358,701,368,697,380,693,386,687,392,677,397,674,397,677,406,723,418,713,458,701,489,681,508,674,507,668,513,668,520,665,526,657,533,653,534,647,534,643,542,637,548,630,544,622,536,613,521,613,519,593,529,585,533,548,542,536,544,516,545,492,542,465,610,483,613,492,617,499,613,517,610,529,624,439,642,436,648,399,636,399,633,393,628,371,592,381,590,387,590,396,594,400,602,400,608,406,613,442,524,422,512,403,492,392,477,380,456,370,423,356,428,351,429,331,429,327,428,324,412,325,376,323,376,321,369,322,348,326,324,334,303,354,278,398,298,408,291,404,279,404,267,406,260,415,258,419,254,420,247,416,230,413,210,447,199,454,236,453,241,464,247,472,257,497,247,481,228,472,206,468,181,468,166,470,146,468,140,461,140,454,137,447,131,444,124,443,118,444,111,447,105,455,98,460,96,471,96,478,99,484,105,487,112,494,112,599,25" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/7/7e/Marcaul_marcaul.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/Marcaul" alt="Marcaul"> |
− | + | <area shape="poly" coords="333,107,340,107,360,113,374,120,385,130,397,147,404,165,404,167,410,166,427,170,445,189,446,196,413,206,412,202,410,202,410,211,403,231,392,249,382,257,363,266,348,270,310,248,255,252,238,251,233,249,228,243,227,237,228,231,233,225,237,223,243,223,244,217,252,211,256,203,256,196,252,189,246,184,238,182,236,177,227,175,222,169,221,162,222,156,227,150,232,148,239,148,244,145,296,140,304,140,314,124,323,115" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/e/e9/Marcaul_marcaulmidnightforum.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/Midnight_Forum" alt="Midnight Forum"> | |
− | + | <area shape="poly" coords="726,355,741,355,747,361,759,369,800,373,819,385,831,405,829,442,858,446,870,425,888,408,924,396,941,409,956,426,1008,434,1001,446,999,453,999,462,991,478,991,502,989,510,989,520,991,532,941,525,926,538,906,547,889,539,874,527,863,510,858,489,847,478,792,474,797,405,758,401,749,407,734,410,730,410,717,407,706,397,702,385,702,383,705,372,711,362," onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/c/c3/Marcaul_mediatorarea.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/Mediatorarea" alt="Mediatorarea"> | |
− | + | <area shape="poly" coords="254,711,254,706,250,704,244,698,241,691,241,679,244,672,251,665,259,662,268,662,276,665,283,672,286,679,291,678,329,661,333,659,333,647,336,640,342,634,351,630,359,630,367,633,375,640,378,647,383,648,392,645,397,639,433,651,435,662,443,673,456,707,428,729,429,731,429,735,426,738,422,738,420,741,423,747,436,752,445,759,451,768,454,776,455,786,453,798,448,808,448,808,438,818,429,822,417,824,404,822,395,818,389,821,397,829,397,835,394,838,389,838,353,825,348,811,328,796,304,789,270,771,255,722" onMouseOver="document.getElementById('base_sel<!--{$seed|escape:'html'|default:'1'}-->').src='https://underwiki.com/images/9/9d/Marcaul_outskirts.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/Outskirts_of_Marcaul" alt="Outskirts of Marcaul"> | |
− | |||
− | |||
</map></div> | </map></div> | ||
− | + | <div id="marcaul<!--{$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/d/d1/Marcaul_marcaul_mo.png');<!--{if isset($marcaul)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </div> | |
− | + | <div id="midnightforum<!--{$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/7/75/Marcaul_marcaulmidnightforum_mo.png');<!--{if isset($midnightforum)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </div> | |
− | <div id="marcaul<!--{$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(' | + | <div id="mediatorarea<!--{$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/c/c3/Marcaul_mediatorarea.png');<!--{if isset($mediatorarea)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </div> |
− | <div id="midnightforum<!--{$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(' | + | <div id="outskirts<!--{$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/3/31/Marcaul_outskirts_mo.png');<!--{if isset($outskirts)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}-->"> </div> |
− | <div id="mediatorarea<!--{$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(' | + | <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/a/a4/Marcaul_base.png');<!--{if isset($base)}-->display:none;<!--{else}-->display:flex;background-size:cover;<!--{/if}-->"> </div> |
− | <div id="outskirts<!--{$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(' | ||
− | <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(' | ||
</div></includeonly> | </div></includeonly> |
Latest revision as of 08:05, 8 April 2019
This widget inserts a map of Marcaul (Marcaul).
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.)
- marcaul
- If set, highlights this area in gold. By default, this is hidden.
- midnightforum
- If set, highlights this area in gold. By default, this is hidden.
- mediatorarea
- If set, highlights this area in gold. By default, this is hidden.
- outskirts
- 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'.