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=13 April 2015
+
|update=15 April 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= 21 |draw_ABE= 5 |loss_ABE= 6 |gf_ABE=53 |ga_ABE=28
 
|win_ABE= 21 |draw_ABE= 5 |loss_ABE= 6 |gf_ABE=53 |ga_ABE=28
|win_CEL= 23 |draw_CEL= 4 |loss_CEL= 4  |gf_CEL=64 |ga_CEL= 15
+
|win_CEL= 24 |draw_CEL= 4 |loss_CEL= 4  |gf_CEL=68 |ga_CEL= 16
 
|win_DND= 11 |draw_DND= 11 |loss_DND= 10 |gf_DND=44 |ga_DND=43
 
|win_DND= 11 |draw_DND= 11 |loss_DND= 10 |gf_DND=44 |ga_DND=43
 
|win_DUN=15 |draw_DUN= 4 |loss_DUN= 12 |gf_DUN=52 |ga_DUN=46
 
|win_DUN=15 |draw_DUN= 4 |loss_DUN= 12 |gf_DUN=52 |ga_DUN=46
 
|win_HAM= 12 |draw_HAM= 7 |loss_HAM= 14 |gf_HAM=42 |ga_HAM=48
 
|win_HAM= 12 |draw_HAM= 7 |loss_HAM= 14 |gf_HAM=42 |ga_HAM=48
 
|win_INV=16 |draw_INV= 7 |loss_INV= 9 |gf_INV=44 |ga_INV=33
 
|win_INV=16 |draw_INV= 7 |loss_INV= 9 |gf_INV=44 |ga_INV=33
|win_KIL= 10 |draw_KIL= 8 |loss_KIL= 14 |gf_KIL=34 |ga_KIL=42
+
|win_KIL= 10 |draw_KIL= 8 |loss_KIL= 15 |gf_KIL=35 |ga_KIL=46
 
|win_MOT= 9 |draw_MOT= 4 |loss_MOT=20 |gf_MOT=33 |ga_MOT=57
 
|win_MOT= 9 |draw_MOT= 4 |loss_MOT=20 |gf_MOT=33 |ga_MOT=57
 
|win_PAR= 10 |draw_PAR= 8 |loss_PAR= 15 |gf_PAR=41 |ga_PAR=38
 
|win_PAR= 10 |draw_PAR= 8 |loss_PAR= 15 |gf_PAR=41 |ga_PAR=38

Revision as of 20:40, 15 April 2015

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