Template:A-League 2007-08 Position Ladder

From Wikipedia, the free encyclopedia

Contents

Current standings

# Team Pld W D L GF GA GD Pts
1 Central Coast Mariners 21 10 4 7 30 25 5sm=n 34
2 Newcastle Jets 21 9 7 5 25 21 4sm=n 34
3 Sydney FC 21 8 8 5 28 24 4sm=n 32
4 Queensland Roar 21 8 7 6 25 21 4sm=n 31
5 Melbourne Victory 21 6 9 6 29 29 0sm=n 27
6 Adelaide United 21 6 8 7 31 29 2sm=n 26
7 Perth Glory 21 4 8 9 27 34 -7sm=n 20
8 Wellington Phoenix 21 5 5 11 25 37 -12sm=n 20


[edit] Documentation

[edit] Template documentation

{{a-League 2007-08 Position Ladder}} displays the Ladder for the A-League clubs for 2007-08 season.

[edit] Usage

This is a template that calls another template.

[edit] Displaying

To Display this ladder on a page use {{A-League 2007-08 Position Ladder}} You can pass "yes" to any of the teams initials as a parameter and it will highlight that team's row in that team's colour.

for example use {{A-League 2007-08 Position Ladder|QR=yes}} to highlight Queensland Roar's line.


# Team Pld W D L GF GA GD Pts
1 Central Coast Mariners 21 10 4 7 30 25 5sm=n 34
2 Newcastle Jets 21 9 7 5 25 21 4sm=n 34
3 Sydney FC 21 8 8 5 28 24 4sm=n 32
4 Queensland Roar 21 8 7 6 25 21 4sm=n 31
5 Melbourne Victory 21 6 9 6 29 29 0sm=n 27
6 Adelaide United 21 6 8 7 31 29 2sm=n 26
7 Perth Glory 21 4 8 9 27 34 -7sm=n 20
8 Wellington Phoenix 21 5 5 11 25 37 -12sm=n 20


You can add any CSS style to the table with the style= parameter.

[edit] Editing

To edit the positions of the teams after results you can edit Template:A-League 2007-08 Position Ladder and change each of the values.

In previous years, all parts of the ladder had to be updated. There is some automation now. If teams change positions on the ladder then you will still have to adjust these to match, but when viewing the ladder any column can be clicked on to sort the table.

T1-T8: These are the positions on the ladder.
T1W, T1D, T1L: These are the Wins, Draws and Losses for this team (first in this case). The Games Played and the Points for the team are totaled automatically from these.
T1F, T1A: These are the goals For and Against the team. Goal Difference is calculated for you.

[edit] Example

{{A-League 2007-08 Position Ladder2 | style=margin-left: auto; margin-right: auto; text-align:center;
|T1=MV
|T1W=14 |T1D=3 |T1L=4 |T1F=41 |T1A=20
|T2=AU
|T2W=10 |T2D=3 |T2L=8 |T2F=32 |T2A=27           
|T3=NUJ
|T3W=8 |T3D=6 |T3L=7 |T3F=32 |T3A=30
|T4=SFC
|T4W=8 |T4D=8 |T4L=5 |T4F=29 |T4A=19
|T5=QR
|T5W=8 |T5D=5 |T5L=8 |T5F=25 |T5A=27
|T6=CCM
|T6W=6 |T6D=6 |T6L=9 |T6F=22 |T6A=26 
|T7=PG
|T7W=5 |T7D=5 |T7L=11 |T7F=24 |T7A=30
|T8=WP
|T8W=5 |T8D=4 |T8L=12 |T8F=13 |T8A=39
}}
# Team Pld W D L GF GA GD Pts
1 Melbourne Victory 21 14 3 4 41 20 21sm=n 45
2 Adelaide United 21 10 3 8 32 27 5sm=n 33
3 Newcastle Jets 21 8 6 7 32 30 2sm=n 30
4 Sydney FC 21 8 8 5 29 19 10sm=n 32
5 Queensland Roar 21 8 5 8 25 27 -2sm=n 29
6 Central Coast Mariners 21 6 6 9 22 26 -4sm=n 24
7 Perth Glory 21 5 5 11 24 30 -6sm=n 20
8 Wellington Phoenix 21 5 4 12 13 39 -26sm=n 19

[edit] Limitations

  • As of May 2007, the sorting of the goal difference column does not work. The work-around for the sortable table has been applied but it appears to have a bug for negative numbers.
  • Point deductions have not been factored in to the ladder yet. If a team has points deducted then the underlying template can be adjusted easily to accommodate this.

End of documentation