Difference between revisions of "Template:Smaller city"

From Transit.Wiki
m
m
Line 14: Line 14:
 
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Ferry::+]]| format=ul| intro=<div><h2>Ferry terminals</h2>| outro=</div>}}<!--
 
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Ferry::+]]| format=ul| intro=<div><h2>Ferry terminals</h2>| outro=</div>}}<!--
  
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Points of interest]]|format=ul| intro=<div style="display: inline-block; width: 100%;"><h2>Points of interest</h2>| outro=</div>}}<!--
+
-->{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Points of interest]]|format=ul| intro=<h2>Points of interest</h2>}}<!--
  
-->{{#ask:[[City latlong::{{{latlong|}}} (4 miles)]] [[City latlong::!{{{latlong|}}}]]|format=ul| intro=<div style="display: inline-block; width: 100%;"><h2>Nearby cities and communities</h2>| outro=</div>}}
+
-->{{#ask:[[City latlong::{{{latlong|}}} (4 miles)]] [[City latlong::!{{{latlong|}}}]]|format=ul| intro=<h2>Nearby cities and communities</h2>}}</includeonly><!--
  
 
+
--><noinclude>
 
 
 
 
</includeonly><noinclude>
 
 
Usage - Enter the following code to a city page:
 
Usage - Enter the following code to a city page:
 
<pre>
 
<pre>
 
{{smaller city
 
{{smaller city
 +
|latlong={{smaller city |latlong={{subst:#geocode:{{subst:PAGENAME}}, ??|format=float|directional=no}}
 
|county=
 
|county=
 
|website=
 
|website=

Revision as of 18:28, 28 January 2013

Usage - Enter the following code to a city page:

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

This is intended for small and medium sized cities.