Difference between revisions of "Template:Smaller city"

From Transit.Wiki
m
m
Line 8: Line 8:
 
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Rail stations]];icon=Rail20.png
 
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Rail stations]];icon=Rail20.png
 
|[[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]];icon=Bus20.png
 +
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Served by.Intercity bus provider::+]];?latlong;?-Place=Bus;?Served by=Line;?-Busway=Bus;?-Ferry=Ferry;icon=Bus20.png
 
|format=googlemaps|zoomstyle=small|width=100%|height=100%|zoom=12|{{#if:{{{kml|}}}|gkml={{{kml|}}}}}|kmlrezoom=yes}}}}
 
|format=googlemaps|zoomstyle=small|width=100%|height=100%|zoom=12|{{#if:{{{kml|}}}|gkml={{{kml|}}}}}|kmlrezoom=yes}}}}
 
</div>
 
</div>
  
 
{{#ask:[[Local bus in::{{{county|}}}||{{PAGENAME}}]]|format=ul| intro=<div><h2>Local transit</h2>| outro=</div>}}<!--
 
{{#ask:[[Local bus in::{{{county|}}}||{{PAGENAME}}]]|format=ul| intro=<div><h2>Local transit</h2>| outro=</div>}}<!--
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Served by::+]]|?rname=|?served by=|link=none|format=ul|template=liststn| intro=<div><h2>Rail station/transit center</h2>| outro=</div>}}<!--
+
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Rail stations]] OR [[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Transit centers]]|?rname=|?served by=|link=none|format=ul|template=liststn| intro=<div><h2>Rail station/transit center</h2>| outro=</div>}}<!--
 +
 
 +
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Place.Intercity bus provider::+]] OR [[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Served by.Intercity bus provider::+]]|?rname=|?served by=|link=none|format=ul|template=liststn| intro=<div><h2>Intercity bus stop</h2>| outro=</div>}}<!--
 +
 
 
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Ferry::+]]|?rname=|?-ferry=|link=none|format=ul|template=liststn| intro=<div><h2>Ferry terminals</h2>| outro=</div>}}<!--
 
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Ferry::+]]|?rname=|?-ferry=|link=none|format=ul|template=liststn| intro=<div><h2>Ferry terminals</h2>| outro=</div>}}<!--
  

Revision as of 00:10, 15 April 2016

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.