User:Tonywalton/Template:Infobox Six Nations Championship
Appearance
This user page employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Tonywalton/Template:Infobox Six Nations Championship | |||||||
---|---|---|---|---|---|---|---|
[[Image:{{{logo}}}|150px]] | |||||||
{{{datefrom}}} – {{{dateto}}} | |||||||
Competing nations | {{{nations}}} | ||||||
Champions | {{Country data {{{champion}}} | flag link/core | variant = | size = | name = | altlink = national rugby union team | altvar = rugby union}} |
Runner-up | {{Country data {{{runnerup}}} | flag link/core | variant = | size = | name = | altlink = national rugby union team | altvar = rugby union}} |
Matches played | {{{matches}}} | ||||||
Attendance | 0 (0 per match) | ||||||
Top scorer | {{{top scorer}}} | ||||||
Most tries | {{{most tries}}} | ||||||
Preceded by | {{{preceded by}}} | ||||||
Succeeded by | {{{succeeded by}}} |
Usage
[edit]This Infobox generates a summary information box for the Six Nations Championship in a given year. Average per-match attendance is calculated by the template (given total attendance at all matches and number of matches played).
- Sample
{{Infobox Six Nations Championship |logo= |datefrom=7 February 2009 |dateto=21 March 2009 |nations={{ru|ENG}} <br />{{ru|FRA}}<br />{{ru|IRE}}<br />{{ru|ITA}}<br />{{ru|SCO}}<br />{{ru|WAL}} |champion=Ireland |runnerup=England |matches=15 |attendance=1093286 |top scorer=[[Ronan O'Gara]] (Ireland)<br />(51 points) |most tries=[[Brian O'Driscoll]] (Ireland)<br />[[Riki Flutey]] (England)<br />(4 tries) |preceded by=[[2008 Six Nations Championship]] |succeeded by=[[2010 Six Nations Championship]] }}
- Sample result
Tonywalton/Template:Infobox Six Nations Championship | |
---|---|
Tournament statistics | |
Matches played | 15 |
Attendance | 1,093,286 (72,886 per match) |
Parameters
[edit]The following may be supplied before the tournament is over:
- logo - (no idea what this is for)
- datefrom and dateto - The dates between which the tournament is or was played. Manual Of Style states that linking of dates purely for the purpose of auto-formatting is now deprecated. Recommended format: dd MMMM YYYY
- nations The national teams playing in the tournament. Use of the
{{ru}}
template here will automate the display of national flags (where appropriate) and create Wikilinks to national team articles. - matches - The number of matches currently completed.
- attendance - The total number of spectators who have attended matches to date.
- preceded by and succeeded by - links to articles on the prior and next tournaments.
Once the tournament is finished, the following may be supplied.
- champion and runnerup - The teams who came first and second in the tournament. Country names only (England, Wales etc.) should be given, not
{{ru|ENG}}
or{{ru|WAL}}
. - top scorer and most tries - the individual players who scored the most points overall and the highest number of tries.
[[Category:Rugby union infobox templates|{{PAGENAME}}]]