Difference between revisions of "Template:2014–15 Scottish Premiership table"

From blackwiki
Jump to navigation Jump to search
Line 2: Line 2:
 
|showteam={{{showteam}}}
 
|showteam={{{showteam}}}
 
|template_name=2014–15 Scottish Premiership table
 
|template_name=2014–15 Scottish Premiership table
|update=16 May 2015
+
|update=23 May 2015
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
  
|team1=CEL |team2=ABE |team3=INV |team4=STJ |team5=DUN |team6=DND |team7=HAM |team8=PAR |team9=KIL |team10=ROS |team11=MOT |team12=STM
+
|team1=CEL |team2=ABE |team3=INV |team4=STJ |team5=DUN |team6=DND |team7=HAM |team8=PAR |team9=ROS |team10=KIL |team11=MOT |team12=STM
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
  
Line 12: Line 12:
 
|win_DND=11 |draw_DND=12 |loss_DND=14 |gf_DND=46 |ga_DND=54
 
|win_DND=11 |draw_DND=12 |loss_DND=14 |gf_DND=46 |ga_DND=54
 
|win_DUN=16 |draw_DUN=5  |loss_DUN=16 |gf_DUN=55 |ga_DUN=56
 
|win_DUN=16 |draw_DUN=5  |loss_DUN=16 |gf_DUN=55 |ga_DUN=56
|win_HAM=14 |draw_HAM=8  |loss_HAM=15 |gf_HAM=49 |ga_HAM=53
+
|win_HAM=15 |draw_HAM=8  |loss_HAM=15 |gf_HAM=50 |ga_HAM=53
 
|win_INV=19 |draw_INV=8  |loss_INV=10 |gf_INV=52 |ga_INV=37
 
|win_INV=19 |draw_INV=8  |loss_INV=10 |gf_INV=52 |ga_INV=37
|win_KIL=11 |draw_KIL=8  |loss_KIL=18 |gf_KIL=43 |ga_KIL=57
+
|win_KIL=11 |draw_KIL=8  |loss_KIL=19 |gf_KIL=44 |ga_KIL=59
|win_MOT=10 |draw_MOT=5 |loss_MOT=22 |gf_MOT=38 |ga_MOT=63
+
|win_MOT=10 |draw_MOT=6 |loss_MOT=22 |gf_MOT=38 |ga_MOT=63
|win_PAR=12 |draw_PAR=9 |loss_PAR=16 |gf_PAR=48 |ga_PAR=44
+
|win_PAR=12 |draw_PAR=10 |loss_PAR=16 |gf_PAR=48 |ga_PAR=44
|win_ROS=11 |draw_ROS=8  |loss_ROS=18 |gf_ROS=44 |ga_ROS=62
+
|win_ROS=12 |draw_ROS=8  |loss_ROS=18 |gf_ROS=46 |ga_ROS=63
 
|win_STJ=15 |draw_STJ=9  |loss_STJ=13 |gf_STJ=33 |ga_STJ=34
 
|win_STJ=15 |draw_STJ=9  |loss_STJ=13 |gf_STJ=33 |ga_STJ=34
|win_STM=9  |draw_STM=3  |loss_STM=25 |gf_STM=30 |ga_STM=65
+
|win_STM=9  |draw_STM=3  |loss_STM=26 |gf_STM=30 |ga_STM=66
  
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]

Revision as of 15:51, 23 May 2015

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic (C, Q) 37 28 5 4 79 17 +62 89 Qualification to Champions League second qualifying round
2 Aberdeen (Q) 37 23 6 8 57 32 +25 75 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle (Q) 37 19 8 10 52 37 +15 65
4 St. Johnstone 37 15 9 13 33 34 −1 54
5 Dundee United 37 16 5 16 55 56 −1 53
6 Dundee[lower-alpha 1] 37 11 12 14 46 54 −8 45
7 Hamilton Academical 38 15 8 15 50 53 −3 53
8 Partick Thistle 38 12 10 16 48 44 +4 46
9 Ross County 38 12 8 18 46 63 −17 44
10 Kilmarnock 38 11 8 19 44 59 −15 41
11 Motherwell (Q) 38 10 6 22 38 63 −25 36 Qualification to Scottish Premiership play-offs
12 St. Mirren (R) 38 9 3 26 30 66 −36 30 Relegation to Scottish Championship
Updated to match(es) played on 23 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(C) Champion; (Q) Qualified to the phase indicated; (R) Relegated.
Notes:
  1. Teams in the bottom six at the time of the split (33 games) cannot pass teams in the top six
