Template:City: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
'''/'''
m gmap down
Line 25: Line 25:
|-
|-
|'''name'''
|'''name'''
| '''{{#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: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}''' {{#if:{{{tango_map|}}}|<br />Regional Map: [[gmap {{{tango_map}}}|{{{tango_map}}}]]'''}}
|-
|-
| '''Geocodes'''
| '''Geocodes'''
Line 32: Line 32:
{{{iso_3166_2|}}} | '''/''' [[ISO 3166-2|region]]: [[:category:{{{iso_3166_2}}}|{{{iso_3166_2}}}]] }} {{#if:  
{{{iso_3166_2|}}} | '''/''' [[ISO 3166-2|region]]: [[:category:{{{iso_3166_2}}}|{{{iso_3166_2}}}]] }} {{#if:  
{{{un_locode|}}} | '''/''' [[UN/LOCODE|city]]: [[:category:{{{un_locode}}}|{{{un_locode}}}]] }} {{#if:  
{{{un_locode|}}} | '''/''' [[UN/LOCODE|city]]: [[:category:{{{un_locode}}}|{{{un_locode}}}]] }} {{#if:  
{{{kml_lat|}}} | '''/''' Latitude (N/S): {{{kml_lat}}} Longitude (E/W): {{{kml_lon}}} }}
{{{kml_lat|}}} | '''/''' Latitude (N/S): {{{kml_lat}}} Longitude (E/W): {{{kml_lon}}} (locate on [http://maps.google.com/?q={{urlencode:{{{kml_lat}}}, {{{kml_lon}}} }}&z=5 gmap]) }}
|-
|-
| {{#if: {{{nearby_cities|}}} | '''nearby tango cities''' }}
| {{#if: {{{nearby_cities|}}} | '''nearby tango cities''' }}

Revision as of 2008-12-06T22:48:52

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
Geocodes
Venues
Presented by Template:city (under construction)