Jump to content

Template:ANZ Championship ladder/doc

From Wikipedia, the free encyclopedia

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. Using this parent template allows a season ladder to be used on both the main season article (e.g., 2010 ANZ Championship season) and on a team's season article (e.g., 2010 Queensland Firebirds season), while also displaying differently in the two articles depending on what needs to be highlighted. Each season ladder also relies on a second template, {{ANZC-LD}}: using this template makes filling in table data easier.

Creating a ladder

[edit]

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= |team={{#if:{{{team|}}}|{{{team|}}}|}}

|update= |round= |game=

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

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

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

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

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

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

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

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

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

|Team10=
|Info10={{ANZC-LD | Pld= | W= | L= | B= | GF= | GA= | Diff= | G%= | Pts=}}
}}<noinclude>
[[Category:ANZ Championship templates]]
</noinclude>

Initially, only the year= and team= parameters are mandatory: fill in the appropriate year, but leave the team= parameter as written. During the season, the Team#, Pld, W, L, B, GF, GA, Diff, G% and Pts parameters should be filled in, in accordance with competition results. The Team# parameters should be filled in using full, unlinked team names (e.g., West Coast Fever).

Adding a ladder to an article

[edit]
  • Team season article: To add a season competition ladder to a team's season article, transclude the ladder template and also specify the team= parameter (small "t" with no numbers): e.g., add {{2010 ANZ Championship ladder|team=Central Pulse}} to 2010 Central Pulse season.

Example

[edit]

The 2010 ANZ Championship ladder (as of 28 March 2010) is created using the following code:

{{ANZ Championship ladder |year=2010 |team={{#if:{{{team|}}}|{{{team|}}}|}}

|update=28 March 2010 |round=2 |game=3

|Team1= Melbourne Vixens
|Info1= {{ANZC-LD | Pld=2 | W=2 | L=0 | B=0 | GF=101 | GA=86 | Diff=+15 | G%=117.44 | Pts=4}}

|Team2= Northern Mystics
|Info2= {{ANZC-LD | Pld=2 | W=2 | L=0 | B=0 | GF=116 | GA=102 | Diff=+14 | G%=113.73 | Pts=4}}

|Team3= New South Wales Swifts
|Info3= {{ANZC-LD | Pld=2 | W=2 | L=0 | B=0 | GF=95 | GA=85 | Diff=+10 | G%=111.76 | Pts=4}}

|Team4= Canterbury Tactix
|Info4= {{ANZC-LD | Pld=1 | W=1 | L=0 | B=0 | GF=54 | GA=48 | Diff=+6 | G%=112.50 | Pts=2}}

|Team5= Southern Steel
|Info5= {{ANZC-LD | Pld=1 | W=1 | L=0 | B=0 | GF=46 | GA=44 | Diff=+2 | G%=104.55 | Pts=2}}

|Team6= West Coast Fever
|Info6= {{ANZC-LD | Pld=1 | W=0 | L=1 | B=0 | GF=44 | GA=46 | Diff=-2 | G%=95.65 | Pts=0}}

|Team7= Queensland Firebirds
|Info7= {{ANZC-LD | Pld=2 | W=0 | L=2 | B=0 | GF=93 | GA=103 | Diff=-10 | G%=90.29 | Pts=0}}

|Team8= Adelaide Thunderbirds
|Info8= {{ANZC-LD | Pld=2 | W=0 | L=2 | B=0 | GF=90 | GA=100 | Diff=-10 | G%=90.00 | Pts=0}}

|Team9= Central Pulse
|Info9= {{ANZC-LD | Pld=2 | W=0 | L=2 | B=0 | GF=98 | GA=115 | Diff=-17 | G%=85.22 | Pts=0}}

|Team10=Waikato Bay of Plenty Magic
|Info10={{ANZC-LD | Pld=1 | W=0 | L=1 | B=0 | GF=40 | GA=48 | Diff=-8 | G%=83.33 | Pts=0}}
}}

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

Pos Team Pld W L B GF GA Diff G% Pts
1 2 2 0 0 101 86 +15 117.44 4
2 2 2 0 0 116 102 +14 113.73 4
3 2 2 0 0 95 85 +10 111.76 4
4 1 1 0 0 54 48 +6 112.50 2
5 1 1 0 0 46 44 +2 104.55 2
6 1 0 1 0 44 46 -2 95.65 0
7 2 0 2 0 93 103 -10 90.29 0
8 2 0 2 0 90 100 -10 90.00 0
9 2 0 2 0 98 115 -17 85.22 0
10 1 0 1 0 40 48 -8 83.33 0
Updated on 28 March 2010 (Round 2, Game 3)
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 2010 ANZ Championship season article by transcluding {{2010 ANZ Championship ladder}}.
  • The same table is added to the 2010 Canterbury Tactix season article by transcluding {{2010 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 2 2 0 0 101 86 +15 117.44 4
2 2 2 0 0 116 102 +14 113.73 4
3 2 2 0 0 95 85 +10 111.76 4
4 1 1 0 0 54 48 +6 112.50 2
5 1 1 0 0 46 44 +2 104.55 2
6 1 0 1 0 44 46 -2 95.65 0
7 2 0 2 0 93 103 -10 90.29 0
8 2 0 2 0 90 100 -10 90.00 0
9 2 0 2 0 98 115 -17 85.22 0
10 1 0 1 0 40 48 -8 83.33 0
Updated on 28 March 2010 (Round 2, Game 3)
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:2010 ANZ Championship ladder will automatically appear in the tables of both articles.