Template talk:Infobox Region: Difference between revisions

From Hattrick
Jump to navigationJump to search
Shyrlden (talk | contribs)
No edit summary
 
Jhattara (talk | contribs)
removed documentation from discussion
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Usage ==
== Comments ==
---
ok, it is similar to the country template, but some updates are needed:
* border for the flag


=== Parameter explanation ===


<pre><nowiki>
----
{{Infobox_Country|
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. --[[User:LA-Motto|LA-Motto]] 08:58:48, 2005-12-08 (UTC)
  | 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, Easter Europe...)
  | country          = country where the region belongs
  | laditude          = 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.
---
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)


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.


== Guidelines ==
'''| image_size        = 290px'''


* All the images needed (flag, map) can be obtained from the country's page at [http://en.wikipedia.org Wikipedia].
--[[User:Shyrlden|Shyrlden]] 20:40, 9 December 2005 (UTC)
 
 
== Comments ==
---
ok, it is similar to the country template, but some updates are needed:
* border for the flag

Latest revision as of 19: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)