Template:Rugby box collapsible/doc
Appearance
This is a documentation subpage for Template:Rugby box collapsible. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit]Blank template
[edit]Standard options:
{{rugbybox collapsible
| date =
| time =
| home =
| score =
| away =
| report =
| try1 =
| con1 =
| pen1 =
| drop1 =
| cards1 =
| try2 =
| con2 =
| pen2 =
| drop2 =
| cards2 =
| stadium =
| attendance =
| referee =
}}
Additional options
| class =collapsible expanded
| aet = yes
| note =
Examples
[edit]Collapsed
[edit]Code:
{{rugbybox collapsible
|date=19 February 2011
|time=19:35 [[New Zealand Daylight Time|NZDT]] ([[UTC+13]])
|home=[[Blues (Super Rugby)|Blues]] {{flag icon|NZL}}
|score=25–34
|away={{flag icon|NZL}} [[Crusaders (rugby union)|Crusaders]]
|try1=Rokocoko (2)<br />Woodcock
|con1=Brett (2)
|pen1=Brett (2)
|try2=Carter<br />McCaw<br />Thorn<br />Whitelock
|con2=Carter (4)
|pen2=Carter (2)
|stadium=[[Eden Park]], [[Auckland]]
|attendance=43,678
|referee=Vinny Munro
}}
Output:
19 February 2011 | Blues | 25–34 | Crusaders | Eden Park, Auckland | ||
19:35 NZDT (UTC+13) | Try: Rokocoko (2) Woodcock Con: Brett (2) Pen: Brett (2) |
Try: Carter McCaw Thorn Whitelock Con: Carter (4) Pen: Carter (2) |
Attendance: 43,678 Referee: Vinny Munro |
Expanded with note
[edit]Code (using parameters: |class =collapsible expanded), also |note = Ranfurly Challenge:
{{rugbybox collapsible
|class=collapsible expanded
|date=19 February 2011
|time=19:35 [[New Zealand Daylight Time|NZDT]] ([[UTC+13]])
|home=[[Blues (Super Rugby)|Blues]] {{flag icon|NZL}}
|score=25–34
|away={{flag icon|NZL}} [[Crusaders (rugby union)|Crusaders]]
|try1=Rokocoko (2)<br />Woodcock
|con1=Brett (2)
|pen1=Brett (2)
|try2=Carter<br />McCaw<br />Thorn<br />Whitelock
|con2=Carter (4)
|pen2=Carter (2)
|stadium=[[Eden Park]], [[Auckland]]
|attendance=43,678
|referee=Vinny Munro
|note=Ranfurly Challenge
}}
Output:
Ranfurly Challenge | 19 February 2011 | Blues | 25–34 | Crusaders | Eden Park, Auckland | |
19:35 NZDT (UTC+13) | Try: Rokocoko (2) Woodcock Con: Brett (2) Pen: Brett (2) |
Try: Carter McCaw Thorn Whitelock Con: Carter (4) Pen: Carter (2) |
Attendance: 43,678 Referee: Vinny Munro |
Extra time
[edit]Code (using parameters: |aet=yes) to indicate the final score 'after extra time' and also |class=collapsible expanded):
{{rugbybox collapsible
| class = collapsible expanded
| date = 19 September 2021
| time = 14:05 [[Time in New Zealand|NZST]]
| home = '''RS –''' [[Hawke's Bay Rugby Union|Hawke's Bay]]
| score = 36–33
| aet = yes
| report = [https://www.provincial.rugby/news/hawkes-bay-hold-onto-ranfurly-shield-in-dramatic-fashion/ Report]
| away = [[Bay of Plenty Rugby Union|Bay of Plenty]]
| try1 = [[Ash Dixon|Dixon]] 14' c<br />[[Solomone Funaki|Funaki]] 21' c<br />[[Pouri Rakete-Stones|Rakete-Stones]] 31' c
| con1 = [[Lincoln McClutchie|McClutchie]] (3/3) 15', 22', 32'
| pen1 = [[Lincoln McClutchie|McClutchie]] (3/3) 29', 37', 63'<br />[[Tiaan Falcon|Falcon]] (2/2) 80', 84'
| try2 = [[Emoni Narawa|Narawa]] 5' m<br />[[Luke Campbell (rugby union, born 1995)|Campbell]] 18' c<br />[[Onisi Ratave|Ratave]] (2) 25' c, 77' c<br />[[Sean Wainui|Wainui]] 59' c
| con2 = [[Kaleb Trask|Trask]] (2/3) 19', 26'<br />[[Otere Black|Black]] (2/2) 60', 78'
| stadium = [[McLean Park]], Napier
| attendance =
| referee = [[Paul Williams (rugby union referee)|Paul Williams]]
}}
19 September 2021 | RS – Hawke's Bay | 36–33 (a.e.t.) | Bay of Plenty | McLean Park, Napier | ||
14:05 NZST | Try: Dixon 14' c Funaki 21' c Rakete-Stones 31' c Con: McClutchie (3/3) 15', 22', 32' Pen: McClutchie (3/3) 29', 37', 63' Falcon (2/2) 80', 84' |
Report | Try: Narawa 5' m Campbell 18' c Ratave (2) 25' c, 77' c Wainui 59' c Con: Trask (2/3) 19', 26' Black (2/2) 60', 78' |
Referee: Paul Williams |
Custom width
[edit]Code (using parameters: note-width, date-width, team-width and/or stadium-width):
{{rugbybox collapsible
|note-width=5%
|stadium-width=20%
|date=19 February 2011
|time=19:35 [[New Zealand Daylight Time|NZDT]] ([[UTC+13]])
|home=[[Blues (Super Rugby)|Blues]] {{flag icon|NZL}}
|score=25–34
|away={{flag icon|NZL}} [[Crusaders (rugby union)|Crusaders]]
|report=
|try1=Rokocoko (2)<br />Woodcock
|con1=Brett (2)
|pen1=Brett (2)
|try2=Carter<br />McCaw<br />Thorn<br />Whitelock
|con2=Carter (4)
|pen2=Carter (2)
|stadium=[[Eden Park]], [[Auckland]]
|attendance=43,678
|referee=Vinny Munro
}}
Output:
19 February 2011 | Blues | 25–34 | Crusaders | Eden Park, Auckland | ||
19:35 NZDT (UTC+13) | Try: Rokocoko (2) Woodcock Con: Brett (2) Pen: Brett (2) |
Try: Carter McCaw Thorn Whitelock Con: Carter (4) Pen: Carter (2) |
Attendance: 43,678 Referee: Vinny Munro |
See also
[edit]- Template:Rugbybox – original version