Template:City: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 27: Line 27:
|-
|-
|'''name'''
|'''name'''
| '''{{{name}}}''' [http://maps.google.com/?q={{urlencode:{{{name}}} {{{iso_3166_1}}} }} gmap]  [http://maps.google.com/?q={{urlencode:{{{kml_lat}}}, {{{kml_lon}}}&z=12 }} gmap2]
| '''{{{name}}}''' [http://maps.google.com/?q={{urlencode:{{{name}}} {{{iso_3166_1}}} }} gmap]  [http://maps.google.com/?q={{urlencode:{{{kml_lat}}}, {{{kml_lon}}} }}&z=12 gmap2]
|-
|-
| {{#if: {{{iso_3166_1|}}} | '''[[ISO 3166-1|Country code]]''' }}
| {{#if: {{{iso_3166_1|}}} | '''[[ISO 3166-1|Country code]]''' }}

Revision as of 2008-10-28T16:22:54


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 {{{name}}} gmap gmap2
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)