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

From blackwiki
Jump to navigation Jump to search
blackwiki>Lbarnett-bl
Line 2: Line 2:
 
|showteam={{{showteam}}}
 
|showteam={{{showteam}}}
 
|template_name=2014–15 Scottish Premiership table
 
|template_name=2014–15 Scottish Premiership table
|update=15 February 2015
+
|update=21 February 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=DUN |team5=HAM |team6=DND |team7=STJ |team8=KIL |team9=PAR |team10=STM |team11=MOT |team12=ROS
+
|team1=CEL |team2=ABE |team3=INV |team4=DUN |team5=HAM |team6=DND |team7=STJ |team8=KIL |team9=PAR |team10=ROS |team11=STM |team12=MOT
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
  
|win_ABE= 17 |draw_ABE= 3 |loss_ABE= 5 |gf_ABE=44 |ga_ABE=21
+
|win_ABE= 18 |draw_ABE= 3 |loss_ABE= 5 |gf_ABE=47 |ga_ABE=21
 
|win_CEL= 18 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=48 |ga_CEL= 13
 
|win_CEL= 18 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=48 |ga_CEL= 13
|win_DND= 9 |draw_DND= 9 |loss_DND= 8 |gf_DND=38 |ga_DND=38
+
|win_DND= 10 |draw_DND= 9 |loss_DND= 8 |gf_DND=39 |ga_DND=38
|win_DUN=14 |draw_DUN= 3 |loss_DUN= 7 |gf_DUN=48 |ga_DUN=33
+
|win_DUN=14 |draw_DUN= 3 |loss_DUN= 8 |gf_DUN=48 |ga_DUN=35
 
|win_HAM= 12 |draw_HAM= 5 |loss_HAM= 10 |gf_HAM=39 |ga_HAM=35
 
|win_HAM= 12 |draw_HAM= 5 |loss_HAM= 10 |gf_HAM=39 |ga_HAM=35
|win_INV=16 |draw_INV= 3 |loss_INV= 6 |gf_INV=37 |ga_INV=23
+
|win_INV=16 |draw_INV= 4 |loss_INV= 6 |gf_INV=40 |ga_INV=26
|win_KIL= 9 |draw_KIL= 5 |loss_KIL= 11 |gf_KIL=26 |ga_KIL=32
+
|win_KIL= 9 |draw_KIL= 6 |loss_KIL= 11 |gf_KIL=29 |ga_KIL=35
|win_MOT= 5 |draw_MOT= 3 |loss_MOT=17 |gf_MOT=18 |ga_MOT=49
+
|win_MOT= 5 |draw_MOT= 3 |loss_MOT=18 |gf_MOT=18 |ga_MOT=50
|win_PAR= 6 |draw_PAR= 7 |loss_PAR= 12 |gf_PAR=32 |ga_PAR=32
+
|win_PAR= 6 |draw_PAR= 7 |loss_PAR= 13 |gf_PAR=33 |ga_PAR=35
|win_ROS= 3 |draw_ROS= 6 |loss_ROS=16 |gf_ROS=24 |ga_ROS=51
+
|win_ROS= 4 |draw_ROS= 6 |loss_ROS=16 |gf_ROS=27 |ga_ROS=52
|win_STJ= 10 |draw_STJ= 4 |loss_STJ= 11 |gf_STJ=22 |ga_STJ=27
+
|win_STJ= 11 |draw_STJ= 4 |loss_STJ= 11 |gf_STJ=24 |ga_STJ=27
|win_STM= 5 |draw_STM= 3 |loss_STM=18 |gf_STM=21 |ga_STM=43
+
|win_STM= 5 |draw_STM= 3 |loss_STM=19 |gf_STM=21 |ga_STM=46
  
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]

Revision as of 17:20, 21 February 2015

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic 24 18 3 3 48 13 +35 57 Qualification to Champions League second qualifying round
2 Aberdeen 26 18 3 5 47 21 +26 57 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 26 16 4 6 40 26 +14 52
4 Dundee United 25 14 3 8 48 35 +13 45
5 Hamilton Academical 27 12 5 10 39 35 +4 41
6 Dundee 27 10 9 8 39 38 +1 39
7 St. Johnstone 26 11 4 11 24 27 −3 37
8 Kilmarnock 26 9 6 11 29 35 −6 33
9 Partick Thistle 26 6 7 13 33 35 −2 25
10 Ross County 26 4 6 16 27 52 −25 18
11 St. Mirren 27 5 3 19 21 46 −25 18 Qualification to Scottish Premiership play-offs
12 Motherwell 26 5 3 18 18 50 −32 18 Relegation to Scottish Championship
Updated to match(es) played on 21 February 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
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 24 18 3 3 48 13 +35 57 Qualification to Champions League second qualifying round
2 Aberdeen 26 18 3 5 47 21 +26 57 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 26 16 4 6 40 26 +14 52
4 Dundee United 25 14 3 8 48 35 +13 45
5 Hamilton Academical 27 12 5 10 39 35 +4 41
6 Dundee 27 10 9 8 39 38 +1 39
7 St. Johnstone 26 11 4 11 24 27 −3 37
8 Kilmarnock 26 9 6 11 29 35 −6 33
9 Partick Thistle 26 6 7 13 33 35 −2 25
10 Ross County 26 4 6 16 27 52 −25 18
11 St. Mirren 27 5 3 19 21 46 −25 18 Qualification to Scottish Premiership play-offs
12 Motherwell 26 5 3 18 18 50 −32 18 Relegation to Scottish Championship
Updated to match(es) played on 21 February 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored

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

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
2 Aberdeen 26 18 3 5 47 21 +26 57 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 26 16 4 6 40 26 +14 52
4 Dundee United 25 14 3 8 48 35 +13 45
5 Hamilton Academical 27 12 5 10 39 35 +4 41
6 Dundee 27 10 9 8 39 38 +1 39
Updated to match(es) played on 21 February 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored

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

Pos Team Pld W D L GF GA GD Pts
5 Hamilton Academical 27 12 5 10 39 35 +4 41
6 Dundee 27 10 9 8 39 38 +1 39
7 St. Johnstone 26 11 4 11 24 27 −3 37
8 Kilmarnock 26 9 6 11 29 35 −6 33
9 Partick Thistle 26 6 7 13 33 35 −2 25
Updated to match(es) played on 21 February 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 Kilmarnock 26 9 6 11 29 35 −6 33
9 Partick Thistle 26 6 7 13 33 35 −2 25
10 Ross County 26 4 6 16 27 52 −25 18
11 St. Mirren 27 5 3 19 21 46 −25 18 Qualification to Scottish Premiership play-offs
12 Motherwell 26 5 3 18 18 50 −32 18 Relegation to Scottish Championship
Updated to match(es) played on 21 February 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored