Difference between revisions of "Widget:Map Nyx"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
[[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="poi1<!--{$seed|escape:'html'|default:'1'}-->" style="position: relative;width:calc((<!--{$width|escape:'html'|default:'1024'}--> / 1024) * 100px);height:calc((<!--{$width|escape:'html'|default:'1024'}--> / 1024) * 100px);left:calc((<!--{$width|escape:'html'|default:'1024'}--> / 1024) * <!--{$poi1x|escape:'html'|default:'0'}-->px);top:calc((<!--{$width|escape:'html'|default:'1024'}--> / 1024) * <!--{$poi1y|escape:'html'|default:'0'}-->px);<!--{if isset($poi1)}-->display:flex;background-size:cover | + | <div id="poi1<!--{$seed|escape:'html'|default:'1'}-->" style="position: relative;width:calc((<!--{$width|escape:'html'|default:'1024'}--> / 1024) * 100px);height:calc((<!--{$width|escape:'html'|default:'1024'}--> / 1024) * 100px);left:calc((<!--{$width|escape:'html'|default:'1024'}--> / 1024) * <!--{$poi1x|escape:'html'|default:'0'}-->px);top:calc((<!--{$width|escape:'html'|default:'1024'}--> / 1024) * <!--{$poi1y|escape:'html'|default:'0'}-->px);<!--{if isset($poi1)}-->display:flex;background-size:cover;<!--{else}-->display:none;<!--{/if}--><!--{if isset($poi1icon)}-->background-image: url(<!--{$width|escape:'html'|default:'http://underwiki.com/images/6/66/PoI_Modus.png'}-->);<!--{/if}-->"> </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/5/5a/Nyx_base.png');<!--{if isset($base)}-->display:none;<!--{else}-->display:flex;background-size:cover;<!--{/if}-->"> </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/5/5a/Nyx_base.png');<!--{if isset($base)}-->display:none;<!--{else}-->display:flex;background-size:cover;<!--{/if}-->"> </div> | ||
</div></includeonly> | </div></includeonly> |
Revision as of 12:26, 8 February 2019
This widget inserts a map of ?? (Nyx).
Parameters
- width
- Width of the map pane, in pixels. Default is 1024 pixels.
Layer Parameters
- base
- If set, excludes the base map. By default, this is included. (Generally, this should be included.)
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'.