Difference between revisions of "Template:Smaller city"
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{county|}}}|Located in [[In county::{{{county|}}}]].}} | <includeonly>{{#if:{{{county|}}}|Located in [[In county::{{{county|}}}]].}} | ||
{{#if:{{{region|}}}|:Region: {{#arraydefine:regions|{{{region|}}}|,|unique}}{{#arrayprint:regions|, |$1|[[In region::$1]]}}}} | {{#if:{{{region|}}}|:Region: {{#arraydefine:regions|{{{region|}}}|,|unique}}{{#arrayprint:regions|, |$1|[[In region::$1]]}}}} | ||
− | {{#if:{{{latlong|}}}|{{#Widget:Bikemap|latlong={{{latlong|}}}|pagename={{PAGENAME}}}} [[City latlong::{{{latlong|}}}| ]]}} | + | {{#if:{{{latlong|}}}|See {{#Widget:Bikemap|latlong={{{latlong|}}}|pagename={{PAGENAME}}}} [[City latlong::{{{latlong|}}}| ]]}} |
{{#if:{{{website|}}}|:[{{{website}}} Web site]}} | {{#if:{{{website|}}}|:[{{{website}}} Web site]}} | ||
Revision as of 00:56, 14 September 2023
Usage - Enter the following code to a city page:
{{smaller city |latlong={{subst:#geocode:{{subst:PAGENAME}}, ??|format=float|directional=no}} |region= |county= |website= }} [[Category:Cities]]
This is intended for small and medium sized cities.