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)
Maybe this will work...
Fenyx4 (talk | contribs)
No edit summary
Line 1: Line 1:
{{#Widget:MapTest
<noinclude>{{{continentid|}}}{{{sceneid|}}}{{{centerX|}}}{{{centerY|}}}{{{zoom|}}}{{{height|}}}{{{width|}}}{{{clear|}}}{{{hideAttribution|}}}{{{hideZoom|}}}
|continentid={{{continentid|}}}
|sceneid={{{sceneid|}}}
|centerX={{{centerX|}}}
|centerY={{{centerY|}}}
|zoom={{{zoom|}}}
|height={{{height|}}}
|width={{{width|}}}
|clear={{{clear|}}}
|hideAttribution={{{hideAttribution|}}}
|hideZoom={{{hideZoom|}}}
|layerGroupQuery1={{#if:{{{layerGroupQuery1|}}}|http://sotawiki.net/sota/Special:Ask/{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{layerGroupQuery1|}}}/?Has {{#if:{{{sceneid|}}}|scene|continent}} coords|[|-5B}}| |-20}}|?|-3F}}|]|-5D}}|'|%27}}/format%3Dcsv/offset%3D0/headers%3Dhide|}}
|layerGroupQuery1={{#if:{{{layerGroupQuery1|}}}|http://sotawiki.net/sota/Special:Ask/{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{layerGroupQuery1|}}}/?Has {{#if:{{{sceneid|}}}|scene|continent}} coords|[|-5B}}| |-20}}|?|-3F}}|]|-5D}}|'|%27}}/format%3Dcsv/offset%3D0/headers%3Dhide|}}
|layerGroupName1={{{layerGroupName1|}}}
|layerGroupName1={{{layerGroupName1|}}}
Line 18: Line 8:
|markerQuery={{#if:{{{markerQuery|}}}|http://sotawiki.net/sota/Special:Ask/{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{markerQuery|}}}/?Has {{#if:{{{sceneid|}}}|scene|continent}} coords|[|-5B}}| |-20}}|?|-3F}}|]|-5D}}|'|%27}}/format%3Dcsv/offset%3D0/headers%3Dhide|}}
|markerQuery={{#if:{{{markerQuery|}}}|http://sotawiki.net/sota/Special:Ask/{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{markerQuery|}}}/?Has {{#if:{{{sceneid|}}}|scene|continent}} coords|[|-5B}}| |-20}}|?|-3F}}|]|-5D}}|'|%27}}/format%3Dcsv/offset%3D0/headers%3Dhide|}}
}}
}}
</noinclude>{{#Widget:MapTest}}<div style="clear:{{{clear|both}}};"></div><div class="sotamap" data-continentid={{{continentid|1}}} data-sceneid={{{sceneid|0}}} style="width: {{{width|800}}}px; height: {{{height|800}}}px"><!--
Display markers from query
-->{{#if:{{{markerQuery|}}}
{{#if:{{{sceneid|}}}|{{#ask: [[has scene coords::Hidden Vale;Braemar;?;?]]
|?has scene coords = continent |+index=1
|?has scene coords = scene |+index=2
|?has scene coords = x |+index=3
|?has scene coords = y |+index=4
|sort=,
|format=template
|template=Query map markers
|introtemplate=
|outrotemplate=
|default=
|link=none
}}|{{#ask: [[has continent coords::Hidden Vale;?;?]] [[located in::Hidden Vale]]
|?has continent coords = continent |+index=1
|?has continent coords = x |+index=2
|?has continent coords = y |+index=3
|sort=,
|format=template
|template=Query map markers
|introtemplate=
|outrotemplate=
|default=
|link=none
}}}}|}}
</div>
<!--[[has continent coords::Hidden Vale;?;?]] [[located in::Hidden Vale]] [[Category:Towns]]
<!--[[has continent coords::Hidden Vale;?;?]] [[located in::Hidden Vale]] [[Category:Towns]]



Revision as of 12:32, 19 February 2015

|layerGroupQuery1= |layerGroupName1= |layerGroupQuery2= |layerGroupName2= |layerGroupQuery3= |layerGroupName3= |markerQuery= }}