Template:2014–15 Scottish Premiership table

From blackwiki
Revision as of 17:45, 14 February 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 24 18 3 3 48 13 +35 57 Qualification to Champions League second qualifying round
2 Aberdeen 24 16 3 5 41 21 +20 51 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 25 16 3 6 37 23 +14 51
4 Dundee United 24 14 3 7 48 33 +15 45
5 Hamilton Academical 26 12 5 9 39 32 +7 41
6 Dundee 26 9 9 8 38 38 0 36
7 St. Johnstone 25 10 4 11 22 27 −5 34
8 Kilmarnock 25 9 5 11 26 32 −6 32
9 Partick Thistle 25 6 7 12 32 32 0 25
10 St. Mirren 26 5 3 18 21 43 −22 18
11 Motherwell 25 5 3 17 18 49 −31 18 Qualification to Scottish Premiership play-offs
12 Ross County 25 3 6 16 24 51 −27 15 Relegation to Scottish Championship
Updated to match(es) played on 14 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 24 16 3 5 41 21 +20 51 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 25 16 3 6 37 23 +14 51
4 Dundee United 24 14 3 7 48 33 +15 45
5 Hamilton Academical 26 12 5 9 39 32 +7 41
6 Dundee 26 9 9 8 38 38 0 36
7 St. Johnstone 25 10 4 11 22 27 −5 34
8 Kilmarnock 25 9 5 11 26 32 −6 32
9 Partick Thistle 25 6 7 12 32 32 0 25
10 St. Mirren 26 5 3 18 21 43 −22 18
11 Motherwell 25 5 3 17 18 49 −31 18 Qualification to Scottish Premiership play-offs
12 Ross County 25 3 6 16 24 51 −27 15 Relegation to Scottish Championship
Updated to match(es) played on 14 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 24 16 3 5 41 21 +20 51 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 25 16 3 6 37 23 +14 51
4 Dundee United 24 14 3 7 48 33 +15 45
5 Hamilton Academical 26 12 5 9 39 32 +7 41
6 Dundee 26 9 9 8 38 38 0 36
Updated to match(es) played on 14 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 26 12 5 9 39 32 +7 41
6 Dundee 26 9 9 8 38 38 0 36
7 St. Johnstone 25 10 4 11 22 27 −5 34
8 Kilmarnock 25 9 5 11 26 32 −6 32
9 Partick Thistle 25 6 7 12 32 32 0 25
Updated to match(es) played on 14 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 25 9 5 11 26 32 −6 32
9 Partick Thistle 25 6 7 12 32 32 0 25
10 St. Mirren 26 5 3 18 21 43 −22 18
11 Motherwell 25 5 3 17 18 49 −31 18 Qualification to Scottish Premiership play-offs
12 Ross County 25 3 6 16 24 51 −27 15 Relegation to Scottish Championship
Updated to match(es) played on 14 February 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored