Difference between revisions of "Template:2016–17 La Liga table"

From blackwiki
Jump to navigation Jump to search
blackwiki>Fungusandfurball
Line 11: Line 11:
  
 
<!--Update team results here and then (if needed) positions above. Don't forget to update the date (update parameter)-->
 
<!--Update team results here and then (if needed) positions above. Don't forget to update the date (update parameter)-->
|update=3 March 2017
+
|update=4 March 2017
 
|win_ALA=8 |draw_ALA=9 |loss_ALA=8 |gf_ALA=25|ga_ALA=31
 
|win_ALA=8 |draw_ALA=9 |loss_ALA=8 |gf_ALA=25|ga_ALA=31
 
|win_ATH=11|draw_ATH=5 |loss_ATH=9 |gf_ATH=31|ga_ATH=30
 
|win_ATH=11|draw_ATH=5 |loss_ATH=9 |gf_ATH=31|ga_ATH=30
Line 20: Line 20:
 
|win_EIB=11|draw_EIB=6 |loss_EIB=8 |gf_EIB=41|ga_EIB=33
 
|win_EIB=11|draw_EIB=6 |loss_EIB=8 |gf_EIB=41|ga_EIB=33
 
|win_ESP=9 |draw_ESP=9 |loss_ESP=7 |gf_ESP=35|ga_ESP=33
 
|win_ESP=9 |draw_ESP=9 |loss_ESP=7 |gf_ESP=35|ga_ESP=33
|win_GRA=4 |draw_GRA=7 |loss_GRA=14|gf_GRA=24|ga_GRA=55
+
|win_GRA=4 |draw_GRA=7 |loss_GRA=15|gf_GRA=24|ga_GRA=56
 
|win_LPA=7 |draw_LPA=8 |loss_LPA=10|gf_LPA=35|ga_LPA=39
 
|win_LPA=7 |draw_LPA=8 |loss_LPA=10|gf_LPA=35|ga_LPA=39
|win_LEG=5 |draw_LEG=6 |loss_LEG=14|gf_LEG=19|ga_LEG=40
+
|win_LEG=6 |draw_LEG=6 |loss_LEG=14|gf_LEG=20|ga_LEG=40
 
|win_MLG=6 |draw_MLG=8 |loss_MLG=11|gf_MLG=33|ga_MLG=42
 
|win_MLG=6 |draw_MLG=8 |loss_MLG=11|gf_MLG=33|ga_MLG=42
 
|win_OSA=1 |draw_OSA=7 |loss_OSA=17|gf_OSA=25|ga_OSA=59
 
|win_OSA=1 |draw_OSA=7 |loss_OSA=17|gf_OSA=25|ga_OSA=59

Revision as of 13:49, 4 March 2017

READ THIS BEFORE UPDATING: Please do not forget to update the date (|update=).
AFTER UPDATING: Pages with the template might not be updated immediately so the page can be updated with a WP:NULL on the article in question.

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Barcelona 25 17 6 2 71 21 +50 57 Qualification to Champions League group stage
2 Real Madrid 24 17 5 2 63 25 +38 56
3 Sevilla 25 17 4 4 49 29 +20 55
4 Real Sociedad 26 15 3 8 42 36 +6 48 Qualification to Champions League play-off round
5 Atlético Madrid 25 13 7 5 45 22 +23 46 Qualification to Europa League group stage
6 Villarreal 25 11 9 5 36 19 +17 42 Qualification to Europa League third qualifying round
7 Eibar 25 11 6 8 41 33 +8 39
8 Athletic Bilbao 25 11 5 9 31 30 +1 38
9 Espanyol 25 9 9 7 35 33 +2 36
10 Celta Vigo 24 10 5 9 39 39 0 35
11 Alavés 25 8 9 8 25 31 −6 33
12 Las Palmas 25 7 8 10 35 39 −4 29[lower-alpha 1]
13 Valencia 25 8 5 12 35 43 −8 29[lower-alpha 1]
14 Real Betis 25 7 6 12 27 41 −14 27
15 Málaga 25 6 8 11 33 42 −9 26
16 Leganés 26 6 6 14 20 40 −20 24
17 Deportivo La Coruña 24 4 8 12 27 40 −13 20
18 Granada 26 4 7 15 24 56 −32 19 Relegation to Segunda División
19 Sporting Gijón 25 4 5 16 27 54 −27 17
20 Osasuna 25 1 7 17 25 59 −34 10
Updated to match(es) played on 4 March 2017. Source: La Liga, Soccerway
Rules for classification: 1) Points; 2) Head-to-head points; 3) Head-to-head goal difference; 4) Goal difference; 5) Goals scored; 6) Fair-play points; 7) Play-off.[1]
Notes:
  1. 1.0 1.1 Las Palmas is ahead of Valencia on head-to-head-points: Valencia–Las Palmas 2–4, Las Palmas–Valencia 3–1
Template documentation[view] [edit] [history] [purge]

Usage

This template was created to update articles with the 2016–17 La Liga standings. It now uses Module:Sports table/WDL to generate the table.

Every team has a code (see below for list)

Updating table

This section is a quick explanation on how to edit.

The standings (order of teams) are controlled by the lines used for team position

|team1=RMA |team2=BAR |team3=ATM ...

