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

From blackwiki
Jump to navigation Jump to search
blackwiki>Pktlaurence
Line 2: Line 2:
 
|showteam={{{showteam}}}
 
|showteam={{{showteam}}}
 
|template_name=2014–15 Scottish Premiership table
 
|template_name=2014–15 Scottish Premiership table
|update=13 March 2015
+
|update=14 March 2015
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
  
Line 12: Line 12:
 
|win_DND= 10 |draw_DND= 9 |loss_DND= 9 |gf_DND=39 |ga_DND=39
 
|win_DND= 10 |draw_DND= 9 |loss_DND= 9 |gf_DND=39 |ga_DND=39
 
|win_DUN=14 |draw_DUN= 4 |loss_DUN= 9 |gf_DUN=49 |ga_DUN=38
 
|win_DUN=14 |draw_DUN= 4 |loss_DUN= 9 |gf_DUN=49 |ga_DUN=38
|win_HAM= 12 |draw_HAM= 5 |loss_HAM= 12 |gf_HAM=39 |ga_HAM=40
+
|win_HAM= 12 |draw_HAM= 6 |loss_HAM= 12 |gf_HAM=41 |ga_HAM=42
 
|win_INV=16 |draw_INV= 5 |loss_INV= 7 |gf_INV=42 |ga_INV=29
 
|win_INV=16 |draw_INV= 5 |loss_INV= 7 |gf_INV=42 |ga_INV=29
|win_KIL= 9 |draw_KIL= 8 |loss_KIL= 11 |gf_KIL=30 |ga_KIL=36
+
|win_KIL= 10 |draw_KIL= 8 |loss_KIL= 11 |gf_KIL=31 |ga_KIL=36
 
|win_MOT= 6 |draw_MOT= 4 |loss_MOT=19 |gf_MOT=22 |ga_MOT=54
 
|win_MOT= 6 |draw_MOT= 4 |loss_MOT=19 |gf_MOT=22 |ga_MOT=54
|win_PAR= 7 |draw_PAR= 7 |loss_PAR= 14 |gf_PAR=35 |ga_PAR=36
+
|win_PAR= 8 |draw_PAR= 7 |loss_PAR= 14 |gf_PAR=38 |ga_PAR=36
|win_ROS= 6 |draw_ROS= 6 |loss_ROS=16 |gf_ROS=29 |ga_ROS=52
+
|win_ROS= 6 |draw_ROS= 7 |loss_ROS=16 |gf_ROS=31 |ga_ROS=54
|win_STJ= 12 |draw_STJ= 5 |loss_STJ= 11 |gf_STJ=25 |ga_STJ=27
+
|win_STJ= 12 |draw_STJ= 5 |loss_STJ= 12 |gf_STJ=25 |ga_STJ=30
|win_STM= 6 |draw_STM= 3 |loss_STM=19 |gf_STM=22 |ga_STM=46
+
|win_STM= 6 |draw_STM= 3 |loss_STM=20 |gf_STM=22 |ga_STM=47
  
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]

Revision as of 20:36, 14 March 2015

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic 27 20 3 4 56 14 +42 63 Qualification to Champions League second qualifying round
2 Aberdeen 28 19 3 6 49 26 +23 60 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 28 16 5 7 42 29 +13 53
4 Dundee United 27 14 4 9 49 38 +11 46
5 Hamilton Academical 30 12 6 12 41 42 −1 42
6 St. Johnstone 29 12 5 12 25 30 −5 41
7 Dundee 28 10 9 9 39 39 0 39
8 Kilmarnock 29 10 8 11 31 36 −5 38
9 Partick Thistle 29 8 7 14 38 36 +2 31
10 Ross County 29 6 7 16 31 54 −23 25
11 Motherwell 29 6 4 19 22 54 −32 22 Qualification to Scottish Premiership play-offs
12 St. Mirren 29 6 3 20 22 47 −25 21 Relegation to Scottish Championship
Updated to match(es) played on 14 March 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 27 20 3 4 56 14 +42 63 Qualification to Champions League second qualifying round
2 Aberdeen 28 19 3 6 49 26 +23 60 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 28 16 5 7 42 29 +13 53
4 Dundee United 27 14 4 9 49 38 +11 46
5 Hamilton Academical 30 12 6 12 41 42 −1 42
6 St. Johnstone 29 12 5 12 25 30 −5 41
7 Dundee 28 10 9 9 39 39 0 39
8 Kilmarnock 29 10 8 11 31 36 −5 38
9 Partick Thistle 29 8 7 14 38 36 +2 31
10 Ross County 29 6 7 16 31 54 −23 25
11 Motherwell 29 6 4 19 22 54 −32 22 Qualification to Scottish Premiership play-offs
12 St. Mirren 29 6 3 20 22 47 −25 21 Relegation to Scottish Championship
Updated to match(es) played on 14 March 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 28 19 3 6 49 26 +23 60 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 28 16 5 7 42 29 +13 53
4 Dundee United 27 14 4 9 49 38 +11 46
5 Hamilton Academical 30 12 6 12 41 42 −1 42
6 St. Johnstone 29 12 5 12 25 30 −5 41
Updated to match(es) played on 14 March 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
4 Dundee United 27 14 4 9 49 38 +11 46
5 Hamilton Academical 30 12 6 12 41 42 −1 42
6 St. Johnstone 29 12 5 12 25 30 −5 41
7 Dundee 28 10 9 9 39 39 0 39
8 Kilmarnock 29 10 8 11 31 36 −5 38
Updated to match(es) played on 14 March 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 29 10 8 11 31 36 −5 38
9 Partick Thistle 29 8 7 14 38 36 +2 31
10 Ross County 29 6 7 16 31 54 −23 25
11 Motherwell 29 6 4 19 22 54 −32 22 Qualification to Scottish Premiership play-offs
12 St. Mirren 29 6 3 20 22 47 −25 21 Relegation to Scottish Championship
Updated to match(es) played on 14 March 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored