Template:Fb overview/sandbox
This is the template sandbox page for Template:Fb overview (diff). |
This template is used on approximately 4,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
[edit]This template is meant to be used with club football seasons to give an overview of all of the competitions. This template displays the competition name, the total number of games, wins, draws, losses, goals for, goals against, the goal difference, and winning percentage. Then all of it is totaled. There must be a minimum of two competitions. Up to ten competitions may be added. When adding competitions, start out with the parameters containing "1", and continue to move up until all competitions have been added.
Parameters
[edit]Whenever "#" is used, a value from 1 to 25 can be substituted. The highest value of "#" used should be equal to c
.
c
: The total number of competitions (between 1 and 25)c#
: Competition name (with link)w#
: Number of winsd#
: Number of drawsl#
: Number of losesf#
: Number of goals fora#
: Number of goals againstu
: Last time updated
Optional parameters
[edit]fm#
: Date of first match andlm#
: Date of last match ORdm#
: Date of match (single fixture)sr#
: Started roundfp#
: Final round/positions
: Source reference
Blank templates
[edit]Basic usage
[edit]{{Fb overview
|c=
|c1= |w1= |d1= |l1= |f1= |a1=
|c2= |w2= |d2= |l2= |f2= |a2=
|c3= |w3= |d3= |l3= |f3= |a3=
|c4= |w4= |d4= |l4= |f4= |a4=
|c5= |w5= |d5= |l5= |f5= |a5=
|c6= |w6= |d6= |l6= |f6= |a6=
|c7= |w7= |d7= |l7= |f7= |a7=
|c8= |w8= |d8= |l8= |f8= |a8=
|c9= |w9= |d9= |l9= |f9= |a9=
|c10= |w10= |d10= |l10= |f10= |a10=
|u=
}}
Extended usage
[edit]{{Fb overview
|c=
|c1= |fm1= |lm1= |sr1= |fp1= |w1= |d1= |l1= |f1= |a1=
|c2= |fm2= |lm2= |sr2= |fp2= |w2= |d2= |l2= |f2= |a2=
|c3= |fm3= |lm3= |sr3= |fp3= |w3= |d3= |l3= |f3= |a3=
|c4= |fm4= |lm4= |sr4= |fp4= |w4= |d4= |l4= |f4= |a4=
|c5= |fm5= |lm5= |sr5= |fp5= |w5= |d5= |l5= |f5= |a5=
|c6= |fm6= |lm6= |sr6= |fp6= |w6= |d6= |l6= |f6= |a6=
|c7= |fm7= |lm7= |sr7= |fp7= |w7= |d7= |l7= |f7= |a7=
|c8= |fm8= |lm8= |sr8= |fp8= |w8= |d8= |l8= |f8= |a8=
|c9= |fm9= |lm9= |sr9= |fp9= |w9= |d9= |l9= |f9= |a9=
|c10= |fm10= |lm10= |sr10= |fp10= |w10= |d10= |l10= |f10= |a10=
|u=
}}
Examples
[edit]Example 1
[edit]Code:
{{Fb overview
|c=6
|c1=[[2014–15 La Liga|La Liga]] |w1=21 |d1=1 |l1=6 |f1=78 |a1=26
|c2=[[2014–15 Copa del Rey|Copa del Rey]] |w2=2 |d2=1 |l2=1 |f2=11 |a2=5
|c3=[[2014–15 UEFA Champions League|Champions League]] |w3=7 |d3=0 |l3=1 |f3=21 |a3=5
|c4=[[2014 UEFA Super Cup|UEFA Super Cup]] |w4=1 |d4=0 |l4=0 |f4=2 |a4=0
|c5=[[2014 FIFA Club World Cup|FIFA Club World Cup]] |w5=2 |d5=0 |l5=0 |f5=6 |a5=0
|c6=[[2014 Supercopa de España|Supercopa de España]] |w6=0 |d6=1 |l6=1 |f6=1 |a6=2
|u=22 March 2015
}}
Result:
Competition | Record | |||||||
---|---|---|---|---|---|---|---|---|
Pld | W | D | L | GF | GA | GD | Win % | |
La Liga | 28 | 21 | 1 | 6 | 78 | 26 | +52 | 75.00 |
Copa del Rey | 4 | 2 | 1 | 1 | 11 | 5 | +6 | 50.00 |
Champions League | 8 | 7 | 0 | 1 | 21 | 5 | +16 | 87.50 |
UEFA Super Cup | 1 | 1 | 0 | 0 | 2 | 0 | +2 | 100.00 |
FIFA Club World Cup | 2 | 2 | 0 | 0 | 6 | 0 | +6 | 100.00 |
Supercopa de España | 2 | 0 | 1 | 1 | 1 | 2 | −1 | 0.00 |
Total | 45 | 33 | 3 | 9 | 119 | 38 | +81 | 73.33 |
Last updated: 22 March 2015
Source: Competitions
Example 2
[edit]Code:
{{Fb overview
|c=4
|c1=[[2016–17 Bundesliga|Bundesliga]] |fm1=26 August 2016 |lm1=20 May 2017 |sr1=[[#Matches|Matchday 1]] |fp1=Winners |w1=25 |d1=7 |l1=2 |f1=89 |a1=22
|c2=[[2016–17 DFB-Pokal|DFB-Pokal]] |fm2=19 August 2016 |lm2=26 April 2017 |sr2=[[2016–17 DFB-Pokal#First round|First round]] |fp2=[[2016–17 DFB-Pokal#Semi-finals|Semi-finals]] |w2=4 |d2=0 |l2=1 |f2=14 |a2=4
|c3=[[2016 DFL-Supercup|DFL-Supercup]] |dm3=14 August 2016 |sr3=[[2016 DFL-Supercup|Final]] |fp3=Winners |w3=1 |d3=0 |l3=0 |f3=2 |a3=0
|c4=[[2016–17 UEFA Champions League|Champions League]] |fm4=13 September 2016 |lm4=18 April 2017 |sr4=[[2016–17 UEFA Champions League group stage|Group stage]] |fp4=[[2016–17 UEFA Champions League knockout phase#Quarter-finals|Quarter-finals]] |w4=6 |d4=0 |l4=4 |f4=27 |a4=14
|u=27 May 2017
}}
Result:
Competition | First match | Last match | Starting round | Final position | Record | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Pld | W | D | L | GF | GA | GD | Win % | |||||
Bundesliga | 26 August 2016 | 20 May 2017 | Matchday 1 | Winners | 34 | 25 | 7 | 2 | 89 | 22 | +67 | 73.53 |
DFB-Pokal | 19 August 2016 | 26 April 2017 | First round | Semi-finals | 5 | 4 | 0 | 1 | 14 | 4 | +10 | 80.00 |
DFL-Supercup | 14 August 2016 | Final | Winners | 1 | 1 | 0 | 0 | 2 | 0 | +2 | 100.00 | |
Champions League | 13 September 2016 | 18 April 2017 | Group stage | Quarter-finals | 10 | 6 | 0 | 4 | 27 | 14 | +13 | 60.00 |
Total | 50 | 36 | 7 | 7 | 132 | 40 | +92 | 72.00 |
Last updated: 27 May 2017
Source: Competitions
Example 3
[edit]Code:
{{Fb overview
|c=8
|c1=[[2012–13 Premier League|Premier League]] |fm1=19 August 2012 |lm1=19 May 2013 |sr1=[[#Matches|Matchday 1]] |fp1=[[#League table|3rd]] |w1=22 |d1=9 |l1=7 |f1=75 |a1=39
|c2=[[2012–13 FA Cup|FA Cup]] |fm2=5 January 2013 |lm2=14 April 2013 |sr2=[[2012–13 FA Cup#Third round proper|Third round]] |fp2=[[2012–13 FA Cup#Semi-finals|Semi-finals]] |w2=4 |d2=2 |l2=1 |f2=17 |a2=7
|c3=[[2012–13 Football League Cup|Football League Cup]] |fm3=25 September 2012 |lm3=23 January 2013 |sr3=[[2012–13 Football League Cup#Third round|Third round]] |fp3=[[2012–13 Football League Cup#Semi-finals|Semi-finals]] |w3=3 |d3=1 |l3=1 |f3=16 |a3=7
|c4=[[2012 FA Community Shield|FA Community Shield]] |dm4=12 August 2012 |sr4=[[2012 FA Community Shield|Final]] |fp4=[[2012 FA Community Shield|Runners-up]] |w4=0 |d4=0 |l4=1 |f4=2 |a4=3
|c5=[[2012–13 UEFA Champions League|UEFA Champions League]] |fm5=19 September 2012 |lm5=5 December 2012 |sr5=[[2012–13 UEFA Champions League group stage|Group stage]] |fp5=[[2012–13 UEFA Champions League group stage|Group stage (3rd)]] |w5=3 |d5=1 |l5=2 |f5=16 |a5=10
|c6=[[2012–13 UEFA Europa League|UEFA Europa League]] |fm6=14 February 2013 |lm6=15 May 2013 |sr6=[[2012–13 UEFA Europa League knockout phase#Round of 32|Round of 32]] |fp6=[[2013 UEFA Europa League Final|Winners]] |w6=6 |d6=1 |l6=2 |f6=17 |a6=10
|c7=[[2012 UEFA Super Cup|UEFA Super Cup]] |dm7=31 August 2012 |sr7=[[2012 UEFA Super Cup|Final]] |fp7=[[2012 UEFA Super Cup|Runners-up]] |w7=0 |d7=0 |l7=1 |f7=1 |a7=4
|c8=[[2012 FIFA Club World Cup|FIFA Club World Cup]] |fm8=13 December 2012 |lm8=16 December 2012 |sr8=[[2012 FIFA Club World Cup#Semi-finals|Semi-finals]] |fp8=[[2012 FIFA Club World Cup Final|Runners-up]] |w8=1 |d8=0 |l8=1 |f8=3 |a8=2
|u=19 May 2013
}}
Result:
Competition | First match | Last match | Starting round | Final position | Record | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Pld | W | D | L | GF | GA | GD | Win % | |||||
Premier League | 19 August 2012 | 19 May 2013 | Matchday 1 | 3rd | 38 | 22 | 9 | 7 | 75 | 39 | +36 | 57.89 |
FA Cup | 5 January 2013 | 14 April 2013 | Third round | Semi-finals | 7 | 4 | 2 | 1 | 17 | 7 | +10 | 57.14 |
Football League Cup | 25 September 2012 | 23 January 2013 | Third round | Semi-finals | 5 | 3 | 1 | 1 | 16 | 7 | +9 | 60.00 |
FA Community Shield | 12 August 2012 | Final | Runners-up | 1 | 0 | 0 | 1 | 2 | 3 | −1 | 0.00 | |
UEFA Champions League | 19 September 2012 | 5 December 2012 | Group stage | Group stage (3rd) | 6 | 3 | 1 | 2 | 16 | 10 | +6 | 50.00 |
UEFA Europa League | 14 February 2013 | 15 May 2013 | Round of 32 | Winners | 9 | 6 | 1 | 2 | 17 | 10 | +7 | 66.67 |
UEFA Super Cup | 31 August 2012 | Final | Runners-up | 1 | 0 | 0 | 1 | 1 | 4 | −3 | 0.00 | |
FIFA Club World Cup | 13 December 2012 | 16 December 2012 | Semi-finals | Runners-up | 2 | 1 | 0 | 1 | 3 | 2 | +1 | 50.00 |
Total | 69 | 39 | 14 | 16 | 147 | 82 | +65 | 56.52 |
Last updated: 19 May 2013
Source: Competitions