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

From blackwiki
Jump to navigation Jump to search
Line 5: Line 5:
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
  
|team1=CEL |team2=ABE |team3=INV |team4=DUN |team5=HAM |team6=STJ |team7=DND |team8=KIL |team9=PAR |team10=ROS |team11=MOT |team12=STM
+
|team1=CEL |team2=ABE |team3=INV |team4=DUN |team5=STJ |team6=HAM |team7=DND |team8=KIL |team9=PAR |team10=ROS |team11=MOT |team12=STM
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
  
 
|win_ABE= 19 |draw_ABE= 4 |loss_ABE= 6 |gf_ABE=50 |ga_ABE=27
 
|win_ABE= 19 |draw_ABE= 4 |loss_ABE= 6 |gf_ABE=50 |ga_ABE=27
|win_CEL= 20 |draw_CEL= 3 |loss_CEL= 4  |gf_CEL=56 |ga_CEL= 14
+
|win_CEL= 21 |draw_CEL= 3 |loss_CEL= 4  |gf_CEL=59 |ga_CEL= 14
 
|win_DND= 10 |draw_DND= 10 |loss_DND= 9 |gf_DND=40 |ga_DND=40
 
|win_DND= 10 |draw_DND= 10 |loss_DND= 9 |gf_DND=40 |ga_DND=40
|win_DUN=14 |draw_DUN= 4 |loss_DUN= 9 |gf_DUN=49 |ga_DUN=38
+
|win_DUN=14 |draw_DUN= 4 |loss_DUN= 10 |gf_DUN=49 |ga_DUN=41
 
|win_HAM= 12 |draw_HAM= 6 |loss_HAM= 13 |gf_HAM=41 |ga_HAM=46
 
|win_HAM= 12 |draw_HAM= 6 |loss_HAM= 13 |gf_HAM=41 |ga_HAM=46
|win_INV=16 |draw_INV= 5 |loss_INV= 7 |gf_INV=42 |ga_INV=29
+
|win_INV=16 |draw_INV= 5 |loss_INV= 8 |gf_INV=42 |ga_INV=30
|win_KIL= 10 |draw_KIL= 8 |loss_KIL= 11 |gf_KIL=31 |ga_KIL=36
+
|win_KIL= 10 |draw_KIL= 8 |loss_KIL= 12 |gf_KIL=32 |ga_KIL=38
 
|win_MOT= 7 |draw_MOT= 4 |loss_MOT=19 |gf_MOT=26 |ga_MOT=54
 
|win_MOT= 7 |draw_MOT= 4 |loss_MOT=19 |gf_MOT=26 |ga_MOT=54
|win_PAR= 8 |draw_PAR= 7 |loss_PAR= 14 |gf_PAR=38 |ga_PAR=36
+
|win_PAR= 9 |draw_PAR= 7 |loss_PAR= 14 |gf_PAR=39 |ga_PAR=36
|win_ROS= 6 |draw_ROS= 7 |loss_ROS=16 |gf_ROS=31 |ga_ROS=54
+
|win_ROS= 7 |draw_ROS= 7 |loss_ROS=16 |gf_ROS=33 |ga_ROS=55
|win_STJ= 12 |draw_STJ= 5 |loss_STJ= 12 |gf_STJ=25 |ga_STJ=30
+
|win_STJ= 13 |draw_STJ= 5 |loss_STJ= 12 |gf_STJ=27 |ga_STJ=30
|win_STM= 6 |draw_STM= 3 |loss_STM=20 |gf_STM=22 |ga_STM=47
+
|win_STM= 6 |draw_STM= 3 |loss_STM=21 |gf_STM=22 |ga_STM=49
  
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]

Revision as of 20:07, 21 March 2015

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