so to change positions, for example between Real Madrid and Barcelona, you change RMA and ATM to

|team1=BAR |team2=RMA |team3=ATM ...

To change the stats for the teams (for example, Celta Vigo) like wins, draws, losses, goals scored and goals against you edit the lines

win_CEL=4 |draw_CEL=3 |loss_CEL=5 |gf_CEL=11 |ga_CEL=15

where gf and ga are the goals for and against.

More options are available from the documentation of Module:Sports table/WDL.

To use the update on any article, insert:

{{2016–17 La Liga table}}

To highlight Betis, insert:

{{2016–17 La Liga table|showteam=BET}}

The complete list of teams to be used is:

  • ALA = Alavés
  • ATH = Athletic Bilbao
  • ATM = Atlético Madrid
  • BAR = Barcelona
  • BET = Real Betis
  • CEL = Celta de Vigo
  • DEP = Deportivo La Coruña
  • EIB = Eibar
  • ESP = Espanyol
  • GRA = Granada
  • LPA = UD Las Palmas
  • LEG = Leganés
  • MLG = Málaga
  • OSA = Osasuna
  • RMA = Real Madrid
  • RSO = Real Sociedad
  • SEV = Sevilla
  • SPO = Sporting de Gijón
  • VAL = Valencia
  • VIL = Villarreal

See also

Sample usage

{{2016–17 La Liga table}} produces -

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
1 Barcelona 25 17 6 2 71 21 +50 57 Qualification to Champions League group stage
2 Real Madrid 24 17 5 2 63 25 +38 56
3 Sevilla 25 17 4 4 49 29 +20 55
4 Real Sociedad 26 15 3 8 42 36 +6 48 Qualification to Champions League play-off round
5 Atlético Madrid 25 13 7 5 45 22 +23 46 Qualification to Europa League group stage
6 Villarreal 25 11 9 5 36 19 +17 42 Qualification to Europa League third qualifying round
7 Eibar 25 11 6 8 41 33 +8 39
8 Athletic Bilbao 25 11 5 9 31 30 +1 38
9 Espanyol 25 9 9 7 35 33 +2 36
10 Celta Vigo 24 10 5 9 39 39 0 35
11 Alavés 25 8 9 8 25 31 −6 33
12 Las Palmas 25 7 8 10 35 39 −4 29[lower-alpha 1]
13 Valencia 25 8 5 12 35 43 −8 29[lower-alpha 1]
14 Real Betis 25 7 6 12 27 41 −14 27
15 Málaga 25 6 8 11 33 42 −9 26
16 Leganés 26 6 6 14 20 40 −20 24
17 Deportivo La Coruña 24 4 8 12 27 40 −13 20
18 Granada 26 4 7 15 24 56 −32 19 Relegation to Segunda División
19 Sporting Gijón 25 4 5 16 27 54 −27 17
20 Osasuna 25 1 7 17 25 59 −34 10
Updated to match(es) played on 4 March 2017. Source: La Liga, Soccerway
Rules for classification: 1) Points; 2) Head-to-head points; 3) Head-to-head goal difference; 4) Goal difference; 5) Goals scored; 6) Fair-play points; 7) Play-off.[2]
Notes:
  1. 1.0 1.1 Las Palmas is ahead of Valencia on head-to-head-points: Valencia–Las Palmas 2–4, Las Palmas–Valencia 3–1

{{2016–17 La Liga table|showteam=EIB}} produces -

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
5 Atlético Madrid 25 13 7 5 45 22 +23 46 Qualification to Europa League group stage
6 Villarreal 25 11 9 5 36 19 +17 42 Qualification to Europa League third qualifying round
7 Eibar 25 11 6 8 41 33 +8 39
8 Athletic Bilbao 25 11 5 9 31 30 +1 38
9 Espanyol 25 9 9 7 35 33 +2 36
Updated to match(es) played on 4 March 2017. Source: La Liga, Soccerway
Rules for classification: 1) Points; 2) Head-to-head points; 3) Head-to-head goal difference; 4) Goal difference; 5) Goals scored; 6) Fair-play points; 7) Play-off.[3]

{{2016–17 La Liga table|showteam=ESP}} produces -

Pos Team Pld W D L GF GA GD Pts
7 Eibar 25 11 6 8 41 33 +8 39
8 Athletic Bilbao 25 11 5 9 31 30 +1 38
9 Espanyol 25 9 9 7 35 33 +2 36
10 Celta Vigo 24 10 5 9 39 39 0 35
11 Alavés 25 8 9 8 25 31 −6 33
Updated to match(es) played on 4 March 2017. Source: La Liga, Soccerway
Rules for classification: 1) Points; 2) Head-to-head points; 3) Head-to-head goal difference; 4) Goal difference; 5) Goals scored; 6) Fair-play points; 7) Play-off.[4]

References

  1. "Primera División 2016/2017 - Season rules". Scoresway. Retrieved 14 September 2016.
  2. "Primera División 2016/2017 - Season rules". Scoresway. Retrieved 14 September 2016.
  3. "Primera División 2016/2017 - Season rules". Scoresway. Retrieved 14 September 2016.
  4. "Primera División 2016/2017 - Season rules". Scoresway. Retrieved 14 September 2016.

References