Difference between revisions of "Template:Infobox Region"

From Hattrick
(added optional coat of arms parameter and made flag also optional)
Line 40: Line 40:
 
|-
 
|-
 
| colspan=2 | <small>{{{footnotes}}}</small>
 
| colspan=2 | <small>{{{footnotes}}}</small>
|}<noinclude>[[Category:Region templates]]</noinclude>
+
|}<noinclude>
 +
{{Documentation}}
 +
[[Category:Region templates]]
 +
</noinclude>

Revision as of 21:22, 8 May 2010

{{{full_local_name}}}
Link to Wikipedia
Continent: [[{{{continent}}}]]
Zone: [[{{{zone}}}]]
Country: [[{{{country}}}]]
Latitude: {{{latitude}}}
Longitude: {{{longitude}}}
Time zone: {{{htt_offset}}}
{{{footnotes}}}

[edit] Template documentation

Usage

Parameter explanation

{{Infobox_Region|
  | full_local_name   = official (local) name of the region in Hattrick
  | name_(english)    = name of the region in English
  | image_flag        = image of the regional flag (optional)
  | image_coat        = image of the regional coat of arms (optional)
  | image_map         = optional image with the location of the region on the globe
  | continent         = continent
  | zone              = Hattrick-zone where this country belongs (Western Europe, Eastern Europe...)
  | country           = country where the region belongs 
  | latitude          = as the name says (check your regional page @ hattrick.org)
  | longitude         = same as above
  | number_of_teams   = approximate number of teams (10k, 20k, 30k ...)
  | regionid          = id of the region in Hattrick (optional)
  | htt_offset        = offset to Hattrick time
  | footnotes         = additional notes (optional)
}}

See Thüringen for an working example.


Guidelines

  • All the images needed (flag, map) can be obtained from the country's page at Wikipedia.