Template:Iht header/doc

From blackwiki
Jump to navigation Jump to search

Template:iht header (ice hockey table - header)

Parameters

Parameter Possible values Notes
title anything Displays a title above the header
group y = yes; blank = no Displays group column if set (for ranking of teams from different groups)
teamwidth any number Width of column "Team" (default = 165)
colwidth any number Width of individual columns (default = 36)
template yes Creates navbar for use on a template (must be used together with name-parameter)
name anything Name of the template for correct linking (used together with template-parameter)

Examples

table with title & background colors

{{iht header|title=Ice Hockey World Championship – Group A}}
{{iht team|t={{ih|CAN}} |w=3 |ow=2 |ol=1 |l=0 |gf=15 |ga=6 |bc=#cfc}}
{{iht team|t={{ih|USA}} |w=1 |ow=2 |ol=2 |l=1 |gf=20 |ga=8}}
{{iht team|t={{ih|RUS}} |w=0 |ow=1 |ol=2 |l=3 |gf=10 |ga=14 |bc=#fcc}}
|}
Ice Hockey World Championship – Group A
Team GP
W
OTW
OTL
L
GF
GA
GD
Pts
 Canada 6 3 2 1 0 15 6 +9 14
 United States 6 1 2 2 1 20 8 +12 9
 Russia 6 0 1 2 3 10 14 −4 4


table with custom teamwidth

{{iht header|teamwidth=300}}
{{iht team|t={{ihw18|COD}} |w=1 |ow=2 |ol=2 |l=1 |gf=20 |ga=8}}
|}
Team GP
W
OTW
OTL
L
GF
GA
GD
Pts
 DR Congo 6 1 2 2 1 20 8 +12 9


table with group column & custom colwidth

{{iht header|group=y|colwidth=50}}
{{iht team|group=A |t={{ihw|SWE}} |w=3 |ow=2 |ol=1 |l=0 |gf=15 |ga=6}}
{{iht team|group=B-2 |t={{ihw|FIN}} |w=1 |ow=2 |ol=2 |l=1 |gf=20 |ga=8}}
{{iht team|group=3 |t={{ihw|NOR}} |w=0 |ow=1 |ol=2 |l=3 |gf=10 |ga=14}}
|}
Group
Team GP
W
OTW
OTL
L
GF
GA
GD
Pts
A  Sweden 6 3 2 1 0 15 6 +9 14
B-2  Finland 6 1 2 2 1 20 8 +12 9
3  Norway 6 0 1 2 3 10 14 −4 4


table with template navbar

{{iht header |template=yes |name=2014–15 Champions Hockey League standings – Group A}}
{{iht team|t={{flagicon|FIN}} [[Oulun Kärpät]]                             |w=3 |ow=2 |ol=0 |l=1 |gf=17 |ga=12 |bc=#ccffcc}}
{{iht team|t={{flagicon|CZE}} [[HC Bílí Tygři Liberec|Bílí Tygři Liberec]] |w=3 |ow=0 |ol=0 |l=3 |gf=16 |ga=15}}
{{iht team|t={{flagicon|SVK}} [[HC Košice]]                                |w=2 |ow=0 |ol=1 |l=3 |gf=14 |ga=16}}
{{iht team|t={{flagicon|GER}} [[Kölner Haie]]                              |w=2 |ow=0 |ol=1 |l=3 |gf=12 |ga=16}}
|}
Team
GP
W
OTW
OTL
L
GF
GA
GD
Pts
Finland Oulun Kärpät 6 3 2 0 1 17 12 +5 13
Czech Republic Bílí Tygři Liberec 6 3 0 0 3 16 15 +1 9
Slovakia HC Košice 6 2 0 1 3 14 16 −2 7
Germany Kölner Haie 6 2 0 1 3 12 16 −4 7