Difference between revisions of "Template:Smaller city"

From Transit.Wiki
m
Line 16: Line 16:
 
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Rail stations]]|?rname=|?served by=|link=none|sep=,|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|sep=,|format=ul|template=liststn| intro=<div><h2>Rail station</h2>| outro=</div>}}<!--
  
-->{{#ask: [[Place.City::{{PAGENAME}}]] [[rtype::intercity bus||airporter]]
+
-->{{#ask: [[Place.City::{{PAGENAME}}||Place::{{PAGENAME}}]] [[rtype::intercity bus||airporter]] OR [[Place::{{PAGENAME}}]] [[rtype::intercity bus||airporter]]
 
| format=template|template=Liststn intercity bus| ?rfull=| ?to=|?greyhound stop=| link=none| intro=<div><h2>Intercity bus</h2>| outro=</div>}}<!--
 
| format=template|template=Liststn intercity bus| ?rfull=| ?to=|?greyhound stop=| link=none| intro=<div><h2>Intercity bus</h2>| outro=</div>}}<!--
  
Line 25: Line 25:
 
}}<!--
 
}}<!--
  
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Points of interest]] OR [[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Areas]]|format=ul| intro=<h2>Points of interest</h2>| default={{#ask: [[Place::{{PAGENAME}}]] OR [[DAR area::{{PAGENAME}}]]| format=template| template=listlines4a| ?rfull| ?to| link=none| sort=provider,rnum,rlet| intro=<h2>Bus</h2>}}}}
+
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Points of interest]] OR [[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Areas]]|format=ul| intro=<h2>Points of interest</h2>| default={{Morebus-for-city}}}}
 
<!--
 
<!--
  

Revision as of 02:59, 19 April 2019

Usage - Enter the following code to a city page:

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

This is intended for small and medium sized cities.