Difference between revisions of "Template:Smaller city"

From Transit.Wiki
m
m (Undo revision 71805 by Andy (talk))
Line 7: Line 7:
 
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[-Ferry::+]];icon=Ferry20.png;
 
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[-Ferry::+]];icon=Ferry20.png;
 
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Bus stops]];?latlong;?-Place=Bus;?Served by=Line;?-Rail=Bus;?-Bus=Bus;?-Busway=Bus;?-Ferry=Ferry;icon=Bus20.png
 
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Bus stops]];?latlong;?-Place=Bus;?Served by=Line;?-Rail=Bus;?-Bus=Bus;?-Busway=Bus;?-Ferry=Ferry;icon=Bus20.png
|format=googlemaps|zoomstyle=small|width={{{width|400}}}|height={{{height|400}}}|zoom=12|{{#if:{{{kml|}}}|gkml={{{kml|}}}}}|kmlrezoom=yes|default={{#display_point:coordinates={{{latlong|}}}|zoom={{{mapzoom|15}}}|width=400|height=400|gkml={{{kml|}}}}}}}
+
|format=googlemaps|zoomstyle=small|width={{{width|400}}}|height={{{height|400}}}|zoom=12|{{#if:{{{kml|}}}|gkml={{{kml|}}}}}|kmlrezoom=yes}}
 
</div>
 
</div>
  

Revision as of 18:30, 28 February 2013

Usage - Enter the following code to a city page:

{{smaller city
|latlong={{subst:#geocode:{{subst:PAGENAME}}, ??|format=float|directional=no}}
|county=
|website=
}}
[[Category:Cities]]

This is intended for small and medium sized cities.