Template:Infobox Region: Difference between revisions

From Hattrick
Jump to navigationJump to search
Mr Wednesday (talk | contribs)
Add parser function on regionid to make it so that special pages can be leveraged to find missing regionids, otherwise they produce malformed HT links.
Jhattara (talk | contribs)
regionid line removed in case of missing region id and those region articles categorized
Line 28: Line 28:
| '''Longitude:'''
| '''Longitude:'''
|{{{longitude}}}
|{{{longitude}}}
|-
{{#if: {{{regionid|}}}|{{!}}-
| '''RegionID:'''
{{!}} '''RegionID:'''
|{{#if: {{{regionid|}}}|[http://www.hattrick.org/World/Regions/Region.aspx?RegionID={{{regionid}}} {{{regionid}}}]|[[File:no.regionid]]}}
{{!}}[http://www.hattrick.org/World/Regions/Region.aspx?RegionID={{{regionid}}} {{{regionid}}}]|<includeonly>[[Category:Regions with no id]]</includeonly>}}
|-
|-
| '''[[Hattrick Time|Time zone]]:'''
| '''[[Hattrick Time|Time zone]]:'''

Revision as of 19:11, 8 May 2010

{{{full_local_name}}}
[[Image:{{{image_coat}}}|100px|Coat of {{{name_(english)}}}]]
Link to Wikipedia
Continent: [[{{{continent}}}]]
Zone: [[{{{zone}}}]]
Country: [[{{{country}}}]]
Latitude: {{{latitude}}}
Longitude: {{{longitude}}}
Time zone: {{{htt_offset}}}
{{{footnotes}}}