Difference between revisions of "Template:MapPirates"
(Created page with "<includeonly>{{#ask: Category:Pirate {{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}} ({{#if: {{{distance|}}} | {{{distance}}} | 50 }}km)]] | Has co...") |
m |
||
(4 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 | ||
+ | | ?In city=city | ||
| ?Has coordinates | | ?Has coordinates | ||
− | | | + | | format = {{#if: {{{format|}}} | {{{format}}} | map }} |
− | | | + | | template = {{#ifeq: {{{format|map}}} | map |
− | | format | + | | Pirate popup |
− | | template = Pirate popup | + | | NamedLink |
+ | }} | ||
| limit = {{{limit|20}}} | | limit = {{{limit|20}}} | ||
− | | showtitle= | + | | 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 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 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}}