Difference between revisions of "Template:Place"
Jump to navigation
Jump to search
(Update template to use Coordinates template for maplinks) |
|||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
+ | {{#if: {{{maplocation|}}} | <div role="note" class="note note-info" style="background-color:#fc3; padding:0.5em">Please update maplocation parameter for Place template used in this page. Use <code>{{!}}x= {{!}}y= {{!}}z=</code> parameters instead of <code>{{!}}maplocation=</code></div> | }} | ||
{| class="wikitable" style="float:right;" | {| class="wikitable" style="float:right;" | ||
!colspan="10" style="background:green;"| {{{name}}} | !colspan="10" style="background:green;"| {{{name}}} | ||
Line 9: | Line 10: | ||
|Map | |Map | ||
|[https://pandorabox.io/map/#{{{maplocation}}} {{{maplocation}}}] | |[https://pandorabox.io/map/#{{{maplocation}}} {{{maplocation}}}] | ||
+ | |||
+ | |- {{#if: {{{x|}}} | | style="display: none;" }} | ||
+ | |Map | ||
+ | |{{Coordinates |x={{{x}}} |y={{{y|0}}} |z={{{z}}} |zoom={{{zoom|12}}} }} | ||
|- {{#if: {{{state|}}} | | style="display: none;" }} | |- {{#if: {{{state|}}} | | style="display: none;" }} | ||
Line 31: | Line 36: | ||
{{Place | {{Place | ||
|name=New Town | |name=New Town | ||
− | | | + | |x=-1799 |
+ | |z=399 | ||
+ | |zoom=10 | ||
|state={{Label|text=Open for public|color=green}} | |state={{Label|text=Open for public|color=green}} | ||
|preview=Screenshot 20181106 203026.png | |preview=Screenshot 20181106 203026.png | ||
Line 43: | Line 50: | ||
{{Place | {{Place | ||
|name=New Town | |name=New Town | ||
− | | | + | |x=-1799 |
+ | |z=399 | ||
+ | |zoom=10 | ||
|state={{Label|text=Open for public|color=green}} | |state={{Label|text=Open for public|color=green}} | ||
|preview=Screenshot 20181106 203026.png | |preview=Screenshot 20181106 203026.png |
Revision as of 20:13, 16 January 2021
New Town | |||||||||
---|---|---|---|---|---|---|---|---|---|
Map | X: -1799 Y: 0 Z: 399
| ||||||||
State | Open for public | ||||||||
Owner | BuckarooBanzai | ||||||||
Founder | somedude |
Include example
From New Town
{{Place |name=New Town |x=-1799 |z=399 |zoom=10 |state={{Label|text=Open for public|color=green}} |preview=Screenshot 20181106 203026.png |owner=BuckarooBanzai |founder=somedude }}