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

From blackwiki
Jump to navigation Jump to search
blackwiki>Wikizin
Line 5: Line 5:
  
 
<!--Update team positions here-->
 
<!--Update team positions here-->
|team1=BAR |team2=RMA |team3=ATM |team4=SEV |team5=VIL |team6=RSO |team7=ATH |team8=EIB |team9=ESP |team10=CEL |team11=ALA |team12=VAL |team13=LPA |team14=MLG |team15=BET |team16=DEP |team17=LEG |team18=SPO |team19=GRA |team20=OSA
+
|team1=BAR |team2=RMA |team3=ATM |team4=SEV |team5=VIL |team6=RSO |team7=ATH |team8=EIB |team9=ESP |team10=ALA |team11=CEL |team12=VAL |team13=LPA |team14=MLG |team15=BET |team16=DEP |team17=LEG |team18=SPO |team19=GRA |team20=OSA
  
 
<!--Update team qualifications here (defined below)-->
 
<!--Update team qualifications here (defined below)-->
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=26 April 2017
+
|update=27 April 2017
|win_ALA=11|draw_ALA=11|loss_ALA=11|gf_ALA=32|ga_ALA=40
+
|win_ALA=11|draw_ALA=12|loss_ALA=11|gf_ALA=32|ga_ALA=40
 
|win_ATH=17|draw_ATH=5 |loss_ATH=11|gf_ATH=46|ga_ATH=37
 
|win_ATH=17|draw_ATH=5 |loss_ATH=11|gf_ATH=46|ga_ATH=37
 
|win_ATM=20|draw_ATM=8 |loss_ATM=6 |gf_ATM=60|ga_ATM=25
 
|win_ATM=20|draw_ATM=8 |loss_ATM=6 |gf_ATM=60|ga_ATM=25
Line 18: Line 18:
 
|win_CEL=13|draw_CEL=5 |loss_CEL=14|gf_CEL=48|ga_CEL=52
 
|win_CEL=13|draw_CEL=5 |loss_CEL=14|gf_CEL=48|ga_CEL=52
 
|win_DEP=7 |draw_DEP=10|loss_DEP=17|gf_DEP=37|ga_DEP=57
 
|win_DEP=7 |draw_DEP=10|loss_DEP=17|gf_DEP=37|ga_DEP=57
|win_EIB=14|draw_EIB=8 |loss_EIB=11|gf_EIB=52|ga_EIB=45
+
|win_EIB=14|draw_EIB=9 |loss_EIB=11|gf_EIB=52|ga_EIB=45
 
|win_ESP=13|draw_ESP=11|loss_ESP=10|gf_ESP=45|ga_ESP=44
 
|win_ESP=13|draw_ESP=11|loss_ESP=10|gf_ESP=45|ga_ESP=44
 
|win_GRA=4 |draw_GRA=8 |loss_GRA=22|gf_GRA=27|ga_GRA=72
 
|win_GRA=4 |draw_GRA=8 |loss_GRA=22|gf_GRA=27|ga_GRA=72
Line 56: Line 56:
  
 
<!--Head-to-head-->
 
<!--Head-to-head-->
|hth_EIB=Eibar is ahead of Espanyol on overall goal difference
 
|hth_ESP=EIB
 
 
|hth_LPA=Las Palmas is ahead of Málaga on overall goals scored
 
|hth_LPA=Las Palmas is ahead of Málaga on overall goals scored
 
|hth_MLG=LPA
 
|hth_MLG=LPA

Revision as of 19:23, 27 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 (T) 34 24 6 4 101 33 +68 78 Qualification to Champions League group stage
2 Real Madrid (T) 33 24 6 3 90 38 +52 78
3 Atlético Madrid 34 20 8 6 60 25 +35 68
4 Sevilla 33 19 8 6 58 39 +19 65 Qualification to Champions League play-off round
5 Villarreal 34 17 9 8 49 27 +22 60 Qualification to Europa League group stage
6 Real Sociedad 34 18 4 12 52 47 +5 58 Qualification to Europa League third qualifying round
7 Athletic Bilbao 33 17 5 11 46 37 +9 56
8 Eibar 34 14 9 11 52 45 +7 51
9 Espanyol 34 13 11 10 45 44 +1 50
10 Alavés 34 11 12 11 32 40 −8 45
11 Celta Vigo 32 13 5 14 48 52 −4 44
12 Valencia 34 11 7 16 49 59 −10 40
13 Las Palmas 34 10 9 15 52 61 −9 39[lower-alpha 1]
14 Málaga 34 10 9 15 40 49 −9 39[lower-alpha 1]
15 Real Betis 33 10 7 16 36 51 −15 37
16 Deportivo La Coruña 34 7 10 17 37 57 −20 31
17 Leganés 34 7 9 18 30 51 −21 30
18 Sporting Gijón 34 5 9 20 37 67 −30 24 Relegation to Segunda División
19 Granada 34 4 8 22 27 72 −45 20
20 Osasuna (R) 34 3 9 22 35 82 −47 18
Updated to match(es) played on 27 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]
(R) Relegated; (T) Qualified, but not yet to the particular phase indicated.
Notes:
  1. 1.0 1.1 Las Palmas is ahead of Málaga on overall goals scored
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 (T) 34 24 6 4 101 33 +68 78 Qualification to Champions League group stage
2 Real Madrid (T) 33 24 6 3 90 38 +52 78
3 Atlético Madrid 34 20 8 6 60 25 +35 68
4 Sevilla 33 19 8 6 58 39 +19 65 Qualification to Champions League play-off round
5 Villarreal 34 17 9 8 49 27 +22 60 Qualification to Europa League group stage
6 Real Sociedad 34 18 4 12 52 47 +5 58 Qualification to Europa League third qualifying round
7 Athletic Bilbao 33 17 5 11 46 37 +9 56
8 Eibar 34 14 9 11 52 45 +7 51
9 Espanyol 34 13 11 10 45 44 +1 50
10 Alavés 34 11 12 11 32 40 −8 45
11 Celta Vigo 32 13 5 14 48 52 −4 44
12 Valencia 34 11 7 16 49 59 −10 40
13 Las Palmas 34 10 9 15 52 61 −9 39[lower-alpha 1]
14 Málaga 34 10 9 15 40 49 −9 39[lower-alpha 1]
15 Real Betis 33 10 7 16 36 51 −15 37
16 Deportivo La Coruña 34 7 10 17 37 57 −20 31
17 Leganés 34 7 9 18 30 51 −21 30
18 Sporting Gijón 34 5 9 20 37 67 −30 24 Relegation to Segunda División
19 Granada 34 4 8 22 27 72 −45 20
20 Osasuna (R) 34 3 9 22 35 82 −47 18
Updated to match(es) played on 27 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]
(R) Relegated; (T) Qualified, but not yet to the particular phase indicated.
Notes:
  1. 1.0 1.1 Las Palmas is ahead of Málaga on overall goals scored

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

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
6 Real Sociedad 34 18 4 12 52 47 +5 58 Qualification to Europa League third qualifying round
7 Athletic Bilbao 33 17 5 11 46 37 +9 56
8 Eibar 34 14 9 11 52 45 +7 51
9 Espanyol 34 13 11 10 45 44 +1 50
10 Alavés 34 11 12 11 32 40 −8 45
Updated to match(es) played on 27 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 33 17 5 11 46 37 +9 56
8 Eibar 34 14 9 11 52 45 +7 51
9 Espanyol 34 13 11 10 45 44 +1 50
10 Alavés 34 11 12 11 32 40 −8 45
11 Celta Vigo 32 13 5 14 48 52 −4 44
Updated to match(es) played on 27 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