Template:MapPirates: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#ask: [[Category:Pirate]] {{#if: {{{coordinates|}}}  
<includeonly>{{#ask: [[Category:Pirate]] {{#if: {{{1|}}}  
   | [[Has coordinates::{{{coordinates}}} ({{#if: {{{distance|}}} | {{{distance}}} | 50 }}km)]]
   | [[Has coordinates::{{#geocode:{{{1}}}}} ({{#if: {{{distance|}}} | {{{distance}}} | 20km }})]]
   | [[Has coordinates::+]]
   | [[Has coordinates::+]]
   }}
   }}
| ?Has coordinates
| ?
| ?#
| ?Has title=name
| ?Has title=name
| ?In city=city
| ?In city=city
| format = map
| ?Has coordinates
| template = Pirate popup
| format = {{#if: {{{format|}}} | {{{format}}} | map }}
| template = {{#ifeq: {{{format|map}}} | map
  | Pirate popup
  | NamedLink
  }}
| limit = {{{limit|20}}}
| limit = {{{limit|20}}}
| showtitle=off
| showtitle=off
Line 14: Line 17:
| static = yes
| static = yes
| markercluster = yes
| markercluster = yes
| height = {{#if: {{{height|}}} | {{{height}}} }}
| link = none
| mainlabel ={{#ifeq: {{{format|map}}} | map
  |
  | -
  }}
| order = asc
}}</includeonly><noinclude>
}}</includeonly><noinclude>
== Usage ==
== Usage ==


  <nowiki>{{MapPirates}}</nowiki>
  <nowiki>{{MapPirates|city|distance=20km}}</nowiki>


== Example ==
== Example ==
Line 27: Line 35:


{{MapPirates}}
{{MapPirates}}
=== List of pirates near Brussels (20km) ===
<nowiki>{{MapPirates|Brussels|format=ul}}</nowiki>
{{MapPirates|Brussels|format=ul}}


</noinclude>
</noinclude>

Revision as of 10:33, 31 October 2017

Usage

{{MapPirates|city|distance=20km}}

Example

Map of pirates

{{MapPirates}}
Loading map...

List of pirates near Brussels (20km)

{{MapPirates|Brussels|format=ul}}