Template documentation[view] [edit] [history] [purge]

Usage

This is a template that was created to easily update every article with the 2014–15 Scottish Premiership standings. It now uses Module:Sports table to generate this table.

Every team has a code (see below for list)

The line
|team1=...
determines the order of the teams in the table

The numbers are controlled by lines as

|win_CEL=8 |draw_CEL=1 |loss_CEL=2 |gf_CEL=29 |ga_CEL=13
for each team. The parameters win, draw and loss indicate those stats; gf and ga are the goals for and against.

More options are available from the documentation at Module:Sports table.

To use the update on any article, insert:

{{2014–15 Scottish Premiership table}}

To highlight Aberdeen, insert:

{{2014–15 Scottish Premiership table|showteam=ABE}}

The complete list of teams to be used is:

  • ABE = Aberdeen
  • CEL = Celtic
  • DND = Dundee
  • DUN = Dundee United
  • HAM = Hamilton Academical
  • INV = Inverness Caledonian Thistle
  • KIL = Kilmarnock
  • MOT = Motherwell
  • PAR = Partick Thistle
  • ROS = Ross County
  • STJ = St Johnstone
  • STM = St. Mirren

See also

Sample Usage

{{2014–15 Scottish Premiership table}} produces -

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic (C, Q) 37 28 5 4 79 17 +62 89 Qualification to Champions League second qualifying round
2 Aberdeen (Q) 37 23 6 8 57 32 +25 75 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle (Q) 37 19 8 10 52 37 +15 65
4 St. Johnstone 37 15 9 13 33 34 −1 54
5 Dundee United 37 16 5 16 55 56 −1 53
6 Dundee[lower-alpha 1] 37 11 12 14 46 54 −8 45
7 Hamilton Academical 38 15 8 15 50 53 −3 53
8 Partick Thistle 38 12 10 16 48 44 +4 46
9 Ross County 38 12 8 18 46 63 −17 44
10 Kilmarnock 38 11 8 19 44 59 −15 41
11 Motherwell (Q) 38 10 6 22 38 63 −25 36 Qualification to Scottish Premiership play-offs
12 St. Mirren (R) 38 9 3 26 30 66 −36 30 Relegation to Scottish Championship
Updated to match(es) played on 23 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(C) Champion; (Q) Qualified to the phase indicated; (R) Relegated.
Notes:
  1. Teams in the bottom six at the time of the split (33 games) cannot pass teams in the top six

{{2014–15 Scottish Premiership table|showteam=DUN}} produces -

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
3 Inverness Caledonian Thistle (Q) 37 19 8 10 52 37 +15 65 Qualification to Europa League first qualifying round
4 St. Johnstone 37 15 9 13 33 34 −1 54
5 Dundee United 37 16 5 16 55 56 −1 53
6 Dundee[lower-alpha 1] 37 11 12 14 46 54 −8 45
7 Hamilton Academical 38 15 8 15 50 53 −3 53
Updated to match(es) played on 23 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(Q) Qualified to the phase indicated.
Notes:
  1. Teams in the bottom six at the time of the split (33 games) cannot pass teams in the top six

{{2014–15 Scottish Premiership table|showteam=STJ}} produces -

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
2 Aberdeen (Q) 37 23 6 8 57 32 +25 75 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle (Q) 37 19 8 10 52 37 +15 65
4 St. Johnstone 37 15 9 13 33 34 −1 54
5 Dundee United 37 16 5 16 55 56 −1 53
6 Dundee[lower-alpha 1] 37 11 12 14 46 54 −8 45
Updated to match(es) played on 23 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(Q) Qualified to the phase indicated.
Notes:
  1. Teams in the bottom six at the time of the split (33 games) cannot pass teams in the top six

{{2014–15 Scottish Premiership table|showteam=MOT}} produces -

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
8 Partick Thistle 38 12 10 16 48 44 +4 46
9 Ross County 38 12 8 18 46 63 −17 44
10 Kilmarnock 38 11 8 19 44 59 −15 41
11 Motherwell (Q) 38 10 6 22 38 63 −25 36 Qualification to Scottish Premiership play-offs
12 St. Mirren (R) 38 9 3 26 30 66 −36 30 Relegation to Scottish Championship
Updated to match(es) played on 23 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(Q) Qualified to the phase indicated; (R) Relegated.