Template:City: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
mNo edit summary
('''{{#if: {{{name|}}}|name|no name}}''')
Line 27: Line 27:
|-
|-
|'''name'''
|'''name'''
| '''{{{name}}}''' (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|no name}}''' (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]]''' }}

Revision as of 2008-11-13T00:58:07


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 no name (locate on gmap)
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)