Template talk:Infobox Region

From Hattrick
Revision as of 22:40, 9 December 2005 by Shyrlden (talk | contribs)

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 or CoA
  | image_size        = if the image is too large you can rescale it, e.g. use ''200px'' (max. should be 290px)
  | image_map         = 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 ...)
  | htt_offset        = offset to Hattrick time (may be empty)
  | footnotes         = additional notes (may be empty)
}}

See Thüringen for an working example.


Guidelines

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


Comments

--- ok, it is similar to the country template, but some updates are needed:

  • border for the flag



Shyrlden, please comment, why you think that "resize on most pages looks shit". In my opinion it's bad desing to leave it unscaled. Users may upload coats of arms and falgs of different sizes, and leaving it unscaled will ruin the layout of the whole page. --LA-Motto 08:58:48, 2005-12-08 (UTC)

--- the problem is that small images will be also rescaled to 200 Px (e.g. Uppland, München, Raanana, Eilat, Denizli, Izmir/ with all thoose 100+x empty pages now, i can't find more examples without spending a hour for searching :(). Exist a way that only too large images will be rescaled and smaller ones keep their size? --Shyrlden 12:45, 8 December 2005 (UTC)

ok, i added a new parameter, please add the following line in your infobox. You can also reduce the size, eg. 200px if you want. Without the line the image will be displayed in original size. I hope that helps.

| image_size = 290px

--Shyrlden 20:40, 9 December 2005 (UTC)