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=21 January 2015
+
|update=23 January 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= 15 |draw_ABE= 2 |loss_ABE= 5 |gf_ABE=36 |ga_ABE=20
+
|win_ABE= 15 |draw_ABE= 3 |loss_ABE= 5 |gf_ABE=37 |ga_ABE=21
 
|win_CEL= 15 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=42 |ga_CEL= 12
 
|win_CEL= 15 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=42 |ga_CEL= 12
 
|win_DND= 7 |draw_DND= 8 |loss_DND= 8 |gf_DND=34 |ga_DND=36
 
|win_DND= 7 |draw_DND= 8 |loss_DND= 8 |gf_DND=34 |ga_DND=36
Line 18: Line 18:
 
|win_PAR= 6 |draw_PAR= 6 |loss_PAR= 9 |gf_PAR=30 |ga_PAR=25
 
|win_PAR= 6 |draw_PAR= 6 |loss_PAR= 9 |gf_PAR=30 |ga_PAR=25
 
|win_ROS= 2 |draw_ROS= 5 |loss_ROS=14 |gf_ROS=20 |ga_ROS=43
 
|win_ROS= 2 |draw_ROS= 5 |loss_ROS=14 |gf_ROS=20 |ga_ROS=43
|win_STJ= 10 |draw_STJ= 2 |loss_STJ= 10 |gf_STJ=19 |ga_STJ=23
+
|win_STJ= 10 |draw_STJ= 3 |loss_STJ= 10 |gf_STJ=20 |ga_STJ=24
 
|win_STM= 4 |draw_STM= 3 |loss_STM=16 |gf_STM=18 |ga_STM=39
 
|win_STM= 4 |draw_STM= 3 |loss_STM=16 |gf_STM=18 |ga_STM=39
  

Revision as of 21:35, 23 January 2015

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Celtic 21 15 3 3 42 12 +30 48 Qualification to Champions League second qualifying round
2 Aberdeen 23 15 3 5 37 21 +16 48 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 22 14 2 6 32 21 +11 44
4 Dundee United 22 13 3 6 43 29 +14 42
5 Hamilton Academical 23 12 3 8 38 29 +9 39
6 St. Johnstone 23 10 3 10 20 24 −4 33
7 Dundee 23 7 8 8 34 36 −2 29
8 Kilmarnock 22 8 3 11 21 28 −7 27
9 Partick Thistle 21 6 6 9 30 25 +5 24
10 Motherwell 22 5 2 15 14 42 −28 17
11 St. Mirren 23 4 3 16 18 39 −21 15 Qualification to Scottish Premiership play-offs
12 Ross County 21 2 5 14 20 43 −23 11 Relegation to Scottish Championship
Updated to match(es) played on 23 January 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 21 15 3 3 42 12 +30 48 Qualification to Champions League second qualifying round
2 Aberdeen 23 15 3 5 37 21 +16 48 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 22 14 2 6 32 21 +11 44
4 Dundee United 22 13 3 6 43 29 +14 42
5 Hamilton Academical 23 12 3 8 38 29 +9 39
6 St. Johnstone 23 10 3 10 20 24 −4 33
7 Dundee 23 7 8 8 34 36 −2 29
8 Kilmarnock 22 8 3 11 21 28 −7 27
9 Partick Thistle 21 6 6 9 30 25 +5 24
10 Motherwell 22 5 2 15 14 42 −28 17
11 St. Mirren 23 4 3 16 18 39 −21 15 Qualification to Scottish Premiership play-offs
12 Ross County 21 2 5 14 20 43 −23 11 Relegation to Scottish Championship
Updated to match(es) played on 23 January 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 23 15 3 5 37 21 +16 48 Qualification to Europa League first qualifying round
3 Inverness Caledonian Thistle 22 14 2 6 32 21 +11 44
4 Dundee United 22 13 3 6 43 29 +14 42
5 Hamilton Academical 23 12 3 8 38 29 +9 39
6 St. Johnstone 23 10 3 10 20 24 −4 33
Updated to match(es) played on 23 January 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 22 13 3 6 43 29 +14 42
5 Hamilton Academical 23 12 3 8 38 29 +9 39
6 St. Johnstone 23 10 3 10 20 24 −4 33
7 Dundee 23 7 8 8 34 36 −2 29
8 Kilmarnock 22 8 3 11 21 28 −7 27
Updated to match(es) played on 23 January 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 22 8 3 11 21 28 −7 27
9 Partick Thistle 21 6 6 9 30 25 +5 24
10 Motherwell 22 5 2 15 14 42 −28 17
11 St. Mirren 23 4 3 16 18 39 −21 15 Qualification to Scottish Premiership play-offs
12 Ross County 21 2 5 14 20 43 −23 11 Relegation to Scottish Championship
Updated to match(es) played on 23 January 2015. Source: Scottish Premiership
Rules for classification: 1) points; 2) goal difference; 3) number of goals scored