Difference between revisions of "Template:Smaller city"

From Transit.Wiki
m
m
Line 3: Line 3:
  
 
<div class=map>
 
<div class=map>
{{#compound_query:[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Points of interest]]
+
{{#compound_query:[[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}}}}}]][[Category:Bus stops]];?latlong;?-Place=Bus;?Served by=Line;?-rail=Bus;?-bus=Bus;?-busway=Bus;icon=Bus20.png
 
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Bus stops]];?latlong;?-Place=Bus;?Served by=Line;?-rail=Bus;?-bus=Bus;?-busway=Bus;icon=Bus20.png
 +
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Points of interest]]
 
|format=googlemaps2|controls=small, type, scale|width={{{width|400}}}|height={{{height|400}}}|zoom=12}}
 
|format=googlemaps2|controls=small, type, scale|width={{{width|400}}}|height={{{height|400}}}|zoom=12}}
 
</div>
 
</div>
Line 12: Line 12:
 
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Served by::+]]|?served by=|format=ul| intro=<h2>Rail station/transit center</h2>}}
 
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Served by::+]]|?served by=|format=ul| intro=<h2>Rail station/transit center</h2>}}
 
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Ferry terminals]]| format=ul| intro=<h2>Ferry terminals</h2>}}
 
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Ferry terminals]]| format=ul| intro=<h2>Ferry terminals</h2>}}
 
 
==Points of interest==
 
==Points of interest==
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Points of interest]]|format=ul| default=None at this point}}</includeonly><noinclude>
+
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Category:Points of interest]]|format=ul| default=None at this point.}}</includeonly><noinclude>
 
Usage - Enter the following code to a city page:
 
Usage - Enter the following code to a city page:
 
<pre>
 
<pre>

Revision as of 22:52, 2 June 2010

Usage - Enter the following code to a city page:

{{smaller city
|county=
|website=
}}

[[Category:Cities]]

This is intended for small and medium sized cities.