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:Points of interest]];icon=mm_20_red.png
 
|[[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}}}}}]][[-Ferry::+]];icon=Ferry20.png;
 
|[[City::{{{alternate city name|{{PAGENAME}}}}}]][[-Ferry::+]];icon=Ferry20.png;
Line 10: Line 10:
 
</div>
 
</div>
  
{{#ask:[[Local bus in::{{{county|}}}||{{PAGENAME}}]]|format=ul| intro=<h2>Local transit</h2>}}
+
{{#ask:[[Local bus in::{{{county|}}}||{{PAGENAME}}]]|format=ul| intro=<div style="display: inline-block; width: 100%;"><h2>Local transit</h2>| outro=</div>}}
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Served by::+]]|?rname=|?served by=|link=none|format=ul|template=liststn| intro=<h2>Rail station/transit center</h2>}}
+
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[Served by::+]]|?rname=|?served by=|link=none|format=ul|template=liststn| intro=<div style="display: inline-block; width: 100%;"><h2>Rail station/transit center</h2>| outro=</div>}}
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Ferry::+]]| format=ul| intro=<h2>Ferry terminals</h2>}}
+
{{#ask:[[City::{{{alternate city name|{{PAGENAME}}}}}]] [[-Ferry::+]]| format=ul| intro=<div style="display: inline-block; width: 100%;"><h2>Ferry terminals</h2>| outro=</div>}}
  
 
==Points of interest==
 
==Points of interest==

Revision as of 17:36, 19 January 2013

Usage - Enter the following code to a city page:

{{smaller city
|county=
|website=
}}
[[Category:Cities]]

This is intended for small and medium sized cities.