Template:City: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
mNo edit summary
Line 20: Line 20:
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}|*]]}}
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}|*]]}}
  '''{{{name}}}'''
  '''{{{name}}}'''
  '''[[ISO 3166-2|Country code]]''': [[:category:{{{country code}}}|{{{country code}}}]]
  '''[[ISO 3166-1|Country code]]''': [[:category:{{{country code}}}|{{{country code}}}]]
  '''[[ISO 3166-2|Region code]]''': [[:category:{{{iso_3166_2}}}|{{{iso_3166_2}}}]]
  '''[[ISO 3166-2|Region code]]''': [[:category:{{{iso_3166_2}}}|{{{iso_3166_2}}}]]
  '''[[UN/LOCODE|City code]]''': [[:category:{{{un_locode}}}|{{{un_locode}}}]]
  '''[[UN/LOCODE|City code]]''': [[:category:{{{un_locode}}}|{{{un_locode}}}]]

Revision as of 2008-10-25T19:16:13


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:

City Description

{{{name}}}
Country code: [[:category:{{{country code}}}|{{{country code}}}]]
Region code: [[:category:{{{iso_3166_2}}}|{{{iso_3166_2}}}]]
City code: [[:category:{{{un_locode}}}|{{{un_locode}}}]]
Warning: this  template is under construction, see TangoSud Project