Difference between revisions of "Template:Place"

From Pandorabox
Jump to navigation Jump to search
(Update template to use Coordinates template for maplinks)
(Add |y=0 to example, make x and z optional)
 
Line 11: Line 11:
 
|[https://pandorabox.io/map/#{{{maplocation}}} {{{maplocation}}}]
 
|[https://pandorabox.io/map/#{{{maplocation}}} {{{maplocation}}}]
  
|- {{#if: {{{x|}}} | | style="display: none;" }}
+
|- {{#if: {{{x|}}}{{{z|}}} | | style="display: none;" }}
 
|Map
 
|Map
|{{Coordinates |x={{{x}}} |y={{{y|0}}} |z={{{z}}} |zoom={{{zoom|12}}} }}
+
|{{Coordinates |x={{{x|0}}} |y={{{y|0}}} |z={{{z|0}}} |zoom={{{zoom|12}}} }}
  
 
|- {{#if: {{{state|}}} | | style="display: none;" }}
 
|- {{#if: {{{state|}}} | | style="display: none;" }}
Line 37: Line 37:
 
|name=New Town
 
|name=New Town
 
|x=-1799
 
|x=-1799
 +
|y=0
 
|z=399
 
|z=399
 
|zoom=10
 
|zoom=10
Line 51: Line 52:
 
|name=New Town
 
|name=New Town
 
|x=-1799
 
|x=-1799
 +
|y=0
 
|z=399
 
|z=399
 
|zoom=10
 
|zoom=10

Latest revision as of 20:53, 16 January 2021



New Town
Screenshot 20181106 203026.png
Map {{{maplocation}}}
Map X: -1799 Y: 0 Z: 399
State Open for public
Owner BuckarooBanzai
Founder somedude
Build date {{{builddate}}}



Include example

From New Town

{{Place
|name=New Town
|x=-1799
|y=0
|z=399
|zoom=10
|state={{Label|text=Open for public|color=green}}
|preview=Screenshot 20181106 203026.png
|owner=BuckarooBanzai
|founder=somedude
}}