More actions
created template |
added parameter map |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>[https://map.democracycraft.net/# | <includeonly>[https://map.democracycraft.net/#{{{map}}}:{{{1}}}:{{{2}}}:{{{3}}}:0:0:1.57:0:0:free {{{1}}}, {{{2}}}, {{{3}}}]</includeonly><noinclude>This template links coordinates to the BlueMap of the server. | ||
== Parameters == | == Parameters == | ||
| Line 6: | Line 6: | ||
! Description | ! Description | ||
! Required | ! Required | ||
|- | |||
| <code>{{{map}}}</code> | |||
| the map to be linked | |||
| yes | |||
|- | |- | ||
| <code>{{{1}}}</code> | | <code>{{{1}}}</code> | ||
| Line 17: | Line 21: | ||
| <code>{{{3}}}</code> | | <code>{{{3}}}</code> | ||
| the z-coordinates | | the z-coordinates | ||
| | | yes | ||
|} | |} | ||
== Example == | == Example == | ||
=== Unfilled === | === Unfilled === | ||
<code><nowiki>{{coordinates|||}}</nowiki></code> | <code><nowiki>{{coordinates|map=|||}}</nowiki></code> | ||
=== Filled === | === Filled === | ||
<code><nowiki>{{coordinates|13|13|13}}</nowiki></code> returns <code>{{coordinates|13|13}}</code>. | <code><nowiki>{{coordinates|map=Reveille|13|13|13}}</nowiki></code> returns <code>{{coordinates|13|13|13}}</code>. | ||
[[Category:DemocracyCraft Wiki templates]]</noinclude> | [[Category:DemocracyCraft Wiki templates]]</noinclude> | ||
Latest revision as of 00:12, 29 May 2026
This template links coordinates to the BlueMap of the server.
Parameters
| Parameter | Description | Required |
|---|---|---|
{{{map}}}
|
the map to be linked | yes |
{{{1}}}
|
the x-coordinates | yes |
{{{2}}}
|
the y-coordinates | yes |
{{{3}}}
|
the z-coordinates | yes |
Example
Unfilled
{{coordinates|map=|||}}
Filled
{{coordinates|map=Reveille|13|13|13}} returns 13, 13, 13.