Difference between revisions of "Template:Smaller city"

From Transit.Wiki
m
m
Line 30: Line 30:
 
-->{{#ask:[[City latlong::{{{latlong|}}} (6 miles)]] [[City latlong::!{{{latlong|}}}]] OR [[Area latlong::{{{latlong|}}} (6 miles)]]  [[Category:Large city regions]]|format=ul| intro=<h2>Nearby cities and communities</h2>}}</includeonly><!--
 
-->{{#ask:[[City latlong::{{{latlong|}}} (6 miles)]] [[City latlong::!{{{latlong|}}}]] OR [[Area latlong::{{{latlong|}}} (6 miles)]]  [[Category:Large city regions]]|format=ul| intro=<h2>Nearby cities and communities</h2>}}</includeonly><!--
  
-->{{#description2:Transit guide to {{PAGENAME}}, located in {{{county|}}}. Transit stations, points of interest, bus service and more in {{PAGENAME}}...}}<noinclude>
+
-->{{#description2:Transit guide to {{PAGENAME}}, located in {{{county|}}}. Transit stations, points of interest, bus service and more in {{PAGENAME}}...}}{{#set:City name={{{name|{{PAGENAME}}}}}}}<noinclude>
 
Usage - Enter the following code to a city page:
 
Usage - Enter the following code to a city page:
 
<pre>
 
<pre>

Revision as of 01:16, 6 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.