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

From blackwiki
Jump to navigation Jump to search
blackwiki>Equineducklings
m
Line 2: Line 2:
 
|showteam={{{showteam}}}
 
|showteam={{{showteam}}}
 
|template_name=2014–15 Scottish Premiership table
 
|template_name=2014–15 Scottish Premiership table
|update=26 April 2015
+
|update=1 May 2015
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
  
Line 9: Line 9:
  
 
|win_ABE= 23 |draw_ABE= 5 |loss_ABE= 6 |gf_ABE=56 |ga_ABE=29
 
|win_ABE= 23 |draw_ABE= 5 |loss_ABE= 6 |gf_ABE=56 |ga_ABE=29
|win_CEL= 26 |draw_CEL= 4 |loss_CEL= 4  |gf_CEL=73 |ga_CEL= 17
+
|win_CEL= 27 |draw_CEL= 4 |loss_CEL= 4  |gf_CEL=78 |ga_CEL= 17
|win_DND= 11 |draw_DND= 11 |loss_DND= 12 |gf_DND=45 |ga_DND=47
+
|win_DND= 11 |draw_DND= 11 |loss_DND= 13 |gf_DND=45 |ga_DND=52
 
|win_DUN=15 |draw_DUN= 4 |loss_DUN= 14 |gf_DUN=52 |ga_DUN=50
 
|win_DUN=15 |draw_DUN= 4 |loss_DUN= 14 |gf_DUN=52 |ga_DUN=50
 
|win_HAM= 13 |draw_HAM= 7 |loss_HAM= 14 |gf_HAM=44 |ga_HAM=48
 
|win_HAM= 13 |draw_HAM= 7 |loss_HAM= 14 |gf_HAM=44 |ga_HAM=48

Revision as of 20:33, 1 May 2015

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic (X) 35 27 4 4 78 17 +61 85 Qualification to Champions League second qualifying round
2 Aberdeen (X) 34 23 5 6 56 29 +27 74 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 33 16 7 10 45 35 +10 55
4 St. Johnstone 34 15 6 13 31 32 −1 51
5 Dundee United 33 15 4 14 52 50 +2 49
6 Dundee 35 11 11 13 45 52 −7 44
7 Hamilton Academical 34 13 7 14 44 48 −4 46
8 Partick Thistle 34 11 8 15 43 39 +4 41
9 Kilmarnock 34 10 8 16 36 50 −14 38
10 Ross County 34 10 7 17 40 58 −18 37
11 Motherwell 34 9 4 21 33 59 −26 31 Qualification to Scottish Premiership play-offs
12 St. Mirren 34 7 3 24 26 60 −34 24 Relegation to Scottish Championship
Updated to match(es) played on 1 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(X) Team is assured of at least Europa League, but can still qualify for Champions League.
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 (X) 35 27 4 4 78 17 +61 85 Qualification to Champions League second qualifying round
2 Aberdeen (X) 34 23 5 6 56 29 +27 74 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 33 16 7 10 45 35 +10 55
4 St. Johnstone 34 15 6 13 31 32 −1 51
5 Dundee United 33 15 4 14 52 50 +2 49
6 Dundee 35 11 11 13 45 52 −7 44
7 Hamilton Academical 34 13 7 14 44 48 −4 46
8 Partick Thistle 34 11 8 15 43 39 +4 41
9 Kilmarnock 34 10 8 16 36 50 −14 38
10 Ross County 34 10 7 17 40 58 −18 37
11 Motherwell 34 9 4 21 33 59 −26 31 Qualification to Scottish Premiership play-offs
12 St. Mirren 34 7 3 24 26 60 −34 24 Relegation to Scottish Championship
Updated to match(es) played on 1 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(X) Team is assured of at least Europa League, but can still qualify for Champions League.

{{2014–15 Scottish Premiership table|showteam=DUN}} produces -

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
3 Inverness Caledonian Thistle 33 16 7 10 45 35 +10 55 Qualification to Europa League first qualifying round
4 St. Johnstone 34 15 6 13 31 32 −1 51
5 Dundee United 33 15 4 14 52 50 +2 49
6 Dundee 35 11 11 13 45 52 −7 44
7 Hamilton Academical 34 13 7 14 44 48 −4 46
Updated to match(es) played on 1 May 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
2 Aberdeen (X) 34 23 5 6 56 29 +27 74 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 33 16 7 10 45 35 +10 55
4 St. Johnstone 34 15 6 13 31 32 −1 51
5 Dundee United 33 15 4 14 52 50 +2 49
6 Dundee 35 11 11 13 45 52 −7 44
Updated to match(es) played on 1 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored
(X) Team is assured of at least Europa League, but can still qualify for Champions League.

{{2014–15 Scottish Premiership table|showteam=MOT}} produces -

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
8 Partick Thistle 34 11 8 15 43 39 +4 41
9 Kilmarnock 34 10 8 16 36 50 −14 38
10 Ross County 34 10 7 17 40 58 −18 37
11 Motherwell 34 9 4 21 33 59 −26 31 Qualification to Scottish Premiership play-offs
12 St. Mirren 34 7 3 24 26 60 −34 24 Relegation to Scottish Championship
Updated to match(es) played on 1 May 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored