Template:ANZ Championship ladder/doc

From blackwiki
< Template:ANZ Championship ladder
Revision as of 06:59, 8 March 2010 by blackwiki>Liveste (New template documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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):

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

|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. The team= parameter should be left as written. 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 transcribe 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, transcribe 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 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 {{2011 ANZ Championship ladder}}, then add {{2011 ANZ Championship ladder|team=Mystics}} to the 2011 Northern Mystics season article.