Difference between revisions of "Template:ANZ Championship ladder"
blackwiki>Liveste m (Expanded diff and pts columns) |
m (13 revisions imported) |
||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{| class=wikitable style="text-align:center" align=left | {| class=wikitable style="text-align:center" align=left | ||
|- | |- | ||
| − | ! colspan=11 style="background:#ABCDEF" | {{ | + | ! {{#ifeq:{{{year|}}}|2011|colspan=10|colspan=11}} style="background:#ABCDEF" | {{Navbar-header|[[{{{year|}}} ANZ Championship season|{{{year|}}} ANZ Championship]] ladder|{{{year|}}} ANZ Championship ladder}} |
|- | |- | ||
| − | ! width=20 class=unsortable |{{ | + | ! width=20 class=unsortable |{{Abbr|Pos|Position}} |
! width=190 class=unsortable |Team | ! width=190 class=unsortable |Team | ||
| − | ! width=20 |{{ | + | ! width=20 |{{Abbr|Pld|Played}} |
| − | ! width=20 |{{ | + | ! width=20 |{{Abbr|W|Won}} |
| − | ! width=20 |{{ | + | ! width=20 |{{Abbr|L|Lost}} |
| − | ! width=20 | + | {{#ifeq:{{{year|}}}|2011|| |
| − | ! width=20 |{{ | + | ! width=20 {{!}}{{Abbr|B|Byes}}}} |
| − | ! width=20 |{{ | + | ! width=20 |{{Abbr|GF|Goals for}} |
| − | ! width=30 |{{ | + | ! width=20 |{{Abbr|GA|Goals against}} |
| − | ! width=45 |{{ | + | ! width=30 |{{Abbr|Diff|Goal difference}} |
| − | ! width=30 |{{ | + | ! width=45 |{{Abbr|G%|Goal percentage}} |
| + | ! width=30 |{{Abbr|Pts|Points}} | ||
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team1|}}}|background:#D8BFD8|background:none}}|background:#DCD0FF}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team1|}}}|background:#D8BFD8|background:none}}|background:#DCD0FF}}" | ||
| − | |1||{{#if:{{{Team1|}}}|<div style="text-align:left">{{ANZC team|{{{Team1}}}}}</div>|}}||{{{Info1|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |1||{{#if:{{{Team1|}}}|<div style="text-align:left">{{ANZC team|{{{Team1}}}}}</div>|}}||{{{Info1|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team2|}}}|background:#D8BFD8|background:none}}|background:#DCD0FF}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team2|}}}|background:#D8BFD8|background:none}}|background:#DCD0FF}}" | ||
| − | |2||{{#if:{{{Team2|}}}|<div style="text-align:left">{{ANZC team|{{{Team2}}}}}</div>|}}||{{{Info2|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |2||{{#if:{{{Team2|}}}|<div style="text-align:left">{{ANZC team|{{{Team2}}}}}</div>|}}||{{{Info2|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team3|}}}|background:#D8BFD8|background:none}}|background:#E6E6FA}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team3|}}}|background:#D8BFD8|background:none}}|background:#E6E6FA}}" | ||
| − | |3||{{#if:{{{Team3|}}}|<div style="text-align:left">{{ANZC team|{{{Team3}}}}}</div>|}}||{{{Info3|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |3||{{#if:{{{Team3|}}}|<div style="text-align:left">{{ANZC team|{{{Team3}}}}}</div>|}}||{{{Info3|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team4|}}}|background:#D8BFD8|background:none}}|background:#E6E6FA}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team4|}}}|background:#D8BFD8|background:none}}|background:#E6E6FA}}" | ||
| − | |4||{{#if:{{{Team4|}}}|<div style="text-align:left">{{ANZC team|{{{Team4}}}}}</div>|}}||{{{Info4|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |4||{{#if:{{{Team4|}}}|<div style="text-align:left">{{ANZC team|{{{Team4}}}}}</div>|}}||{{{Info4|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team5|}}}|background:#D8BFD8|background:none}}|background:none}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team5|}}}|background:#D8BFD8|background:none}}|background:none}}" | ||
| − | |5||{{#if:{{{Team5|}}}|<div style="text-align:left">{{ANZC team|{{{Team5}}}}}</div>|}}||{{{Info5|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |5||{{#if:{{{Team5|}}}|<div style="text-align:left">{{ANZC team|{{{Team5}}}}}</div>|}}||{{{Info5|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team6|}}}|background:#D8BFD8|background:none}}|background:none}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team6|}}}|background:#D8BFD8|background:none}}|background:none}}" | ||
| − | |6||{{#if:{{{Team6|}}}|<div style="text-align:left">{{ANZC team|{{{Team6}}}}}</div>|}}||{{{Info6|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |6||{{#if:{{{Team6|}}}|<div style="text-align:left">{{ANZC team|{{{Team6}}}}}</div>|}}||{{{Info6|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team7|}}}|background:#D8BFD8|background:none}}|background:none}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team7|}}}|background:#D8BFD8|background:none}}|background:none}}" | ||
| − | |7||{{#if:{{{Team7|}}}|<div style="text-align:left">{{ANZC team|{{{Team7}}}}}</div>|}}||{{{Info7|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |7||{{#if:{{{Team7|}}}|<div style="text-align:left">{{ANZC team|{{{Team7}}}}}</div>|}}||{{{Info7|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team8|}}}|background:#D8BFD8|background:none}}|background:none}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team8|}}}|background:#D8BFD8|background:none}}|background:none}}" | ||
| − | |8||{{#if:{{{Team8|}}}|<div style="text-align:left">{{ANZC team|{{{Team8}}}}}</div>|}}||{{{Info8|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |8||{{#if:{{{Team8|}}}|<div style="text-align:left">{{ANZC team|{{{Team8}}}}}</div>|}}||{{{Info8|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team9|}}}|background:#D8BFD8|background:none}}|background:none}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team9|}}}|background:#D8BFD8|background:none}}|background:none}}" | ||
| − | |9||{{#if:{{{Team9|}}}|<div style="text-align:left">{{ANZC team|{{{Team9}}}}}</div>|}}||{{{Info9|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |9||{{#if:{{{Team9|}}}|<div style="text-align:left">{{ANZC team|{{{Team9}}}}}</div>|}}||{{{Info9|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team10|}}}|background:#D8BFD8|background:none}}|background:none}}" | |- style="{{#if:{{{team|}}}|{{#ifeq:{{{team|}}}|{{{Team10|}}}|background:#D8BFD8|background:none}}|background:none}}" | ||
| − | |10||{{#if:{{{Team10|}}}|<div style="text-align:left">{{ANZC team|{{{Team10}}}}}</div>|}}||{{{Info10|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}}}} | + | |10||{{#if:{{{Team10|}}}|<div style="text-align:left">{{ANZC team|{{{Team10}}}}}</div>|}}||{{{Info10|{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{!!}}{{#ifeq:{{{year|}}}|2011||{{!!}}}}}}} |
|- | |- | ||
| − | |colspan=11 style="background:#DCDCDC" | <small> {{#if:{{{update|}}}|Updated on {{{update}}} {{#if:{{{round|}}}|(Round {{{round}}}{{#if:{{{game|}}}|, Game {{{game}}}|}})|}}|}} </small> | + | |colspan=11 style="background:#DCDCDC" | <small> {{#if:{{{update|}}}|Updated on {{{update}}} {{#if:{{{round|}}}|(Round {{{round}}}{{#if:{{{game|}}}|, Game {{{game}}}|}})|}}|{{#if:{{{startdate|}}}|(Competition starts on {{{startdate}}})|}}}} </small> |
|} | |} | ||
| − | {| class=wikitable align=left style="margin-left: | + | {| class=wikitable align=left style="margin-left:20px" |
|- | |- | ||
! text-align=left | Table legend | ! text-align=left | Table legend | ||
| Line 54: | Line 55: | ||
*'''Pld''' = Games played | *'''Pld''' = Games played | ||
*'''W''' = Wins <small>(2 points)</small> | *'''W''' = Wins <small>(2 points)</small> | ||
| − | *'''L''' = Losses <small>(0 points)</small> | + | *'''L''' = Losses <small>(0 points)</small>{{#ifeq:{{{year|}}}|2011|| |
| − | *'''B''' = Byes <small>(0 points)</small> | + | *'''B''' = Byes <small>(0 points)</small>}} |
*'''GF''' = Goals For <small>(total goals scored)</small> | *'''GF''' = Goals For <small>(total goals scored)</small> | ||
*'''GA''' = Goals Against <small>(total goals conceded)</small> | *'''GA''' = Goals Against <small>(total goals conceded)</small> | ||
| Line 63: | Line 64: | ||
<br> | <br> | ||
{{#if:{{{team|}}}| {{color box|#D8BFD8}} Team position| {{color box|#DCD0FF}} Major semi-final qualifying position<br> {{color box|#E6E6FA}} Minor semi-final qualifying position}} | {{#if:{{{team|}}}| {{color box|#D8BFD8}} Team position| {{color box|#DCD0FF}} Major semi-final qualifying position<br> {{color box|#E6E6FA}} Minor semi-final qualifying position}} | ||
| − | |}{{clear}}<noinclude>{{Documentation | + | |}{{clear}}<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 12:33, 16 October 2020
ANZ Championship ladder
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pos | Team | Pld | W | L | B | GF | GA | Diff | G% | Pts |
| 1 | ||||||||||
| 2 | ||||||||||
| 3 | ||||||||||
| 4 | ||||||||||
| 5 | ||||||||||
| 6 | ||||||||||
| 7 | ||||||||||
| 8 | ||||||||||
| 9 | ||||||||||
| 10 | ||||||||||
| Table legend |
|---|
|
This series of templates is used to make competition ladders for each season of the ANZ Championship. They include:
- {{ANZ Championship ladder}}
- {{ANZC-LD}}.
{{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
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|{{{PAGENAME}}}]]</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
- 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 the
team=parameter (small "t" with no numbers): e.g., add{{2010 ANZ Championship ladder|team=Central Pulse}}to 2010 Central Pulse season.
Example
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.
2010 ANZ Championship ladder
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
|---|
|
- 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:
2010 ANZ Championship ladder
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
|---|
|
Changes to Template:2010 ANZ Championship ladder will automatically appear in the tables of both articles.
| The above documentation is transcluded from Template:ANZ Championship ladder/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |