This is a documentation subpage for Template:AFLGame. It may contain usage information, categories and other content that is not part of the original template page. |
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
editBlank Parameter
edit{{AFLGameHeader|title = }}
{{AFLGame
|date =
|home team =
|home score =
|winner =
|away team =
|away score =
|venue =
|crowd =
|report =
}}
{{AFLGameFooter|notes = }}
v | |||||
Using UnNamed Parameters
editBefore 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
editBefore 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
editAnzac 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
editParameter | 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'. |