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

From SotA Wiki
Jump to navigation Jump to search
Fenyx4 (talk | contribs)
No edit summary
Fenyx4 (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly><div style="clear:{{{clear|both}}};"></div><div class="sotamap" data-continentid={{{continentid|1}}} data-sceneid={{{sceneid|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"><!--
<includeonly><div style="clear:{{{clear|both}}};"></div><div class="sotamap" data-continentid={{ContinentID|{{{continent|Novia}}}}} data-sceneid={{#if:{{{scene|}}}|{{SceneID|{{{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
Display markers from query
-->{{Map/Marker divs
-->{{Map/Marker divs
|markerQuery={{{markerQuery|}}}
|markerQuery={{{markerQuery|}}}
|sceneid={{{sceneid|}}}
|sceneid={{#if:{{{scene|}}}|{{SceneID|{{{scene}}}}}|0}}
}}<!--
}}<!--
Display LayerGroups
Display LayerGroups queries
-->{{#if:{{{layerGroupQuery1|}}}|<div class="map-group" style="display: none;"
-->{{#if:{{{layerGroupQuery1|}}}|<div class="map-group" style="display: none;"
         data-name="{{{layerGroupName1|}}}">{{Map/Marker divs
         data-name="{{{layerGroupName1|}}}">{{Map/Marker divs
|markerQuery={{{layerGroupQuery1|}}}
|markerQuery={{{layerGroupQuery1|}}}
|sceneid={{{sceneid|}}}
|sceneid={{#if:{{{scene|}}}|{{SceneID|{{{scene}}}}}|0}}
}}</div>|}}{{#if:{{{layerGroupQuery2|}}}|<div class="map-group" style="display: none;"
}}</div>|}}{{#if:{{{layerGroupQuery2|}}}|<div class="map-group" style="display: none;"
         data-name="{{{layerGroupName2|}}}">{{Map/Marker divs
         data-name="{{{layerGroupName2|}}}">{{Map/Marker divs
|markerQuery={{{layerGroupQuery2|}}}
|markerQuery={{{layerGroupQuery2|}}}
|sceneid={{{sceneid|}}}
|sceneid={{#if:{{{scene|}}}|{{SceneID|{{{scene}}}}}|0}}
}}</div>|}}{{#if:{{{layerGroupQuery3|}}}|<div class="map-group" style="display: none;"
}}</div>|}}{{#if:{{{layerGroupQuery3|}}}|<div class="map-group" style="display: none;"
         data-name="{{{layerGroupName3|}}}">{{Map/Marker divs
         data-name="{{{layerGroupName3|}}}">{{Map/Marker divs
|markerQuery={{{layerGroupQuery3|}}}
|markerQuery={{{layerGroupQuery3|}}}
|sceneid={{{sceneid|}}}
|sceneid={{#if:{{{scene|}}}|{{SceneID|{{{scene}}}}}|0}}
}}</div>|}}
}}</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;"/>
</div></includeonly><noinclude><br style="clear:both;"/>
{{documentation}}
{{documentation}}
[[Category:Misc templates]]</noinclude>
[[Category:Misc templates]]</noinclude>

Revision as of 22:26, 20 February 2015


Template documentation (for the above template, sometimes hidden or invisible)

Template:MapTest/doc

Visit Template:MapTest/doc to edit this text! (How does this work?)