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=20 December 2014
+
|update=21 December 2014
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
 
|source=[http://spfl.co.uk/premiership/table/ Scottish Premiership]
  
|team1=CEL |team2=ABE |team3=HAM |team4=INV |team5=DUN |team6=STJ |team7=DND |team8=KIL |team9=PAR |team10=MOT |team11=ROS |team12=STM
+
|team1=CEL |team2=DUN |team3=ABE |team4=HAM |team5=INV |team6=STJ |team7=DND |team8=KIL |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= 11 |draw_ABE= 1 |loss_ABE= 5 |gf_ABE=26 |ga_ABE=17
 
|win_ABE= 11 |draw_ABE= 1 |loss_ABE= 5 |gf_ABE=26 |ga_ABE=17
|win_CEL= 12 |draw_CEL= 2 |loss_CEL= 2 |gf_CEL=33 |ga_CEL= 10
+
|win_CEL= 12 |draw_CEL= 2 |loss_CEL= 3 |gf_CEL=34 |ga_CEL= 12
 
|win_DND= 5 |draw_DND= 6 |loss_DND= 6 |gf_DND=22 |ga_DND=22
 
|win_DND= 5 |draw_DND= 6 |loss_DND= 6 |gf_DND=22 |ga_DND=22
|win_DUN=10 |draw_DUN= 1 |loss_DUN= 5 |gf_DUN=28 |ga_DUN=19
+
|win_DUN=11 |draw_DUN= 1 |loss_DUN= 5 |gf_DUN=30 |ga_DUN=20
 
|win_HAM= 10 |draw_HAM= 3 |loss_HAM= 4 |gf_HAM=30 |ga_HAM=18
 
|win_HAM= 10 |draw_HAM= 3 |loss_HAM= 4 |gf_HAM=30 |ga_HAM=18
 
|win_INV=10 |draw_INV= 2 |loss_INV= 5 |gf_INV=24 |ga_INV=18
 
|win_INV=10 |draw_INV= 2 |loss_INV= 5 |gf_INV=24 |ga_INV=18

Revision as of 14:09, 21 December 2014

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