Template:2014–15 Scottish Premiership table

From blackwiki
Revision as of 21:50, 5 January 2015 by blackwiki>Arbero (Update.)
Jump to navigation Jump to search
Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Aberdeen 20 14 1 5 31 17 +14 43 Qualification to Champions League second qualifying round
2 Celtic 19 13 3 3 36 12 +24 42 Qualification to Europa League first qualifying round
3 Hamilton Academical 20 12 3 5 36 19 +17 39
4 Dundee United 20 12 2 6 38 25 +13 38
5 Inverness Caledonian Thistle 20 12 2 6 28 20 +8 38
6 St. Johnstone 20 9 2 9 17 21 −4 29
7 Kilmarnock 20 8 3 9 20 25 −5 27
8 Dundee 20 5 7 8 26 32 −6 22
9 Partick Thistle 19 5 6 8 25 23 +2 21
10 Motherwell 20 5 2 13 13 34 −21 17
11 St. Mirren 20 3 2 15 15 35 −20 11 Qualification to Scottish Premiership play-offs
12 Ross County 20 2 5 13 19 41 −22 11 Relegation to Scottish Championship
Updated to match(es) played on 5 January 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 Aberdeen 20 14 1 5 31 17 +14 43 Qualification to Champions League second qualifying round
2 Celtic 19 13 3 3 36 12 +24 42 Qualification to Europa League first qualifying round
3 Hamilton Academical 20 12 3 5 36 19 +17 39
4 Dundee United 20 12 2 6 38 25 +13 38
5 Inverness Caledonian Thistle 20 12 2 6 28 20 +8 38
6 St. Johnstone 20 9 2 9 17 21 −4 29
7 Kilmarnock 20 8 3 9 20 25 −5 27
8 Dundee 20 5 7 8 26 32 −6 22
9 Partick Thistle 19 5 6 8 25 23 +2 21
10 Motherwell 20 5 2 13 13 34 −21 17
11 St. Mirren 20 3 2 15 15 35 −20 11 Qualification to Scottish Premiership play-offs
12 Ross County 20 2 5 13 19 41 −22 11 Relegation to Scottish Championship
Updated to match(es) played on 5 January 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 Celtic 19 13 3 3 36 12 +24 42 Qualification to Europa League first qualifying round
3 Hamilton Academical 20 12 3 5 36 19 +17 39
4 Dundee United 20 12 2 6 38 25 +13 38
5 Inverness Caledonian Thistle 20 12 2 6 28 20 +8 38
6 St. Johnstone 20 9 2 9 17 21 −4 29
Updated to match(es) played on 5 January 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 20 12 2 6 38 25 +13 38
5 Inverness Caledonian Thistle 20 12 2 6 28 20 +8 38
6 St. Johnstone 20 9 2 9 17 21 −4 29
7 Kilmarnock 20 8 3 9 20 25 −5 27
8 Dundee 20 5 7 8 26 32 −6 22
Updated to match(es) played on 5 January 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 Dundee 20 5 7 8 26 32 −6 22
9 Partick Thistle 19 5 6 8 25 23 +2 21
10 Motherwell 20 5 2 13 13 34 −21 17
11 St. Mirren 20 3 2 15 15 35 −20 11 Qualification to Scottish Premiership play-offs
12 Ross County 20 2 5 13 19 41 −22 11 Relegation to Scottish Championship
Updated to match(es) played on 5 January 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored