Template:2014–15 Scottish Premiership table

From blackwiki
Revision as of 18:11, 4 April 2015 by 77.99.114.76 (talk)
Jump to navigation Jump to search
Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic 29 22 3 4 61 14 +47 69 Qualification to Champions League second qualifying round
2 Aberdeen 30 19 5 6 50 27 +23 62 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 30 16 6 8 43 31 +12 54
4 Dundee United 29 14 4 11 50 43 +7 46
5 St. Johnstone 31 13 6 12 28 31 −3 45
6 Hamilton Academical 32 12 7 13 42 47 −5 43
7 Dundee 30 10 11 9 41 41 0 41
8 Kilmarnock 31 10 8 13 33 40 −7 38
9 Partick Thistle 31 9 8 14 39 36 +3 35
10 Ross County 31 8 7 16 35 56 −21 31
11 Motherwell 31 8 4 19 28 55 −27 28 Qualification to Scottish Premiership play-offs
12 St. Mirren 31 6 3 22 22 51 −29 21 Relegation to Scottish Championship
Updated to match(es) played on 4 April 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 29 22 3 4 61 14 +47 69 Qualification to Champions League second qualifying round
2 Aberdeen 30 19 5 6 50 27 +23 62 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 30 16 6 8 43 31 +12 54
4 Dundee United 29 14 4 11 50 43 +7 46
5 St. Johnstone 31 13 6 12 28 31 −3 45
6 Hamilton Academical 32 12 7 13 42 47 −5 43
7 Dundee 30 10 11 9 41 41 0 41
8 Kilmarnock 31 10 8 13 33 40 −7 38
9 Partick Thistle 31 9 8 14 39 36 +3 35
10 Ross County 31 8 7 16 35 56 −21 31
11 Motherwell 31 8 4 19 28 55 −27 28 Qualification to Scottish Premiership play-offs
12 St. Mirren 31 6 3 22 22 51 −29 21 Relegation to Scottish Championship
Updated to match(es) played on 4 April 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 30 19 5 6 50 27 +23 62 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 30 16 6 8 43 31 +12 54
4 Dundee United 29 14 4 11 50 43 +7 46
5 St. Johnstone 31 13 6 12 28 31 −3 45
6 Hamilton Academical 32 12 7 13 42 47 −5 43
Updated to match(es) played on 4 April 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 Qualification or relegation
3 Inverness Caledonian Thistle 30 16 6 8 43 31 +12 54 Qualification to Europa League first qualifying round
4 Dundee United 29 14 4 11 50 43 +7 46
5 St. Johnstone 31 13 6 12 28 31 −3 45
6 Hamilton Academical 32 12 7 13 42 47 −5 43
7 Dundee 30 10 11 9 41 41 0 41
Updated to match(es) played on 4 April 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 31 10 8 13 33 40 −7 38
9 Partick Thistle 31 9 8 14 39 36 +3 35
10 Ross County 31 8 7 16 35 56 −21 31
11 Motherwell 31 8 4 19 28 55 −27 28 Qualification to Scottish Premiership play-offs
12 St. Mirren 31 6 3 22 22 51 −29 21 Relegation to Scottish Championship
Updated to match(es) played on 4 April 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored