Template:Rugbyleaguebox collapsible
{{{date}}} | {{{team1}}} | v | {{{team2}}} | {{{stadium}}} | |
![]() | This template 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. |
To display results of matches in shorthand, with more detail being available behind a show tag. Initially made for rugby league matches, although nothing specific in the coding of the template binds it to rugby league alone. Can be used with {{Match report templates}}.
Usage
<syntaxhighlight lang="wikitext" style="overflow:auto">
Date of the match. Format: D Month YYYY | Team 1 (normally home team) | Scoreline e.g. 25 – 18 (home team score goes first) | Team 2 (normally away team) | Stadium and city | |
Match kick off time. Local time in 24 hour format with time zone and UTC linked. |
Point scorers for team 1. (Option to using the following four parameters) | External (or sometimes internal) link to a report of the game (optional) |
Point scorers for team 2. (Option to using the following four parameters) | Attendance: Attendance for the match (optional). Use ≈ before the number if the attendance was given as an approximation in source. Referee: Referee for the match (optional). Include nationality when used for international matches Touch judges: Names of touch judge(s) (optional). Include nationality when used for international matches Player of the Match: Player of the Match (optional) |
</syntaxhighlight>
Example
8 August 2009 | ![]() |
26 – 39 | ![]() |
Widnes, England | |
1430 BST |
Tries: Bailey ![]() S. Tomkins ![]() Coley ![]() Leuluai ![]() Goals: Richards 8', 12', 53', 60', 68' |
(Report) |
Tries: King ![]() L. Anderson ![]() Briers ![]() Cooper ![]() Chris Hicks ![]() Goals: Bridge 18', 20', 22', 29', 74' Drop goals: Briers 70' |
Stadium: Stobart Stadium Halton Attendance: 12,975 Referee: Steve Ganson Player of the Match: Lee Briers |
<syntaxhighlight lang="wikitext" style="overflow:auto">
8 August 2009 | ![]() |
26 – 39 | ![]() |
Widnes, England | |
1430 BST |
Tries: Bailey ![]() S. Tomkins ![]() Coley ![]() Leuluai ![]() Goals: Richards 8', 12', 53', 60', 68' |
(Report) |
Tries: King ![]() L. Anderson ![]() Briers ![]() Cooper ![]() Chris Hicks ![]() Goals: Bridge 18', 20', 22', 29', 74' Drop goals: Briers 70' |
Stadium: Stobart Stadium Halton Attendance: 12,975 Referee: Steve Ganson Player of the Match: Lee Briers |
</syntaxhighlight>
Blank version
- (for easy copy & paste)
<syntaxhighlight lang="wikitext">
v | |||||
</syntaxhighlight>
Additional parameters
- bg - Sets a custom background colour using hex code. Enter without the hash (#).
- size - Template is defaulted to build a table with 100% width, but this percentage will change if this field is filled.
- round - The round number (if applicable)
Additional notes
- If location is not defined, then stadium will appear "above the fold". If location is defined, then stadium appears "below the fold".