Difference between revisions of "Template:Fb overview2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jts1882
(add mention of source parameter →‎Parameters)
imported>Frietjes
(merged)
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Fb overview2/doc]]
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
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 date(s) of the (first/last) match, the starting and final positions, 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 ==
 
Whenever "#" is used, a value from 1 to 10 should be substituted. The highest value of "#" used should be equal to <code>c</code>.
 
 
 
*<code>c</code>: The total number of competitions (between 2 and 10)
 
*<code>c#</code>: Competition name (with link)
 
*<code>fm#</code>: Date of first match ''and'' <code>lm#</code>: Date of last match '''OR''' <code>dm#</code>: Date of match (single fixture)
 
*<code>sr#</code>: Started round
 
*<code>fp#</code>: Final round/position
 
*<code>w#</code>: Number of wins
 
*<code>d#</code>: Number of draws
 
*<code>l#</code>: Number of loses
 
*<code>f#</code>: Number of goals for
 
*<code>a#</code>: Number of goals against
 
*<code>u</code>: Last time updated
 
*<code>s</code>: Source
 
 
 
== Blank template ==
 
<pre>{{Fb overview2
 
|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=
 
}}</pre>
 
 
 
== Example 1 ==
 
'''Code:'''
 
<pre>{{Fb overview2
 
|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
 
}}</pre>
 
 
 
'''Result:'''
 
{{Fb overview2
 
|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
 
}}
 
 
 
== Example 2 ==
 
'''Code:'''
 
<pre>{{Fb overview2
 
|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
 
}}</pre>
 
 
 
'''Result:'''
 
{{Fb overview2
 
|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
 
}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Fb_templates|{{PAGENAME}}]]
 
}}</includeonly>
 

Revision as of 00:05, 8 January 2019