Difference between revisions of "Template:Map Embed"

From Zezenia Online Wiki
(Add markers example)
Line 22: Line 22:
 
{{Map Embed|X=540|Y=3120|Zoom=0}}
 
{{Map Embed|X=540|Y=3120|Zoom=0}}
 
<code><nowiki>{{Map Embed|X=540|Y=3120|Zoom=0}}</nowiki></code>
 
<code><nowiki>{{Map Embed|X=540|Y=3120|Zoom=0}}</nowiki></code>
 +
 +
{{Map Embed
 +
|X=130
 +
|Y=130
 +
|Zoom=2
 +
|Width=320
 +
|Height=240
 +
|Markers=120,120,7,Top left
 +
{{!}}120,140,7,Bottom left
 +
{{!}}140,120,7,Top right
 +
{{!}}140,140,7,Bottom right
 +
}}
 +
 +
=== Custom markers ===
 +
 +
<code>
 +
<nowiki>
 +
{{Map Embed
 +
|X=130
 +
|Y=130
 +
|Zoom=2
 +
|Width=320
 +
|Height=240
 +
|Markers=120,120,7,Top left
 +
{{!}}120,140,7,Bottom left
 +
{{!}}140,120,7,Top right
 +
{{!}}140,140,7,Bottom right
 +
}}
 +
</nowiki>
 +
</code>
  
 
</noinclude>
 
</noinclude>

Revision as of 20:20, 22 March 2021

This template is used to embed the Zezenia Map on pages.

Examples

{{Map Embed|Center=Arne|Zoom=4|Width=320|Height=240}}


{{Map Embed|X=540|Y=3120|Zoom=0}}



Custom markers

{{Map Embed |X=130 |Y=130 |Zoom=2 |Width=320 |Height=240 |Markers=120,120,7,Top left {{!}}120,140,7,Bottom left {{!}}140,120,7,Top right {{!}}140,140,7,Bottom right }}