Jump to content

Template:Fb cl3 footer/doc

From Wikipedia, the free encyclopedia

Template:Fb cl footer (Football - classification - footer)

For use with the Fb cl3 header navbar and Fb cl3 team templates on statistics pages, e.g. 2010 FIFA World Cup statistics

Syntaxes[edit]

Normal:
{{Fb cl3 footer|p= |group= |no-extras= |w= |d= |l= |gf= |ga= |cs= |yc= |rc= |u= |s= |statcon= |nt= }}


Regional:
{{Fb cl3 footer|regional=yes|p= |no-extras= |t= |w= |d= |l= |u= |s= |statcon= |nt= }}

Parameters[edit]

Parameter Possible values Explanation
regional yes Displays the regional (continent, sub-region, etc.) version of the header; for use on articles about intercontinental (e.g. FIFA Confederations Cup), international (e.g. FIFA World Cup) or inter-regional tournaments only
p yes use this if you have included positions in the Fb cl3 team template
group yes use this if you have included groups in the Fb cl3 team template
no-extras yes removes the "cs", "yc" and "rc" values; "no-extras" must also be active in Fb cl3 header navbar and Fb cl3 team
t number number of teams from region; works only when "regional" is active
w total games won
d total games drawn (tied)
l total games lost
gf total goals scored (goals for); does not work when "regional" is active
ga total goals conceded (goals against); does not work when "regional" is active
cs clean sheets; does not work when "regional" is active
yc yellow cards; does not work when "regional" is active
rc red and/or yellow-red cards; does not work when "regional" is active
u date date of the last update (optional)
s URL source, if any
statcon yes use this if in your statistics matches decided in extra time are counted as wins/losses and those decided by penalty shoot-outs are counted as draws
nt anything notes (optional)

Examples[edit]

Normal footer[edit]

The following syntax:

{{Fb cl3 header navbar|sortable=yes}}
{{Fb cl3 team|t={{flagicon|CIV}} [[Ivory Coast national football team|Ivory Coast]] |h=y
|w=1 |d=0 |l=1 |gf=2  |ga=3  |cs=0 |yc=5 |rc=1}}
{{Fb cl3 team|t={{flagicon|NED}} [[Netherlands national football team|Netherlands]]
|w=1 |d=0 |l=2 |gf=3  |ga=3  |cs=1 |yc=9 |rc=2}}
{{Fb cl3 team|t={{flagicon|ESP}} [[Spain national football team|Spain]] |c=y
|w=2 |d=1 |l=0 |gf=4  |ga=1  |cs=2 |yc=8 |rc=1}}
{{Fb cl3 team|t={{flagicon|URU}} [[Uruguay national football team|Uruguay]]
|w=0 |d=1 |l=1 |gf=1  |ga=3  |cs=0 |yc=3 |rc=1}}
{{Fb cl3 footer|u=30 November 2012|statcon=yes
|w=4 |d=1 |l=4 |gf=10 |ga=10 |cs=3 |yc=25|rc=5}}

Produces the following table:

Team Pld W D L Pts APts GF AGF GA AGA GD AGD CS ACS YC AYC RC ARC
Ivory Coast Ivory Coast 2 1 0 1 3 1.50 2 1.00 3 1.50 −1 −0.50 0 0.00 5 2.50 1 0.50
Netherlands Netherlands 3 1 0 2 3 1.00 3 1.00 3 1.00 0 0.00 1 0.33 9 3.00 2 0.67
Spain Spain 3 2 1 0 7 2.33 4 1.33 1 0.33 +3 1.00 2 0.67 8 2.67 1 0.33
Uruguay Uruguay 2 0 1 1 1 0.50 1 0.50 3 1.50 −2 −1.00 0 0.00 3 1.50 1 0.50
Total 4.5(1) 4 0.5(2) 4 13 1.44 10 1.11 10 1.11 0 0.00 3 0.33 25 2.78 5 0.56

Updated to games played on 30 November 2012. Team(s) rendered in italics represent(s) the host nation(s). The competition's winning team is rendered in bold.
(1) – Total games lost not counted in total games played (total games lost = total games won)
(2) – Total number of games drawn (tied) for all teams = Total number of games drawn (tied) ÷ 2 (both teams involved)
(3) – As per statistical convention in football, matches decided in extra time are counted as wins and losses, while matches decided by penalty shoot-outs are counted as draws.

With "p" active[edit]

The following syntax:

