Difference between revisions of "Template:County"
(Change map service) |
m |
||
(5 intermediate revisions by the same user not shown) | |||
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 | + | |{{#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 | ||
|[[In county::{{PAGENAME}}]];?city latlong=city latlong;limit=200;icon=Mm_20_red.png | |[[In county::{{PAGENAME}}]];?city latlong=city latlong;limit=200;icon=Mm_20_red.png | ||
− | |format=leaflet|layers=HERE.Street| | + | |format=leaflet|layers=HERE.Street|zoom=8}} |
}}</div> | }}</div> | ||
{{#if:{{{state|}}}|State: [[In state::{{{state|}}}]]}} | {{#if:{{{state|}}}|State: [[In state::{{{state|}}}]]}} | ||
− | {{#if:{{{name|}}}|{{#set:County name={{{name|}}}}}}}{{#if:{{{region|}}}|Region: | + | {{#if:{{{name|}}}|{{#set:County name={{{name|}}}}}}}{{#if:{{{region|}}}|Region: {{#arraydefine:regions|{{{region|}}}|,|unique}}{{#arrayprint:regions|, |$1|[[In region::$1]]}}}}{{#if:{{{website|}}}| |
:[{{{website}}} Web site]}} | :[{{{website}}} Web site]}} | ||
{{#ask:[[Local bus in::{{PAGENAME}}]]|format=ul| intro=<h2>Local transit</h2>}} | {{#ask:[[Local bus in::{{PAGENAME}}]]|format=ul| intro=<h2>Local transit</h2>}} | ||
− | {{#ask:[[In county::{{{1|{{PAGENAME}}}}}]] [[Category:cities]]|format=ul|limit=250|intro=<h2>Cities</h2>}} | + | {{#ask:[[In county::{{{1|{{PAGENAME}}}}}]] [[Category:cities]]|format=ul|?city name=|link=none|template=Liststn3|limit=250|intro=<h2>Cities</h2>}} |
− | {{#ask:[[In county::{{{1|{{PAGENAME}}}}}]] [[Category:communities]]|format=ul|intro=<h2>Unincorporated/rural communities</h2>}}{{#description2:Transit guide to {{PAGENAME}}. Cities, points of interest, bus service and more in {{PAGENAME}}...}} | + | {{#ask:[[In county::{{{1|{{PAGENAME}}}}}]] [[Category:communities]]|format=ul|?city name=|link=none|template=Liststn3|intro=<h2>Unincorporated/rural communities</h2>}}{{#description2:Transit guide to {{PAGENAME}}. Cities, points of interest, bus service and more in {{PAGENAME}}...}} |
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 01:19, 13 February 2020
Insert the following onto the page:
{{County | kml= | state= | region= | website= }}