Template:MapPirates: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ask: Category:Pirate {{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}} ({{#if: {{{distance|}}} | {{{distance}}} | 50 }}km)]] | Has co...")
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
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 title=name
| ?In city=city
| ?Has coordinates
| ?Has coordinates
| ?Has city=city
| format = {{#if: {{{format|}}} | {{{format}}} | map }}
| ?Has title=name
| template = {{#ifeq: {{{format|map}}} | map
| format = map
  | Pirate popup
| template = Pirate popup
  | NamedLink
  }}
| limit = {{{limit|20}}}
| limit = {{{limit|20}}}
| showtitle=on
| showtitle=off
| enablefullscreen = yes
| enablefullscreen = yes
| static = yes
| scrollwheelzoom = no
| markercluster = yes
| markercluster = yes
| 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 25: Line 35:


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


</noinclude>
</noinclude>

Latest revision as of 10:53, 31 January 2018

Usage

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

Example

Map of pirates

{{MapPirates}}
Loading map...

List of pirates near Brussels (50km)

{{MapPirates|Brussels|format=ul|distance=50km}}