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=8 May 2015
+
|update=9 May 2015
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
  
Line 10: Line 10:
 
|win_ABE=23 |draw_ABE=5  |loss_ABE=7  |gf_ABE=56 |ga_ABE=30
 
|win_ABE=23 |draw_ABE=5  |loss_ABE=7  |gf_ABE=56 |ga_ABE=30
 
|win_CEL=27 |draw_CEL=4  |loss_CEL=4  |gf_CEL=78 |ga_CEL=17
 
|win_CEL=27 |draw_CEL=4  |loss_CEL=4  |gf_CEL=78 |ga_CEL=17
|win_DND=11 |draw_DND=11 |loss_DND=13 |gf_DND=45 |ga_DND=52
+
|win_DND=11 |draw_DND=11 |loss_DND=14 |gf_DND=45 |ga_DND=53
|win_DUN=16 |draw_DUN=4 |loss_DUN=15 |gf_DUN=54 |ga_DUN=52
+
|win_DUN=16 |draw_DUN=5 |loss_DUN=15 |gf_DUN=55 |ga_DUN=53
|win_HAM=14 |draw_HAM=7 |loss_HAM=14 |gf_HAM=47 |ga_HAM=50
+
|win_HAM=14 |draw_HAM=8 |loss_HAM=14 |gf_HAM=48 |ga_HAM=51
|win_INV=17 |draw_INV=8  |loss_INV=10 |gf_INV=48 |ga_INV=37
+
|win_INV=18 |draw_INV=8  |loss_INV=10 |gf_INV=49 |ga_INV=37
 
|win_KIL=10 |draw_KIL=8  |loss_KIL=18 |gf_KIL=39 |ga_KIL=56
 
|win_KIL=10 |draw_KIL=8  |loss_KIL=18 |gf_KIL=39 |ga_KIL=56
 
|win_MOT=10 |draw_MOT=5 |loss_MOT=21 |gf_MOT=37 |ga_MOT=61
 
|win_MOT=10 |draw_MOT=5 |loss_MOT=21 |gf_MOT=37 |ga_MOT=61
|win_PAR=12 |draw_PAR=8 |loss_PAR=15 |gf_PAR=46 |ga_PAR=39
+
|win_PAR=12 |draw_PAR=9 |loss_PAR=15 |gf_PAR=47 |ga_PAR=40
|win_ROS=10 |draw_ROS=8  |loss_ROS=17 |gf_ROS=41 |ga_ROS=59
+
|win_ROS=10 |draw_ROS=8  |loss_ROS=18 |gf_ROS=42 |ga_ROS=61
|win_STJ=15 |draw_STJ=7 |loss_STJ=13 |gf_STJ=32 |ga_STJ=33
+
|win_STJ=15 |draw_STJ=8 |loss_STJ=13 |gf_STJ=33 |ga_STJ=34
|win_STM= 7 |draw_STM=3  |loss_STM=25 |gf_STM=26 |ga_STM=63
+
|win_STM=8 |draw_STM=3  |loss_STM=25 |gf_STM=28 |ga_STM=64
  
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]

Revision as of 20:35, 9 May 2015

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic (C, Q) 35 27 4 4 78 17 +61 85 Qualification to Champions League second qualifying round
2 Aberdeen (Q) 35 23 5 7 56 30 +26 74 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 36 18 8 10 49 37 +12 62
4 Dundee United 36 16 5 15 55 53 +2 53
5 St. Johnstone 36 15 8 13 33 34 −1 53
6 Dundee[lower-alpha 1] 36 11 11 14 45 53 −8 44
7 Hamilton Academical 36 14 8 14 48 51 −3 50
8 Partick Thistle 36 12 9 15 47 40 +7 45
9 Kilmarnock 36 10 8 18 39 56 −17 38
10 Ross County 36 10 8 18 42 61 −19 38
11 Motherwell 36 10 5 21 37 61 −24 35 Qualification to Scottish Premiership play-offs
12 St. Mirren (R) 36 8 3 25 28 64 −36 27 Relegation to Scottish Championship
Updated to match(es) played on 9 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) 35 27 4 4 78 17 +61 85 Qualification to Champions League second qualifying round
2 Aberdeen (Q) 35 23 5 7 56 30 +26 74 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 36 18 8 10 49 37 +12 62
4 Dundee United 36 16 5 15 55 53 +2 53
5 St. Johnstone 36 15 8 13 33 34 −1 53
6 Dundee[lower-alpha 1] 36 11 11 14 45 53 −8 44
7 Hamilton Academical 36 14 8 14 48 51 −3 50
8 Partick Thistle 36 12 9 15 47 40 +7 45
9 Kilmarnock 36 10 8 18 39 56 −17 38
10 Ross County 36 10 8 18 42 61 −19 38
11 Motherwell 36 10 5 21 37 61 −24 35 Qualification to Scottish Premiership play-offs
12 St. Mirren (R) 36 8 3 25 28 64 −36 27 Relegation to Scottish Championship
Updated to match(es) played on 9 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
2 Aberdeen (Q) 35 23 5 7 56 30 +26 74 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 36 18 8 10 49 37 +12 62
4 Dundee United 36 16 5 15 55 53 +2 53
5 St. Johnstone 36 15 8 13 33 34 −1 53
6 Dundee[lower-alpha 1] 36 11 11 14 45 53 −8 44
Updated to match(es) played on 9 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
3 Inverness Caledonian Thistle 36 18 8 10 49 37 +12 62 Qualification to Europa League first qualifying round
4 Dundee United 36 16 5 15 55 53 +2 53
5 St. Johnstone 36 15 8 13 33 34 −1 53
6 Dundee[lower-alpha 1] 36 11 11 14 45 53 −8 44
7 Hamilton Academical 36 14 8 14 48 51 −3 50
Updated to match(es) played on 9 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
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 36 12 9 15 47 40 +7 45
9 Kilmarnock 36 10 8 18 39 56 −17 38
10 Ross County 36 10 8 18 42 61 −19 38
11 Motherwell 36 10 5 21 37 61 −24 35 Qualification to Scottish Premiership play-offs
12 St. Mirren (R) 36 8 3 25 28 64 −36 27 Relegation to Scottish Championship
Updated to match(es) played on 9 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(R) Relegated.