Thank you for visiting SotAwiki, a Shroud of the Avatar Wiki Encyclopedia. If you see any information that is outdated, please take the time to update it, or if you prefer, leave a message for other editors. This community wiki is for the benefit of all Avatars!
Template:MapTest: Difference between revisions
Jump to navigation
Jump to search
Test template so I don't mess up the one in use |
No edit summary |
||
| (21 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{# | <includeonly><div style="clear:{{{clear|both}}};"></div><div class="sotamap" data-continentid={{ContinentID|{{{continent|Novia}}}}} data-sceneid={{#if:{{{scene|}}}|{{SceneID|{{{continent|Novia}}}|{{{scene}}}}}|0}} data-centerx={{{centerX|150}}} data-centery={{{centerY|150}}} data-zoom={{{zoom|1}}} data-hideattribution={{{hideAttribution|0}}} data-hidezoom={{{hideZoom|1}}} style="width: {{{width|800}}}px; height: {{{height|800}}}px"><!-- | ||
| | Display markers from query | ||
| | -->{{Map/Marker divs | ||
|markerQuery={{{markerQuery|}}} | |||
|sceneid={{#if:{{{scene|}}}|{{SceneID|{{{continent|Novia}}}|{{{scene}}}}}|}} | |||
}}<!-- | |||
Display LayerGroups queries | |||
-->{{#if:{{{layerGroupQuery1|}}}|<div class="map-group" style="display: none;" | |||
data-name="{{{layerGroupName1|}}}">{{Map/Marker divs | |||
| | |markerQuery={{{layerGroupQuery1|}}} | ||
| | |sceneid={{#if:{{{scene|}}}|{{SceneID|{{{continent|Novia}}}|{{{scene}}}}}|}} | ||
| | }}</div>|}}{{#if:{{{layerGroupQuery2|}}}|<div class="map-group" style="display: none;" | ||
| | data-name="{{{layerGroupName2|}}}">{{Map/Marker divs | ||
| | |markerQuery={{{layerGroupQuery2|}}} | ||
| | |sceneid={{#if:{{{scene|}}}|{{SceneID|{{{continent|Novia}}}|{{{scene}}}}}|}} | ||
| | }}</div>|}}{{#if:{{{layerGroupQuery3|}}}|<div class="map-group" style="display: none;" | ||
| | data-name="{{{layerGroupName3|}}}">{{Map/Marker divs | ||
|markerQuery={{{layerGroupQuery3|}}} | |||
<!-- | |sceneid={{#if:{{{scene|}}}|{{SceneID|{{{continent|Novia}}}|{{{scene}}}}}|}} | ||
}}</div>|}}<!-- | |||
Display manually entered markers | |||
-->{{#arraymap:{{{markers|}}}|;|*|<div class="map-marker" data-name="{{#explode:*|,|0}}" data-coordinate="{{{continent}}};{{#if:{{{scene|}}}|{{{scene}}};|}}{{#explode:*|,|1}};{{#explode:*|,|2}}"></div>|\n}} | |||
</div></includeonly><noinclude><br style="clear:both;"/> | |||
{{documentation}} | |||
{{ | [[Category:Misc templates]]</noinclude> | ||
{{ | |||
Latest revision as of 22:30, 20 February 2015
| Visit Template:MapTest/doc to edit this text! (How does this work?) |
|---|