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

From blackwiki
Jump to navigation Jump to search
blackwiki>Arbero
(Update.)
Line 2: Line 2:
 
|showteam={{{showteam}}}
 
|showteam={{{showteam}}}
 
|template_name=2014–15 Scottish Premiership table
 
|template_name=2014–15 Scottish Premiership table
|update=11 February 2015
+
|update=14 February 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= 16 |draw_ABE= 3 |loss_ABE= 5 |gf_ABE=41 |ga_ABE=21
 
|win_ABE= 16 |draw_ABE= 3 |loss_ABE= 5 |gf_ABE=41 |ga_ABE=21
|win_CEL= 17 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=46 |ga_CEL= 12
+
|win_CEL= 18 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=48 |ga_CEL= 13
 
|win_DND= 8 |draw_DND= 9 |loss_DND= 8 |gf_DND=37 |ga_DND=38
 
|win_DND= 8 |draw_DND= 9 |loss_DND= 8 |gf_DND=37 |ga_DND=38
 
|win_DUN=14 |draw_DUN= 3 |loss_DUN= 6 |gf_DUN=46 |ga_DUN=30
 
|win_DUN=14 |draw_DUN= 3 |loss_DUN= 6 |gf_DUN=46 |ga_DUN=30
Line 18: Line 18:
 
|win_PAR= 6 |draw_PAR= 7 |loss_PAR= 11 |gf_PAR=32 |ga_PAR=31
 
|win_PAR= 6 |draw_PAR= 7 |loss_PAR= 11 |gf_PAR=32 |ga_PAR=31
 
|win_ROS= 2 |draw_ROS= 6 |loss_ROS=16 |gf_ROS=21 |ga_ROS=49
 
|win_ROS= 2 |draw_ROS= 6 |loss_ROS=16 |gf_ROS=21 |ga_ROS=49
|win_STJ= 10 |draw_STJ= 4 |loss_STJ= 10 |gf_STJ=21 |ga_STJ=25
+
|win_STJ= 10 |draw_STJ= 4 |loss_STJ= 11 |gf_STJ=22 |ga_STJ=27
 
|win_STM= 5 |draw_STM= 3 |loss_STM=17 |gf_STM=20 |ga_STM=41
 
|win_STM= 5 |draw_STM= 3 |loss_STM=17 |gf_STM=20 |ga_STM=41
  

Revision as of 14:37, 14 February 2015

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 24 15 3 6 35 22 +13 48
4 Dundee United 23 14 3 6 46 30 +16 45
5 Hamilton Academical 26 12 5 9 39 32 +7 41
6 St. Johnstone 25 10 4 11 22 27 −5 34
7 Dundee 25 8 9 8 37 38 −1 33
8 Kilmarnock 24 8 5 11 23 30 −7 29
9 Partick Thistle 24 6 7 11 32 31 +1 25
10 St. Mirren 25 5 3 17 20 41 −21 18
11 Motherwell 24 5 3 16 16 46 −30 18 Qualification to Scottish Premiership play-offs
12 Ross County 24 2 6 16 21 49 −28 12 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 24 15 3 6 35 22 +13 48
4 Dundee United 23 14 3 6 46 30 +16 45
5 Hamilton Academical 26 12 5 9 39 32 +7 41
6 St. Johnstone 25 10 4 11 22 27 −5 34
7 Dundee 25 8 9 8 37 38 −1 33
8 Kilmarnock 24 8 5 11 23 30 −7 29
9 Partick Thistle 24 6 7 11 32 31 +1 25
10 St. Mirren 25 5 3 17 20 41 −21 18
11 Motherwell 24 5 3 16 16 46 −30 18 Qualification to Scottish Premiership play-offs
12 Ross County 24 2 6 16 21 49 −28 12 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 24 15 3 6 35 22 +13 48
4 Dundee United 23 14 3 6 46 30 +16 45
5 Hamilton Academical 26 12 5 9 39 32 +7 41
6 St. Johnstone 25 10 4 11 22 27 −5 34
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
4 Dundee United 23 14 3 6 46 30 +16 45
5 Hamilton Academical 26 12 5 9 39 32 +7 41
6 St. Johnstone 25 10 4 11 22 27 −5 34
7 Dundee 25 8 9 8 37 38 −1 33
8 Kilmarnock 24 8 5 11 23 30 −7 29
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 24 8 5 11 23 30 −7 29
9 Partick Thistle 24 6 7 11 32 31 +1 25
10 St. Mirren 25 5 3 17 20 41 −21 18
11 Motherwell 24 5 3 16 16 46 −30 18 Qualification to Scottish Premiership play-offs
12 Ross County 24 2 6 16 21 49 −28 12 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