Difference between revisions of "Template talk:Infobox Region"

From Hattrick
m
(removed documentation from discussion)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Usage ==
 
 
=== Parameter explanation ===
 
 
<pre><nowiki>
 
{{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
 
  | 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 you 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)
 
}}
 
</nowiki></pre>
 
 
See [[Thüringen]] for an working example.
 
 
 
== Guidelines ==
 
 
* All the images needed (flag, map) can be obtained from the country's page at [http://en.wikipedia.org Wikipedia].
 
 
 
 
== Comments ==
 
== Comments ==
 
---
 
---
Line 40: Line 11:
 
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?
 
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?
 
--[[User:Shyrlden|Shyrlden]] 12:45, 8 December 2005 (UTC)
 
--[[User:Shyrlden|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'''
 +
 +
--[[User:Shyrlden|Shyrlden]] 20:40, 9 December 2005 (UTC)

Latest revision as of 20:22, 8 May 2010

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)