User:Matt5AU/Working Space/AFLGame
|- | {{{date}}} | align=right | {{{home team}}} | align=center| vs. | | {{{away team}}} | style="font-size: 85%" | {{{venue}}} | style="font-size: 85%" |
This template is for adding a single line summary of an Australian Rules Football game. Typically it is used in groups to summarise the results of a single round.
Usage[edit]
Using UnNamed Parameters[edit]
Before the game has been played the template can be used to present the fixture information as follows:
{{User:Matt5AU/Working Space/AFLGameHeader}}
{{User:Matt5AU/Working Space/AFLGame|Saturday, 25 April 2:20pm|{{AFL Ess}}||V|{{AFL Col}}||[[Melbourne Cricket Ground|MCG]]}}
{{User:Matt5AU/Working Space/AFLGameFooter}}
Saturday, 25 April 2:20pm | Essendon | vs. | Collingwood | MCG | |
After the game has been played the result can be added to the template to give a summary of the result.
{{User:Matt5AU/Working Space/AFLGameHeader}}
{{User:Matt5AU/Working Space/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]}}
{{User:Matt5AU/Working Space/AFLGameFooter}}
Saturday, 25 April 2:20pm | Essendon 13.15 (93) | def. | Collingwood 12.16 (88) | MCG (Crowd: 84,829) | Report |
Using Named Parameters[edit]
Before the game has been played the template can be used to present the fixture information as follows:
{{User:Matt5AU/Working Space/AFLGameHeader}} {{User:Matt5AU/Working Space/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 = }} {{User:Matt5AU/Working Space/AFLGameFooter}}
Saturday, 25 April 2:20pm | Essendon | vs. | Collingwood | MCG | |
After the game has been played the result can be added to the template to give a summary of the result.
{{User:Matt5AU/Working Space/AFLGameHeader}} {{User:Matt5AU/Working Space/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] }} {{User:Matt5AU/Working Space/AFLGameFooter}}
Saturday, 25 April 2:20pm | Essendon 13.15 (93) | def. | Collingwood 12.16 (88) | MCG (Crowd: 84,829) | Report |
Example Round[edit]
Round 5 - 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) | Aurora Stadium (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 |
|
Parameters[edit]
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) 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. |
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) 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. |