Difference between revisions of "Template:County"
m (Text replacement - "=mm_20_red.png" to "=images/f/f5/Mm_20_red.png") |
(Change map service) |
||
Line 1: | Line 1: | ||
<includeonly><div class="regmap">{{#ifexpr: {{#ask: [[City.In county::{{PAGENAME}}]] OR [[In county::{{PAGENAME}}]]|format=count}} < 1 | <includeonly><div class="regmap">{{#ifexpr: {{#ask: [[City.In county::{{PAGENAME}}]] OR [[In county::{{PAGENAME}}]]|format=count}} < 1 | ||
− | |{{#display_map:center={{PAGENAME}}| | + | |{{#display_map:center={{PAGENAME}}|service=leaflet|layers=HERE.Street|overlaylayers=OpenMapSurfer.AdminBounds|zoom=8}} |
|{{#compound_query:[[City.In county::{{PAGENAME}}]] [[Category:Airports]] OR [[In county::{{PAGENAME}}]] [[Category:Airports]];?latlong=latlong;icon=Icon-airport.png | |{{#compound_query:[[City.In county::{{PAGENAME}}]] [[Category:Airports]] OR [[In county::{{PAGENAME}}]] [[Category:Airports]];?latlong=latlong;icon=Icon-airport.png | ||
||[[City.In county::{{PAGENAME}}]] [[Category:Amtrak stations]] OR [[In county::{{PAGENAME}}]] [[Category:Amtrak stations]];?latlong=latlong;icon=Rail20.png | ||[[City.In county::{{PAGENAME}}]] [[Category:Amtrak stations]] OR [[In county::{{PAGENAME}}]] [[Category:Amtrak stations]];?latlong=latlong;icon=Rail20.png | ||
− | |[[In county::{{PAGENAME}}]];?city latlong=city latlong;limit=200;icon= | + | |[[In county::{{PAGENAME}}]];?city latlong=city latlong;limit=200;icon=Mm_20_red.png |
− | |format= | + | |format=leaflet|layers=HERE.Street|overlaylayers=OpenMapSurfer.AdminBounds}} |
}}</div> | }}</div> | ||
{{#if:{{{state|}}}|State: [[In state::{{{state|}}}]]}} | {{#if:{{{state|}}}|State: [[In state::{{{state|}}}]]}} |
Revision as of 14:13, 24 November 2018
Insert the following onto the page:
{{County | kml= | state= | region= | website= }}