Difference between revisions of "Template:MapPirates"
m |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#ask: [[Category:Pirate]] {{#if: {{{ | + | <includeonly>{{#ask: [[Category:Pirate]] {{#if: {{{1|}}} |
− | | [[Has coordinates::{{{ | + | | [[Has coordinates::{{#geocode:{{{1}}}}} ({{#if: {{{distance|}}} | {{{distance}}} | 20km }})]] |
| [[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 | ||
| enablefullscreen = yes | | enablefullscreen = 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 26: | 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 11: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}}