Difference between revisions of "Template:Smaller city"
m |
m |
||
Line 4: | Line 4: | ||
<div class=map> | <div class=map> | ||
{{#ifexpr: {{#ask: [[City::{{{alternate city name|{{PAGENAME}}}}}]]|format=count}} < 1 | {{#ifexpr: {{#ask: [[City::{{{alternate city name|{{PAGENAME}}}}}]]|format=count}} < 1 | ||
− | | {{#display_map: | + | | {{#display_map:{{latlong|}}}|width={{{width|400}}}|height={{{height|400}}}|kml={{{kml|}}}|zoom=14|kmlrezoom=yes}} |
| {{#compound_query:[[City::{{{alternate city name|{{PAGENAME}}}}}]][[Category:Points of interest]];icon=mm_20_red.png | | {{#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 |
Revision as of 18:58, 19 November 2013
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.