Difference between revisions of "Template:County"

From Transit.Wiki
m
m
Line 1: Line 1:
<includeonly>{{#if:{{{kml|}}}|<div class="map">{{#display_map:California|service=googlemaps|width=400|height=400|gkml={{{kml}}}|kmlrezoom=yes}}</div>}}
+
<includeonly>{{#if:{{{kml|}}}|<div class="map">{{#compound_query:[[City::<q>[[In county::{{PAGENAME}}]]</q>]] [[Category:Airports]] OR [[In county::{{PAGENAME}}]] [[Category:Airports]];?latlong=;icon=Icon-airport.png
 +
|[[City::<q>[[In county::{{PAGENAME}}]]</q>]] [[Served by::Greyhound]] OR [[In county::{{PAGENAME}}]] [[Served by::Greyhound]];?latlong=;icon=Bus20.png
 +
|[[City::<q>[[In county::{{PAGENAME}}]]</q>]] [[Category:Amtrak stations]] OR [[In county::{{PAGENAME}}]] [[Category:Amtrak stations]];?latlong=;icon=Rail20.png
 +
|format=googlemaps|zoomstyle=small|width={{{width|400}}}|height={{{height|400}}}|gkml={{{kml}}}|kmlrezoom=yes}}</div>}}
 
{{#if:{{{state|}}}|State: [[In state::{{{state|}}}]]}}
 
{{#if:{{{state|}}}|State: [[In state::{{{state|}}}]]}}
  

Revision as of 03:12, 12 May 2012


Insert the following onto the page:

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