Difference between revisions of "Widget:Map Nyx"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This widget inserts a map of | + | This widget inserts a map of The Vault of Nyx (Nyx). |
=== Parameters === | === Parameters === | ||
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="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/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(' | ||
</div></includeonly> | </div></includeonly> |
Latest revision as of 08:05, 8 April 2019
This widget inserts a map of The Vault of Nyx (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'.