Difference between revisions of "Template:County"

From Transit.Wiki
m
m
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}}|service=leaflet|layers=HERE.Street|overlaylayers=OpenMapSurfer.AdminBounds|zoom=8}}
+
|{{#display_map:center={{PAGENAME}}|service=leaflet|layers=HERE.Street|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

Revision as of 01:18, 13 February 2020


Insert the following onto the page:

{{County
| kml=
| state=
| region=
| website=
}}