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

Revision as of 17:17, 10 January 2015

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