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

From blackwiki
Jump to navigation Jump to search
blackwiki>Wikizin
blackwiki>Wikizin
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=6 March 2017
+
|update=8 March 2017
 
|win_ALA=8 |draw_ALA=10|loss_ALA=8 |gf_ALA=26|ga_ALA=32
 
|win_ALA=8 |draw_ALA=10|loss_ALA=8 |gf_ALA=26|ga_ALA=32
 
|win_ATH=12|draw_ATH=5 |loss_ATH=9 |gf_ATH=32|ga_ATH=30
 
|win_ATH=12|draw_ATH=5 |loss_ATH=9 |gf_ATH=32|ga_ATH=30
Line 17: Line 17:
 
|win_BAR=18|draw_BAR=6 |loss_BAR=2 |gf_BAR=76|ga_BAR=21
 
|win_BAR=18|draw_BAR=6 |loss_BAR=2 |gf_BAR=76|ga_BAR=21
 
|win_CEL=10|draw_CEL=5 |loss_CEL=10|gf_CEL=39|ga_CEL=44
 
|win_CEL=10|draw_CEL=5 |loss_CEL=10|gf_CEL=39|ga_CEL=44
|win_DEP=5 |draw_DEP=8 |loss_DEP=12|gf_DEP=28|ga_DEP=40
+
|win_DEP=5 |draw_DEP=9 |loss_DEP=12|gf_DEP=29|ga_DEP=41
 
|win_EIB=11|draw_EIB=6 |loss_EIB=9 |gf_EIB=42|ga_EIB=37
 
|win_EIB=11|draw_EIB=6 |loss_EIB=9 |gf_EIB=42|ga_EIB=37
 
|win_ESP=9 |draw_ESP=9 |loss_ESP=8 |gf_ESP=35|ga_ESP=35
 
|win_ESP=9 |draw_ESP=9 |loss_ESP=8 |gf_ESP=35|ga_ESP=35
Line 25: Line 25:
 
|win_MLG=6 |draw_MLG=8 |loss_MLG=12|gf_MLG=32|ga_MLG=43
 
|win_MLG=6 |draw_MLG=8 |loss_MLG=12|gf_MLG=32|ga_MLG=43
 
|win_OSA=1 |draw_OSA=7 |loss_OSA=18|gf_OSA=27|ga_OSA=64
 
|win_OSA=1 |draw_OSA=7 |loss_OSA=18|gf_OSA=27|ga_OSA=64
|win_BET=7 |draw_BET=6 |loss_BET=12|gf_BET=27|ga_BET=41
+
|win_BET=7 |draw_BET=7 |loss_BET=12|gf_BET=28|ga_BET=42
 
|win_RMA=18|draw_RMA=5 |loss_RMA=2 |gf_RMA=67|ga_RMA=26
 
|win_RMA=18|draw_RMA=5 |loss_RMA=2 |gf_RMA=67|ga_RMA=26
 
|win_RSO=15|draw_RSO=3 |loss_RSO=8 |gf_RSO=42|ga_RSO=36
 
|win_RSO=15|draw_RSO=3 |loss_RSO=8 |gf_RSO=42|ga_RSO=36

Revision as of 20:39, 8 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 26 18 6 2 76 21 +55 60 Qualification to Champions League group stage
2 Real Madrid 25 18 5 2 67 26 +41 59
3 Sevilla 26 17 5 4 50 30 +20 56
4 Atlético Madrid 26 14 7 5 48 22 +26 49 Qualification to Champions League play-off round
5 Real Sociedad 26 15 3 8 42 36 +6 48 Qualification to Europa League group stage
6 Villarreal 26 12 9 5 38 19 +19 45 Qualification to Europa League third qualifying round
7 Athletic Bilbao 26 12 5 9 32 30 +2 41
8 Eibar 26 11 6 9 42 37 +5 39
9 Espanyol 26 9 9 8 35 35 0 36
10 Celta Vigo 25 10 5 10 39 44 −5 35
11 Alavés 26 8 10 8 26 32 −6 34
12 Las Palmas 26 8 8 10 40 41 −1 32
13 Valencia 26 8 5 13 35 46 −11 29
14 Real Betis 26 7 7 12 28 42 −14 28
15 Málaga 26 6 8 12 32 43 −11 26
16 Leganés 26 6 6 14 21 40 −19 24
17 Deportivo La Coruña 26 5 9 12 29 41 −12 24
18 Granada 26 4 7 15 24 54 −30 19 Relegation to Segunda División
19 Sporting Gijón 26 4 5 17 27 55 −28 17
20 Osasuna 26 1 7 18 27 64 −37 10
Updated to match(es) played on 8 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]
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 26 18 6 2 76 21 +55 60 Qualification to Champions League group stage
2 Real Madrid 25 18 5 2 67 26 +41 59
3 Sevilla 26 17 5 4 50 30 +20 56
4 Atlético Madrid 26 14 7 5 48 22 +26 49 Qualification to Champions League play-off round
5 Real Sociedad 26 15 3 8 42 36 +6 48 Qualification to Europa League group stage
6 Villarreal 26 12 9 5 38 19 +19 45 Qualification to Europa League third qualifying round
7 Athletic Bilbao 26 12 5 9 32 30 +2 41
8 Eibar 26 11 6 9 42 37 +5 39
9 Espanyol 26 9 9 8 35 35 0 36
10 Celta Vigo 25 10 5 10 39 44 −5 35
11 Alavés 26 8 10 8 26 32 −6 34
12 Las Palmas 26 8 8 10 40 41 −1 32
13 Valencia 26 8 5 13 35 46 −11 29
14 Real Betis 26 7 7 12 28 42 −14 28
15 Málaga 26 6 8 12 32 43 −11 26
16 Leganés 26 6 6 14 21 40 −19 24
17 Deportivo La Coruña 26 5 9 12 29 41 −12 24
18 Granada 26 4 7 15 24 54 −30 19 Relegation to Segunda División
19 Sporting Gijón 26 4 5 17 27 55 −28 17
20 Osasuna 26 1 7 18 27 64 −37 10
Updated to match(es) played on 8 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]

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

Pos Team Pld W D L GF GA GD Pts Qualification or relegation
6 Villarreal 26 12 9 5 38 19 +19 45 Qualification to Europa League third qualifying round
7 Athletic Bilbao 26 12 5 9 32 30 +2 41
8 Eibar 26 11 6 9 42 37 +5 39
9 Espanyol 26 9 9 8 35 35 0 36
10 Celta Vigo 25 10 5 10 39 44 −5 35
Updated to match(es) played on 8 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 Athletic Bilbao 26 12 5 9 32 30 +2 41
8 Eibar 26 11 6 9 42 37 +5 39
9 Espanyol 26 9 9 8 35 35 0 36
10 Celta Vigo 25 10 5 10 39 44 −5 35
11 Alavés 26 8 10 8 26 32 −6 34
Updated to match(es) played on 8 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