Template:Rugbyleaguebox collapsible/doc
Appearance
![]() | This is a documentation subpage for Template:Rugbyleaguebox collapsible. It may contain usage information, categories and other content that is not part of the original template page. |
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
[edit]{{rugbyleaguebox_collapsible
|date = Date of the match. Format: D Month YYYY
|time = Match kick off time. Local time in 24 hour format with time zone and UTC linked.
|team1 = Team 1 (normally home team)
|points1 = Point scorers for team 1. (Option to using the following four parameters)
|try1 = Try scorers for team 1
|goal1 = Goal kickers for team 1
|drop1 = Drop-goal kickers for team 1
|gfm1 = Goals from mark for team 1
|score = Scoreline e.g. 25 – 18 (home team score goes first)
|report = External (or sometimes internal) link to a report of the game (optional)
|team2 = Team 2 (normally away team)
|points2 = Point scorers for team 2. (Option to using the following four parameters)
|try2 = Try scorers for team 2
|goal2 = Goal kickers for team 2
|drop2 = Drop-goal kickers for team 2
|gfm2 = Goals from mark for team 2
|stadium = Stadium and city
|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
|referee2 = If a dual referee system is used e.g. in NRL matches 2009–2021 (optional)
|manofmatch = Player of the Match (optional)
|touch = Names of touch judge(s) (optional). Include nationality when used for international matches
}}
Example
[edit]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 |
{{rugbyleaguebox_collapsible
|bg=C1D8FF
|date = 8 August 2009
|time = 1430 BST
|team1 = {{league icon|Wigan|12px}} Wigan Warriors
|score = 26 – 39
|report = [http://news.bbc.co.uk/sport1/hi/rugby_league/8184228.stm (Report)]
|team2 = {{league icon|Warrington|12px}} Warrington Wolves
|points1 = '''Tries:''' [[Phil Bailey|Bailey]] {{try|8}}<br />[[Sam Tomkins|S. Tomkins]] {{try|53}}<br />[[Andy Coley|Coley]] {{try|60}}<br />[[Thomas Leuluai|Leuluai]] {{try|68}}<br />'''Goals:''' [[Pat Richards|Richards]] 8', 12', 53', 60', 68'
|points2 = '''Tries:''' [[Matt King (rugby league)|King]] {{try|18|38|48}}<br />[[Louis Anderson|L. Anderson]] {{try|20}}<br />[[Lee Briers|Briers]] {{try|22}}<br />[[Michael Cooper (rugby league)|Cooper]] {{try|29}}<br />[[Chris Hicks (rugby league)|Chris Hicks]] {{try|74}}<br />'''Goals:''' [[Chris Bridge|Bridge]] 18', 20', 22', 29', 74'<br />'''Drop goals:''' Briers 70'
|stadium = [[Halton Stadium|Stobart Stadium Halton]]
|location = [[Widnes]], [[England]]
|attendance = 12,975
|referee = [[Steve Ganson]]
|manofmatch = [[Lee Briers]]
}}
Blank version
[edit]- (for easy copy & paste)
{{rugbyleaguebox_collapsible
|bg =
|date =
|time =
|team1 =
|points1 =
|try1 =
|goal1 =
|drop1 =
|gfm1 =
|score =
|1sthalf =
|2ndhalf =
|ExtraTime1 =
|ExtraTime2 =
|report =
|team2 =
|points2 =
|try2 =
|goal2 =
|drop2 =
|gfm2 =
|stadium =
|location =
|attendance =
|referee =
|manofmatch =
|touch =
}}
Additional parameters
[edit]- 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".
Tracking category
[edit]See also
[edit]