Template:AFLGame
{{{date}}} | {{{home team}}} | v | {{{away team}}} | {{{venue}}} |
This template is for adding a single line summary of an Australian Rules Football game. It must be used with Template:AFLGameHeader and Template:AFLGameFooter to form a properly formatted table. It can also be used with Template:AFLGameBye in seasons where teams have a bye.
Usage
Blank Parameter
{{AFLGameHeader|title = }}
{{AFLGame
|date =
|home team =
|home score =
|winner =
|away team =
|away score =
|venue =
|crowd =
|report =
}}
{{AFLGameFooter|notes = }}
v | |||||
Using UnNamed Parameters
Before the game has been played the template can be used to present the fixture information as follows:
{{AFLGameHeader}}
{{AFLGame|Saturday, 25 April 2:20pm|{{AFL Ess}}||V|{{AFL Col}}||[[Melbourne Cricket Ground|MCG]]}}
{{AFLGameFooter}}
Saturday, 25 April 2:20pm | Essendon | v | Collingwood | MCG | |
After the game has been played the result can be added to the template to give a summary of the result.
{{AFLGameHeader}}
{{AFLGame|Saturday, 25 April 2:20pm|{{AFL Ess}}|13.15 (93)|H|{{AFL Col}}|12.16 (88)|[[Melbourne Cricket Ground|MCG]]|84,829|[http://www.afl.com.au/news/newsarticle/tabid/208/newsid/75608/default.aspx Report]}}
{{AFLGameFooter}}
Saturday, 25 April 2:20pm | Essendon 13.15 (93) | def. | Collingwood 12.16 (88) | MCG (crowd: 84,829) | Report |
Using Named Parameters
Before the game has been played the template can be used to present the fixture information as follows:
{{AFLGameHeader}}
{{AFLGame
|date = Saturday, 25 April 2:20pm
|home team = {{AFL Ess}}
|home score =
|winner = V
|away team = {{AFL Col}}
|away score =
|venue = [[Melbourne Cricket Ground|MCG]]
|crowd =
|report =
}}
{{AFLGameFooter}}
Saturday, 25 April 2:20pm | Essendon | v | Collingwood | MCG | |
After the game has been played the result can be added to the template to give a summary of the result.
{{AFLGameHeader}}
{{AFLGame
|date = Saturday, 25 April 2:20pm
|home team = {{AFL Ess}}
|home score = 13.15 (93)
|winner = H
|away team = {{AFL Col}}
|away score = 12.16 (88)
|venue = [[Melbourne Cricket Ground|MCG]]
|crowd = 84,829
|report = [http://www.afl.com.au/news/newsarticle/tabid/208/newsid/75608/default.aspx Report]
}}
{{AFLGameFooter}}
Saturday, 25 April 2:20pm | Essendon 13.15 (93) | def. | Collingwood 12.16 (88) | MCG (crowd: 84,829) | Report |
Example Round
Anzac Day | |||||
---|---|---|---|---|---|
Friday, 24 April 7:45pm | Port Adelaide 5.6 (36) | def. by | St Kilda 15.12 (102) | AAMI Stadium (crowd: 25,426) | Report |
Saturday, 25 April 2:20pm | Essendon 13.15 (93) | def. | Collingwood 12.16 (88) | MCG (crowd: 84,829) | Report |
Saturday, 25 April 5:20pm | Hawthorn 11.8 (74) | def. | West Coast 7.14 (56) | York Park (crowd: 17,880) | Report |
Saturday, 25 April 6:45pm | Fremantle 18.13 (121) | def. | Sydney 16.4 (100) | Subiaco Oval (crowd: 32,884) | Report |
Saturday, 25 April 7:20pm | North Melbourne 7.16 (58) | def. by | Richmond 13.16 (94) | Docklands Stadium (crowd: 29,224) | Report |
Sunday, 26 April 1:10pm | Geelong 18.18 (126) | def. | Brisbane Lions 5.3 (33) | Skilled Stadium (crowd: 15,580) | Report |
Sunday, 26 April 2:10pm | Western Bulldogs 13.12 (90) | def. by | Carlton 21.7 (133) | Docklands Stadium (crowd: 44,268) | Report |
Sunday, 26 April 4:40pm | Melbourne 4.10 (34) | def. by | Adelaide 7.9 (51) | MCG (crowd: 14,129) | Report |
Bye Gold Coast |
|||||
|
Parameters
Parameter | Explanation | |
---|---|---|
Number | Name | |
1 | date | The date and optionally time of the AFL match. |
2 | home team | The template for the home team of the match. |
3 | home score | The final score for the home team. Score should be in the format 13.15 (93) or 1.12.10 (91). Can be left blank prior to result. |
4 | winner | Should be V when the match has not been played and then changed to H for a victory by the home team, A for a victory by the away team, or D for a draw. This will set the winning team's name and score to bold and provide the correct 'def.' or def. by' in the middle. |
5 | away team | The template for the away team of the match. |
6 | away score | The final score for the away team. Score should be in the format 12.16 (88) or 1.12.10 (91). Can be left blank prior to result. |
7 | venue | The venue the AFL match is being played at. |
8 | crowd | The attendance figure for the AFL match. Can be left blank prior to the match being played. |
9 | report | A report into the game. Should be an external link with the display text of Report. Can be left blank prior to the match being played. There is a known issue with passing URL's that contain the '=' sign as a parameter for a template. To overcome it, all '=' signs should be replaced with '%3D'. |
See also
This template is for adding a single line summary of an Australian rules football game. It must be used with {{AFLGameHeader}} and {{AFLGameFooter}} to form a properly formatted table. It can also be used with {{AFLGameBye}} in seasons where teams have a bye.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | date 1 | The date and, optionally, time of the match.
| Date | suggested |
Home team | home team 2 | The template or wikilink for the home team of the match.
| Content | required |
Home team score | home score 3 | The final score for the home team. Can be left blank prior to the match being played.
| Content | optional |
Winner | winner 4 | If the match has not yet been played, select 'V'. For a victory by the home team, select 'H'. For a victory by the away team, select 'A'. This will set the winning team's name and score to bold and provide the correct 'def.' or def. by' in the middle. For a draw, select 'D'.
| String | required |
Away team | away team 5 | The template or wikilink for the away team of the match.
| Content | required |
Away team score | away score 6 | The final score for the away team. Can be left blank prior to the match being played.
| Content | optional |
Venue | venue 7 | The venue the match is being played at. For sponsored venue names, use a piped link to direct users to the generic name article while displaying the sponsored name in use at the time of the match.
| Content | suggested |
Crowd | crowd 8 | The attendance figure for the match. Can be left blank prior to the match being played, or if no verifiable figure can be sourced.
| Content | optional |
Report | report 9 | A news report of the game from a reputable source. Should be an external link, preferably to an archived URL, with the display text of 'Report'. Can be left blank prior to the match being played. There is a known issue with parsing URLs that contain the '=' sign as a parameter for a template. To overcome it, all '=' signs should be replaced with '%3D'.
| URL | optional |