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

From blackwiki
Jump to navigation Jump to search
blackwiki>TheLightBlue
Line 2: Line 2:
 
|showteam={{{showteam}}}
 
|showteam={{{showteam}}}
 
|template_name=2014–15 Scottish Premiership table
 
|template_name=2014–15 Scottish Premiership table
|update=1 May 2015
+
|update=2 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=DUN |team5=STJ |team6=DND |team7=HAM |team8=PAR |team9=KIL |team10=ROS |team11=MOT |team12=STM
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
  
|win_ABE= 23 |draw_ABE= 5 |loss_ABE= 6 |gf_ABE=56 |ga_ABE=29
+
|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= 13 |gf_DND=45 |ga_DND=52
|win_DUN=15 |draw_DUN= 4 |loss_DUN= 14 |gf_DUN=52 |ga_DUN=50
+
|win_DUN=16 |draw_DUN= 4 |loss_DUN= 14 |gf_DUN=53 |ga_DUN=50
|win_HAM= 13 |draw_HAM= 7 |loss_HAM= 14 |gf_HAM=44 |ga_HAM=48
+
|win_HAM= 14 |draw_HAM= 7 |loss_HAM= 14 |gf_HAM=47 |ga_HAM=50
|win_INV=16 |draw_INV= 7 |loss_INV= 10 |gf_INV=45 |ga_INV=35
+
|win_INV=16 |draw_INV= 8 |loss_INV= 10 |gf_INV=46 |ga_INV=36
 
|- style="background-color:#AAAAAA; line-height:3pt;"
 
|- style="background-color:#AAAAAA; line-height:3pt;"
 
||||||||||||||||||||||
 
||||||||||||||||||||||
|win_KIL= 10 |draw_KIL= 8 |loss_KIL= 16 |gf_KIL=36 |ga_KIL=50
+
|win_KIL= 10 |draw_KIL= 8 |loss_KIL= 17 |gf_KIL=38 |ga_KIL=53
|win_MOT= 9 |draw_MOT= 4 |loss_MOT=21 |gf_MOT=33 |ga_MOT=59
+
|win_MOT= 9 |draw_MOT= 5 |loss_MOT=21 |gf_MOT=34 |ga_MOT=60
|win_PAR= 11 |draw_PAR= 8 |loss_PAR= 15 |gf_PAR=43 |ga_PAR=39
+
|win_PAR= 12 |draw_PAR= 8 |loss_PAR= 15 |gf_PAR=46 |ga_PAR=39
|win_ROS= 10 |draw_ROS= 7 |loss_ROS=17 |gf_ROS=40 |ga_ROS=58
+
|win_ROS= 10 |draw_ROS= 8 |loss_ROS=17 |gf_ROS=41 |ga_ROS=59
|win_STJ= 15 |draw_STJ= 6 |loss_STJ= 13 |gf_STJ=31 |ga_STJ=32
+
|win_STJ= 15 |draw_STJ= 7 |loss_STJ= 13 |gf_STJ=32 |ga_STJ=33
|win_STM= 7 |draw_STM= 3 |loss_STM=24 |gf_STM=26 |ga_STM=60
+
|win_STM= 7 |draw_STM= 3 |loss_STM=25 |gf_STM=26 |ga_STM=63
  
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]
Line 37: Line 37:
  
 
<!-- Status -->
 
<!-- Status -->
|status_ABE=X
+
|status_ABE=Q
|status_CEL=X
+
|status_CEL=C
|status_text_X=Team is assured of at least Europa League, but can still qualify for Champions League
 
  
 
|show_limit=5
 
|show_limit=5

Revision as of 16:17, 2 May 2015

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic (C) 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 34 16 8 10 46 36 +10 56
4 Dundee United 34 16 4 14 53 50 +3 52
5 St. Johnstone 35 15 7 13 32 33 −1 52
6 Dundee 35 11 11 13 45 52 −7 44
7 Hamilton Academical 35 14 7 14 47 50 −3 49
8 Partick Thistle 35 12 8 15 46 39 +7 44
9 Kilmarnock 35 10 8 17 38 53 −15 38
10 Ross County 35 10 8 17 41 59 −18 38
11 Motherwell 35 9 5 21 34 60 −26 32 Qualification to Scottish Premiership play-offs
12 St. Mirren 35 7 3 25 26 63 −37 24 Relegation to Scottish Championship
Updated to match(es) played on 2 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.
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) 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 34 16 8 10 46 36 +10 56
4 Dundee United 34 16 4 14 53 50 +3 52
5 St. Johnstone 35 15 7 13 32 33 −1 52
6 Dundee 35 11 11 13 45 52 −7 44
7 Hamilton Academical 35 14 7 14 47 50 −3 49
8 Partick Thistle 35 12 8 15 46 39 +7 44
9 Kilmarnock 35 10 8 17 38 53 −15 38
10 Ross County 35 10 8 17 41 59 −18 38
11 Motherwell 35 9 5 21 34 60 −26 32 Qualification to Scottish Premiership play-offs
12 St. Mirren 35 7 3 25 26 63 −37 24 Relegation to Scottish Championship
Updated to match(es) played on 2 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.

{{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 34 16 8 10 46 36 +10 56
4 Dundee United 34 16 4 14 53 50 +3 52
5 St. Johnstone 35 15 7 13 32 33 −1 52
6 Dundee 35 11 11 13 45 52 −7 44
Updated to match(es) played on 2 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(Q) Qualified to the phase indicated.

{{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 34 16 8 10 46 36 +10 56 Qualification to Europa League first qualifying round
4 Dundee United 34 16 4 14 53 50 +3 52
5 St. Johnstone 35 15 7 13 32 33 −1 52
6 Dundee 35 11 11 13 45 52 −7 44
7 Hamilton Academical 35 14 7 14 47 50 −3 49
Updated to match(es) played on 2 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored

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

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
8 Partick Thistle 35 12 8 15 46 39 +7 44
9 Kilmarnock 35 10 8 17 38 53 −15 38
10 Ross County 35 10 8 17 41 59 −18 38
11 Motherwell 35 9 5 21 34 60 −26 32 Qualification to Scottish Premiership play-offs
12 St. Mirren 35 7 3 25 26 63 −37 24 Relegation to Scottish Championship
Updated to match(es) played on 2 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored