Template:City: Difference between revisions
Jump to navigation
Jump to search
{{PAGENAME}} |
if kmllat |
||
Line 27: | Line 27: | ||
|- | |- | ||
|'''name''' | |'''name''' | ||
| '''{{#if: {{{name|}}}|name|{{PAGENAME}}}}''' (locate on [http://maps.google.com/?q={{urlencode:{{{kml_lat}}}, {{{kml_lon}}} }}&z=5 gmap]){{#if:{{{tango_map|}}}|<br />Regional Map: [[gmap {{{tango_map}}}|{{{tango_map}}}]]'''}} | | '''{{#if: {{{name|}}}|name|{{PAGENAME}}}}''' {{#if:{{{kml_lat|}}}|(locate on [http://maps.google.com/?q={{urlencode:{{{kml_lat}}}, {{{kml_lon}}} }}&z=5 gmap])}}{{#if:{{{tango_map|}}}|<br />Regional Map: [[gmap {{{tango_map}}}|{{{tango_map}}}]]'''}} | ||
|- | |- | ||
| {{#if: {{{iso_3166_1|}}} | '''[[ISO 3166-1|Country code]]''' }} | | {{#if: {{{iso_3166_1|}}} | '''[[ISO 3166-1|Country code]]''' }} | ||
Line 37: | Line 37: | ||
| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]''' | | {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]''' | ||
}} | }} | ||
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]] - information related to {{{name}}} can be found in [[:category:{{{un_locode}}}]]. | | {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]] - information related to {{#if: {{{name|}}}|name|{{PAGENAME}}}} can be found in [[:category:{{{un_locode}}}]]. | ||
}} | }} | ||
|- | |- |
Revision as of 2008-11-12T23:02:35
Usage
- Edit this page, copy and paste the {{city ...}} block in your city page, then fill in the requested fields in your city page.
Presentation
The information contained in the {{city ...}} block will be presented by this template as follows:
name | City |
Region code | [[:category:{{{iso_3166_2}}}|{{{iso_3166_2}}}]] |
Geo coordinates | Latitude (N/S): {{{kml_lat}}} Longitude (E/W): {{{kml_lon}}} |
Venues |
Presented by Template:city (under construction)