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

From blackwiki
Jump to navigation Jump to search
blackwiki>Wikizin
Line 12: Line 12:
 
<!--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=30 April 2017
 
|update=30 April 2017
|win_ALA=11|draw_ALA=12|loss_ALA=11|gf_ALA=32|ga_ALA=40
+
|win_ALA=12|draw_ALA=12|loss_ALA=11|gf_ALA=36|ga_ALA=41
 
|win_ATH=18|draw_ATH=5 |loss_ATH=11|gf_ATH=48|ga_ATH=38
 
|win_ATH=18|draw_ATH=5 |loss_ATH=11|gf_ATH=48|ga_ATH=38
 
|win_ATM=21|draw_ATM=8 |loss_ATM=6 |gf_ATM=65|ga_ATM=25
 
|win_ATM=21|draw_ATM=8 |loss_ATM=6 |gf_ATM=65|ga_ATM=25
Line 25: Line 25:
 
|win_MLG=10|draw_MLG=9 |loss_MLG=15|gf_MLG=40|ga_MLG=49
 
|win_MLG=10|draw_MLG=9 |loss_MLG=15|gf_MLG=40|ga_MLG=49
 
|win_OSA=3 |draw_OSA=10|loss_OSA=22|gf_OSA=37|ga_OSA=84
 
|win_OSA=3 |draw_OSA=10|loss_OSA=22|gf_OSA=37|ga_OSA=84
|win_BET=10|draw_BET=7 |loss_BET=17|gf_BET=37|ga_BET=53
+
|win_BET=10|draw_BET=7 |loss_BET=18|gf_BET=38|ga_BET=57
 
|win_RMA=25|draw_RMA=6 |loss_RMA=3 |gf_RMA=92|ga_RMA=39
 
|win_RMA=25|draw_RMA=6 |loss_RMA=3 |gf_RMA=92|ga_RMA=39
 
|win_RSO=19|draw_RSO=4 |loss_RSO=12|gf_RSO=54|ga_RSO=48
 
|win_RSO=19|draw_RSO=4 |loss_RSO=12|gf_RSO=54|ga_RSO=48
Line 56: Line 56:
  
 
<!--Head-to-head-->
 
<!--Head-to-head-->
 +
|hth_BAR=Barcelona is ahead of Real Madrid on head-to-head points: Barcelona–Real Madrid 1–1, Real Madrid–Barcelona 2–3
 +
|hth_RMA=BAR
 
|hth_LPA=Málaga ahead of Las Palmas on goal difference
 
|hth_LPA=Málaga ahead of Las Palmas on goal difference
 
|hth_MLG=LPA
 
|hth_MLG=LPA

Revision as of 16:06, 30 April 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 (Q) 35 25 6 4 104 33 +71 81[lower-alpha 1] Qualification to Champions League group stage
2 Real Madrid (Q) 34 25 6 3 92 39 +53 81[lower-alpha 1]
3 Atlético Madrid 35 21 8 6 65 25 +40 71
4 Sevilla 34 20 8 6 60 40 +20 68 Qualification to Champions League play-off round
5 Villarreal 35 18 9 8 52 28 +24 63 Qualification to Europa League group stage
6 Real Sociedad 35 19 4 12 54 48 +6 61 Qualification to Europa League third qualifying round
7 Athletic Bilbao 34 18 5 11 48 38 +10 59
8 Eibar 34 14 9 11 52 45 +7 51
9 Espanyol 35 13 11 11 45 47 −2 50
10 Alavés 35 12 12 11 36 41 −5 48
11 Celta Vigo 33 13 5 15 49 54 −5 44
12 Valencia 35 11 7 17 50 61 −11 40
13 Málaga 34 10 9 15 40 49 −9 39[lower-alpha 2]
14 Las Palmas 35 10 9 16 52 66 −14 39[lower-alpha 2]
15 Real Betis 35 10 7 18 38 57 −19 37
16 Deportivo La Coruña 35 7 11 17 39 59 −20 32
17 Leganés 34 7 9 18 30 51 −21 30
18 Sporting Gijón 35 5 9 21 38 70 −32 24 Relegation to Segunda División
19 Granada (R) 35 4 8 23 28 74 −46 20
20 Osasuna (R) 35 3 10 22 37 84 −47 19
Updated to match(es) played on 30 April 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]
(Q) Qualified to the phase indicated; (R) Relegated.
Notes:
  1. 1.0 1.1 Barcelona is ahead of Real Madrid on head-to-head points: Barcelona–Real Madrid 1–1, Real Madrid–Barcelona 2–3
  2. 2.0 2.1 Málaga ahead of Las Palmas on goal difference
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 (Q) 35 25 6 4 104 33 +71 81[lower-alpha 1] Qualification to Champions League group stage
2 Real Madrid (Q) 34 25 6 3 92 39 +53 81[lower-alpha 1]
3 Atlético Madrid 35 21 8 6 65 25 +40 71
4 Sevilla 34 20 8 6 60 40 +20 68 Qualification to Champions League play-off round
5 Villarreal 35 18 9 8 52 28 +24 63 Qualification to Europa League group stage
6 Real Sociedad 35 19 4 12 54 48 +6 61 Qualification to Europa League third qualifying round
7 Athletic Bilbao 34 18 5 11 48 38 +10 59
8 Eibar 34 14 9 11 52 45 +7 51
9 Espanyol 35 13 11 11 45 47 −2 50
10 Alavés 35 12 12 11 36 41 −5 48
11 Celta Vigo 33 13 5 15 49 54 −5 44
12 Valencia 35 11 7 17 50 61 −11 40
13 Málaga 34 10 9 15 40 49 −9 39[lower-alpha 2]
14 Las Palmas 35 10 9 16 52 66 −14 39[lower-alpha 2]
15 Real Betis 35 10 7 18 38 57 −19 37
16 Deportivo La Coruña 35 7 11 17 39 59 −20 32
17 Leganés 34 7 9 18 30 51 −21 30
18 Sporting Gijón 35 5 9 21 38 70 −32 24 Relegation to Segunda División
19 Granada (R) 35 4 8 23 28 74 −46 20
20 Osasuna (R) 35 3 10 22 37 84 −47 19
Updated to match(es) played on 30 April 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]
(Q) Qualified to the phase indicated; (R) Relegated.
Notes:
  1. 1.0 1.1 Barcelona is ahead of Real Madrid on head-to-head points: Barcelona–Real Madrid 1–1, Real Madrid–Barcelona 2–3
  2. 2.0 2.1 Málaga ahead of Las Palmas on goal difference

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

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
6 Real Sociedad 35 19 4 12 54 48 +6 61 Qualification to Europa League third qualifying round
7 Athletic Bilbao 34 18 5 11 48 38 +10 59
8 Eibar 34 14 9 11 52 45 +7 51
9 Espanyol 35 13 11 11 45 47 −2 50
10 Alavés 35 12 12 11 36 41 −5 48
Updated to match(es) played on 30 April 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 Athletic Bilbao 34 18 5 11 48 38 +10 59
8 Eibar 34 14 9 11 52 45 +7 51
9 Espanyol 35 13 11 11 45 47 −2 50
10 Alavés 35 12 12 11 36 41 −5 48
11 Celta Vigo 33 13 5 15 49 54 −5 44
Updated to match(es) played on 30 April 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