Template:Infobox Region/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Jhattara (talk | contribs)
Created page with '== Usage == === Parameter explanation === <pre><nowiki> {{Infobox_Region| | full_local_name = official (local) name of the region in Hattrick | name_(english) = name o…'
 
Jhattara (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
   | full_local_name  = official (local) name of the region in Hattrick
   | full_local_name  = official (local) name of the region in Hattrick
   | name_(english)    = name of the region in English
   | name_(english)    = name of the region in English
   | image_flag        = optional image of the regional flag
   | image_flag        = image of the regional flag (optional)
   | image_coat        = optional image of the regional coat of arms
   | image_coat        = image of the regional coat of arms (optional)
   | image_map        = image with the location of the region on the globe
   | image_map        = optional image with the location of the region on the globe
   | continent        = continent
   | continent        = continent
   | zone              = Hattrick-zone where this country belongs (Western Europe, Eastern Europe...)
   | zone              = Hattrick-zone where this country belongs (Western Europe, Eastern Europe...)
Line 16: Line 16:
   | longitude        = same as above
   | longitude        = same as above
   | number_of_teams  = approximate number of teams (10k, 20k, 30k ...)
   | number_of_teams  = approximate number of teams (10k, 20k, 30k ...)
   | htt_offset        = offset to Hattrick time (may be empty)
  | regionid          = id of the region in Hattrick (optional)
   | footnotes        = additional notes (may be empty)
   | htt_offset        = offset to Hattrick time
   | footnotes        = additional notes (optional)
}}
}}
</nowiki></pre>
</nowiki></pre>


See [[Thüringen]] for an working example.
See [[Thüringen]] for an working example.
 
<noinclude>
[[Category:Template documentation]]
</noinclude>


== Guidelines ==
== Guidelines ==


* All the images needed (flag, map) can be obtained from the country's page at [http://en.wikipedia.org Wikipedia].
* All the images needed (flag, map) can be obtained from the country's page at [http://en.wikipedia.org Wikipedia].

Latest revision as of 19:28, 8 May 2010

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.