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

From blackwiki
Jump to navigation Jump to search
Line 2: Line 2:
 
|showteam={{{showteam}}}
 
|showteam={{{showteam}}}
 
|template_name=2014–15 Scottish Premiership table
 
|template_name=2014–15 Scottish Premiership table
|update=28 February 2015
+
|update=1 March 2015
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
  
Line 8: Line 8:
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
  
|win_ABE= 18 |draw_ABE= 3 |loss_ABE= 5 |gf_ABE=47 |ga_ABE=21
+
|win_ABE= 18 |draw_ABE= 3 |loss_ABE= 6 |gf_ABE=47 |ga_ABE=25
|win_CEL= 19 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=52 |ga_CEL= 13
+
|win_CEL= 20 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=56 |ga_CEL= 13
 
|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

Revision as of 13:53, 1 March 2015

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