{{Fb cl3 header navbar|sortable=yes|p=yes}}
{{Fb cl3 team|t={{flagicon|ESP}} [[Spain national football team|Spain]] |c=y
|p=1 |w=2 |d=1 |l=0 |gf=4  |ga=1  |cs=2 |yc=8 |rc=1}}
{{Fb cl3 team|t={{flagicon|NED}} [[Netherlands national football team|Netherlands]]
|p=2 |w=1 |d=0 |l=2 |gf=3  |ga=3  |cs=1 |yc=9 |rc=2}}
{{Fb cl3 team|t={{flagicon|CIV}} [[Ivory Coast national football team|Ivory Coast]] |h=y
|p=3 |w=2 |d=0 |l=1 |gf=4  |ga=3  |cs=0 |yc=7 |rc=1}}
{{Fb cl3 team|t={{flagicon|URU}} [[Uruguay national football team|Uruguay]]
|p=4 |w=0 |d=1 |l=2 |gf=1  |ga=5  |cs=0 |yc=4 |rc=1}}
{{Fb cl3 footer|u=30 November 2012|statcon=yes|p=yes
|w=4 |d=1 |l=4 |gf=10 |ga=10 |cs=3 |yc=25|rc=5}}

Produces the following table:

Pos. Team Pld W D L Pts APts GF AGF GA AGA GD AGD CS ACS YC AYC RC ARC
1 Spain Spain 3 2 1 0 7 2.33 4 1.33 1 0.33 +3 1.00 2 0.67 8 2.67 1 0.33
2 Netherlands Netherlands 3 1 0 2 3 1.00 3 1.00 3 1.00 0 0.00 1 0.33 9 3.00 2 0.67
3 Ivory Coast Ivory Coast 3 2 0 1 6 2.00 4 1.33 3 1.00 +1 0.33 0 0.00 7 2.33 1 0.33
4 Uruguay Uruguay 3 0 1 2 1 0.33 1 0.33 5 1.67 −4 −1.33 0 0.00 4 1.33 1 0.33
Total 4.5(1) 4 0.5(2) 4 13 1.44 10 1.11 10 1.11 0 0.00 3 0.33 25 2.78 5 0.56

Updated to games played on 30 November 2012. Team(s) rendered in italics represent(s) the host nation(s). The competition's winning team is rendered in bold.
(1) – Total games lost not counted in total games played (total games lost = total games won)
(2) – Total number of games drawn (tied) for all teams = Total number of games drawn (tied) ÷ 2 (both teams involved)
(3) – As per statistical convention in football, matches decided in extra time are counted as wins and losses, while matches decided by penalty shoot-outs are counted as draws.

Regional footer[edit]

The following syntax:

{{Fb cl3 header navbar|sortable=yes|regional=yes|region=Continent}}
{{Fb cl3 region|r=[[Confederation of African Football|Africa]] |t=1  |w=1 |d=0 |l=1 |h=y}}
{{Fb cl3 region|r=[[UEFA|Europe]]                              |t=2  |w=3 |d=1 |l=2}}
{{Fb cl3 region|r=[[CONMEBOL|South America]]                   |t=1  |w=0 |d=1 |l=1}}
{{Fb cl3 footer|regional=yes|statcon=yes                       |t=4  |w=4 |d=2 |l=4}}

Produces the following table:

Continent T Pld W D L Pts APts Pts/T
Africa 1 2 1 0 1 3 1.50 3.00
Europe 2 6 3 1 2 10 1.67 5.00
South America 1 2 0 1 1 1 0.50 1.00
Total 4 5(1) 4 1(2) 4 14 1.40 3.50

Host nation(s) are situated in the region(s) rendered in italics.
(1) – Total games lost not counted in total games played (total games lost = total games won)
(2) – Total number of games drawn (tied) for all teams = Total number of games drawn (tied) ÷ 2 (both teams involved)
(3) – As per statistical convention in football, matches decided in extra time are counted as wins and losses, while matches decided by penalty shoot-outs are counted as draws.

With "p" active[edit]

The following syntax:

{{Fb cl3 header navbar|sortable=yes|regional=yes|p=yes|region=Continent}}
{{Fb cl3 region|r=[[UEFA|Europe]]                              |p=1 |t=2  |w=3 |d=1 |l=2}}
{{Fb cl3 region|r=[[Confederation of African Football|Africa]] |p=2 |t=1  |w=2 |d=0 |l=1 |h=y}}
{{Fb cl3 region|r=[[CONMEBOL|South America]]                   |p=3 |t=1  |w=0 |d=1 |l=2}}
{{Fb cl3 footer|regional=yes|p=yes|statcon=yes                 |t=4 |w=4 |d=2 |l=4}}

Produces the following table:

Pos. Continent T Pld W D L Pts APts Pts/T
1 Europe 2 6 3 1 2 10 1.67 5.00
2 Africa 1 3 2 0 1 6 2.00 6.00
3 South America 1 3 0 1 2 1 0.33 1.00
Total 4 5(1) 4 1(2) 4 14 1.40 3.50

Host nation(s) are situated in the region(s) rendered in italics.
(1) – Total games lost not counted in total games played (total games lost = total games won)
(2) – Total number of games drawn (tied) for all teams = Total number of games drawn (tied) ÷ 2 (both teams involved)
(3) – As per statistical convention in football, matches decided in extra time are counted as wins and losses, while matches decided by penalty shoot-outs are counted as draws.