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=DUN |team3=ABE |team4=HAM |team5=INV |team6=STJ |team7=KIL |team8=DND |team9=PAR |team10=MOT |team11=STM |team12=ROS
+
|team1=ABE |team2=CEL |team3=DUN |team4=HAM |team5=INV |team6=STJ |team7=KIL |team8=DND |team9=PAR |team10=MOT |team11=STM |team12=ROS
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
 
|result1=CL1 |result2=EL |result3=EL |result11=RPO |result12=rel
  
|win_ABE= 12 |draw_ABE= 1 |loss_ABE= 5 |gf_ABE=27 |ga_ABE=17
+
|win_ABE= 13 |draw_ABE= 1 |loss_ABE= 5 |gf_ABE=29 |ga_ABE=17
 
|win_CEL= 12 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=34 |ga_CEL= 12
 
|win_CEL= 12 |draw_CEL= 3 |loss_CEL= 3  |gf_CEL=34 |ga_CEL= 12
 
|win_DND= 5 |draw_DND= 6 |loss_DND= 8 |gf_DND=25 |ga_DND=31
 
|win_DND= 5 |draw_DND= 6 |loss_DND= 8 |gf_DND=25 |ga_DND=31
 
|win_DUN=12 |draw_DUN= 1 |loss_DUN= 6 |gf_DUN=37 |ga_DUN=24
 
|win_DUN=12 |draw_DUN= 1 |loss_DUN= 6 |gf_DUN=37 |ga_DUN=24
|win_HAM= 10 |draw_HAM= 3 |loss_HAM= 5 |gf_HAM=30 |ga_HAM=19
+
|win_HAM= 11 |draw_HAM= 3 |loss_HAM= 5 |gf_HAM=35 |ga_HAM=19
|win_INV=10 |draw_INV= 2 |loss_INV= 6 |gf_INV=24 |ga_INV=19
+
|win_INV=11 |draw_INV= 2 |loss_INV= 6 |gf_INV=27 |ga_INV=20
|win_KIL= 7 |draw_KIL= 3 |loss_KIL= 8 |gf_KIL=18 |ga_KIL=22
+
|win_KIL= 8 |draw_KIL= 3 |loss_KIL= 8 |gf_KIL=20 |ga_KIL=23
|win_MOT= 5 |draw_MOT= 2 |loss_MOT=11 |gf_MOT= 13 |ga_MOT=27
+
|win_MOT= 5 |draw_MOT= 2 |loss_MOT=12 |gf_MOT= 13 |ga_MOT=32
 
|win_PAR= 5 |draw_PAR= 5 |loss_PAR= 8 |gf_PAR=23 |ga_PAR=21
 
|win_PAR= 5 |draw_PAR= 5 |loss_PAR= 8 |gf_PAR=23 |ga_PAR=21
|win_ROS= 2 |draw_ROS= 4 |loss_ROS=12 |gf_ROS=17 |ga_ROS=37
+
|win_ROS= 2 |draw_ROS= 4 |loss_ROS=13 |gf_ROS=18 |ga_ROS=40
|win_STJ= 9 |draw_STJ= 2 |loss_STJ= 7 |gf_STJ=17 |ga_STJ=18
+
|win_STJ= 9 |draw_STJ= 2 |loss_STJ= 8 |gf_STJ=17 |ga_STJ=20
|win_STM= 3 |draw_STM= 2 |loss_STM=13 |gf_STM=14 |ga_STM=32
+
|win_STM= 3 |draw_STM= 2 |loss_STM=14 |gf_STM=15 |ga_STM=34
  
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]
 
|name_ABE=[[Aberdeen F.C.|Aberdeen]]

Revision as of 16:58, 1 January 2015

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