Template:ANZ Championship ladder/doc

From blackwiki
< Template:ANZ Championship ladder
Revision as of 12:16, 9 March 2010 by blackwiki>Liveste (Added example; removed "team" parameter from blank code)
Jump to navigation Jump to search

This series of templates is used to make competition ladders for each season of the ANZ Championship. They include:

{{ANZ Championship ladder}} is the primary template used. However, the table is reliant on the second template, {{ANZC-LD}}. Two templates are used so that each yearly competition ladder can be used on both the main season article (e.g., 2010 ANZ Championship season) and a team's season article (e.g., 2010 Queensland Firebirds season), but can also display differently in the different articles depending on what needs to be indicated.

Creating a ladder

To create a season competition ladder, copy the following code and paste it into the appropriate template page (e.g., Template:2010 ANZ Championship ladder):

{{ANZ Championship ladder |year=

|update= |round= |game=

|Team1=
|Info1= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team2=
|Info2= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team3=
|Info3= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team4=
|Info4= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team5=
|Info5= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team6=
|Info6= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team7=
|Info7= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team8=
|Info8= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team9=
|Info9= {{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}

|Team10=
|Info10={{ANZC-LD | Pld= | W= | D= | L= | GF= | GA= | G%= | Pts=}}
}}

Initially, only the year= parameter is mandatory. During the season, the Team#, Pld, W, D, L, GF, GA, G% and Pts parameters should be filled in, in accordance with competition results. The Team# parameters require either a long (e.g., West Coast Fever) or short (e.g., Fever) unlinked team name. Whichever name form is chosen, that same form must be used consistently throughout the ladder.

Adding a ladder to an article

Main season article

To add a season competition ladder to a main season article, simply transclude the ladder template into the article: e.g., copypaste {{2010 ANZ Championship ladder}} into 2010 ANZ Championship season. No further amendments are required.

Team season article

To add a season competition ladder to a team's season article, transclude the ladder template, and also specify an team= parameter (small "t" with no numbers): e.g., add {{2010 ANZ Championship ladder|team=Central Pulse}} to 2010 Central Pulse seaon. Whichever form of team name (long or short) is used in the ladder, the same form must be used when specifying the team in the team's season article: i.e., if short team names such as "Mystics" are used in Template:2011 ANZ Championship ladder, then add {{2011 ANZ Championship ladder|team=Mystics}} to the 2011 Northern Mystics season article.

Example

The 2009 ANZ Championship ladder is created using the following code:

{{ANZ Championship ladder |year=2009

|update=7 July 2009 |round=14 |game=5

|Team1= Melbourne Vixens
|Info1= {{ANZC-LD | Pld=13 | W=12 | D=0 | L=1 | GF=769 | GA=614 | G%=125.24 | Pts=24}}

|Team2= Waikato Bay of Plenty Magic
|Info2= {{ANZC-LD | Pld=13 | W=11 | D=0 | L=2 | GF=673 | GA=562 | G%=119.75 | Pts=22}}

|Team3= Adelaide Thunderbirds
|Info3= {{ANZC-LD | Pld=13 | W=10 | D=0 | L=3 | GF=698 | GA=579 | G%=120.55 | Pts=20}}

|Team4= Southern Steel
|Info4= {{ANZC-LD | Pld=13 | W=8 | D=0 | L=5 | GF=662 | GA=645 | G%=102.64 | Pts=16}}

|Team5= Queensland Firebirds
|Info5= {{ANZC-LD | Pld=13 | W=8 | D=0 | L=5 | GF=700 | GA=690 | G%=101.45 | Pts=16}}

|Team6= Canterbury Tactix
|Info6= {{ANZC-LD | Pld=13 | W=5 | D=0 | L=8 | GF=639 | GA=662 | G%=96.53 | Pts=10}}

|Team7= West Coast Fever
|Info7= {{ANZC-LD | Pld=13 | W=5 | D=0 | L=8 | GF=666 | GA=735 | G%=90.61 | Pts=10}}

|Team8= Northern Mystics
|Info8= {{ANZC-LD | Pld=13 | W=3 | D=0 | L=10 | GF=642 | GA=727 | G%=88.31 | Pts=6}}

|Team9= New South Wales Swifts
|Info9= {{ANZC-LD | Pld=13 | W=2 | D=0 | L=11 | GF=709 | GA=748 | G%=94.79 | Pts=4}}

|Team10= Central Pulse
|Info10={{ANZC-LD | Pld=13 | W=1 | D=0 | L=12 | GF=594 | GA=790 | G%=75.19 | Pts=2}}
}}

The code is copypasted into Template:2009 ANZ Championship ladder, which produces the following table.

Pos Team Pld W L B GF GA Diff G% Pts
1 13 12 1   769 614   125.24 24
2 13 11 2   673 562   119.75 22
3 13 10 3   698 579   120.55 20
4 13 8 5   662 645   102.64 16
5 13 8 5   700 690   101.45 16
6 13 5 8   639 662   96.53 10
7 13 5 8   666 735   90.61 10
8 13 3 10   642 727   88.31 6
9 13 2 11   709 748   94.79 4
10 13 1 12   594 790   75.19 2
Updated on 7 July 2009 (Round 14, Game 5)
Table legend
  • Pos = Position
  • Pld = Games played
  • W = Wins (2 points)
  • L = Losses (0 points)
  • B = Byes (0 points)
  • GF = Goals For (total goals scored)
  • GA = Goals Against (total goals conceded)
  • Diff = Goal Difference (= GFGA)
  • G% = Goal Percentage (= 100 × GF/GA)
  • Pts = Points (progressive tally)


    Major semi-final qualifying position
    Minor semi-final qualifying position

The above table is added to the 2009 ANZ Championship season article by transcluding {{2009 ANZ Championship ladder}}.

The same table is added to the 2009 Canterbury Tactix season by transcluding {{2009 ANZ Championship ladder|team=Canterbury Tactix}}, which produces the same table but with a slightly different appearance:

Pos Team Pld W L B GF GA Diff G% Pts
1 13 12 1   769 614   125.24 24
2 13 11 2   673 562   119.75 22
3 13 10 3   698 579   120.55 20
4 13 8 5   662 645   102.64 16
5 13 8 5   700 690   101.45 16
6 13 5 8   639 662   96.53 10
7 13 5 8   666 735   90.61 10
8 13 3 10   642 727   88.31 6
9 13 2 11   709 748   94.79 4
10 13 1 12   594 790   75.19 2
Updated on 7 July 2009 (Round 14, Game 5)
Table legend
  • Pos = Position
  • Pld = Games played
  • W = Wins (2 points)
  • L = Losses (0 points)
  • B = Byes (0 points)
  • GF = Goals For (total goals scored)
  • GA = Goals Against (total goals conceded)
  • Diff = Goal Difference (= GFGA)
  • G% = Goal Percentage (= 100 × GF/GA)
  • Pts = Points (progressive tally)


    Team position

Changes to Template:2009 ANZ Championship ladder will automatically appear in the tables of both articles.