Template:NZFC 2007-08 Position Ladder

From Wikipedia, the free encyclopedia

# Team Pld W D L GF GA GD Pts
1 Waitakere United 21 16 3 2 51 14 37sm=n 51
2 Auckland City FC 21 16 2 3 44 16 28sm=n 50
3 Team Wellington 21 15 2 4 51 21 30sm=n 47
4 Hawke's Bay United 21 8 5 8 29 33 -4sm=n 29
5 Waikato FC 21 5 5 11 24 34 -10sm=n 20
6 YoungHeart Manawatu 21 5 2 14 32 57 -25sm=n 17
7 Otago United 21 3 4 14 13 43 -30sm=n 13
8 Canterbury United 21 3 3 15 22 48 -26sm=n 12


[edit] Template documentation

{{NZFC 2007-08 Position Ladder}} displays the Ladder for the NZFC clubs for 2007-08 season.

Contents

[edit] Usage

This is a template that calls another template.

[edit] Displaying

To Display this ladder on a page use {{NZFC 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 {{NZFC 2007-08 Position Ladder|TW=yes}} to highlight Team Wellington's line.


# Team Pld W D L GF GA GD Pts
1 Waitakere United 21 16 3 2 51 14 37sm=n 51
2 Auckland City FC 21 16 2 3 44 16 28sm=n 50
3 Team Wellington 21 15 2 4 51 21 30sm=n 47
4 Hawke's Bay United 21 8 5 8 29 33 -4sm=n 29
5 Waikato FC 21 5 5 11 24 34 -10sm=n 20
6 YoungHeart Manawatu 21 5 2 14 32 57 -25sm=n 17
7 Otago United 21 3 4 14 13 43 -30sm=n 13
8 Canterbury United 21 3 3 15 22 48 -26sm=n 12


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:NZFC 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

{{NZFC 2007-08 Position Ladder2 | style=margin-left: auto; margin-right: auto; text-align:center;
|T1=ACFC
|T1W=14 |T1D=3 |T1L=4 |T1F=41 |T1A=20
|T2=CU
|T2W=10 |T2D=3 |T2L=8 |T2F=32 |T2A=27           
|T3=HBU
|T3W=8 |T3D=6 |T3L=7 |T3F=32 |T3A=30
|T4=OU
|T4W=8 |T4D=8 |T4L=5 |T4F=29 |T4A=19
|T5=WCFC
|T5W=8 |T5D=5 |T5L=8 |T5F=25 |T5A=27
|T6=WU
|T6W=6 |T6D=6 |T6L=9 |T6F=22 |T6A=26 
|T7=TW
|T7W=5 |T7D=5 |T7L=11 |T7F=24 |T7A=30
|T8=YHM
|T8W=5 |T8D=4 |T8L=12 |T8F=13 |T8A=39
}}
# Team Pld W D L GF GA GD Pts
1 Auckland City FC 21 14 3 4 41 20 21sm=n 45
2 Canterbury United 21 10 3 8 32 27 5sm=n 33
3 Hawke's Bay United 21 8 6 7 32 30 2sm=n 30
4 Otago United 21 8 8 5 29 19 10sm=n 32
5 Waikato FC 21 8 5 8 25 27 -2sm=n 29
6 Waitakere United 21 6 6 9 22 26 -4sm=n 24
7 Team Wellington 21 5 5 11 24 30 -6sm=n 20
8 YoungHeart Manawatu 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.

[edit] A-League version

The NZFC position ladders and all associated files such as this documentation are copies of the A-League position ladders that have been adapted for NZFC use. I am mentioning this here to avoid taking credit for someone elses work - Gialloneri (talk) 10:43, 31 December 2007 (UTC)

[edit] Template Specific Additions

The top three ranked teams will have their names bolded - this is to reflect that the top three teams qualify for the playoffs.