Difference between revisions of "Template:Smaller city"
m |
m |
||
Line 9: | Line 9: | ||
|[[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]];icon=Bus20.png | |[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Bus stops]];icon=Bus20.png | ||
− | |[[City::{{{alternate city name|{{PAGENAME}}}}}]][[ | + | |[[City::{{{alternate city name|{{PAGENAME}}}}}]][[-Place.rtype::intercity bus]];?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> | ||
Line 18: | Line 18: | ||
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Rail stations]]|?rname=|?served by=|link=none|format=ul|template=liststn| intro=<div><h2>Rail station</h2>| outro=</div>}}<!-- | -->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Rail stations]]|?rname=|?served by=|link=none|format=ul|template=liststn| intro=<div><h2>Rail station</h2>| outro=</div>}}<!-- | ||
− | -->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Place.rtype::intercity bus]] OR [[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Place.rtype::intercity bus]]|?rname=|?-place=|link=none|format=ul|template=liststn| intro=<div><h2>Intercity bus stop</h2>| outro=</div>}}<!-- | + | -->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Place.rtype::intercity bus]] OR [[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Place.rtype::intercity bus]]|?rname=|?=served by|?-place=|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 20:03, 16 April 2018
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.