Template:Rugby box collapsible/doc: Difference between revisions
Jump to navigation
Jump to search
m (CX Zoom moved page Template:Rugbybox collapsible/doc to Template:Rugby box collapsible/doc: Moved per Template talk:Rugbybox collapsible#Requested move 21 February 2022 using rmCloser) |
m (1 revision imported) |
Latest revision as of 16:26, 6 December 2022
This is a documentation subpage for Template:Rugby box collapsible. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
Blank template
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
Collapsed
Code:
{{rugbybox collapsible |date=19 February 2011 |time=19:35 [[New Zealand Daylight Time|NZDT]] ([[UTC+13]]) |home=[[Blues (Super Rugby)|Blues]] {{flagicon|NZL}} |score=25 – 34 |away={{flagicon|NZL}} [[Crusaders (rugby union)|Crusaders]] |try1=Rokocoko (2), Woodcock |con1=Brett (2) |pen1=Brett (2) |cards1 = James {{sin bin|10|20}} |try2=Carter, McCaw, Thorn, 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) Cards: James 10' to 20' |
Try: Carter, McCaw, Thorn, Whitelock Con: Carter (4) Pen: Carter (2) |
Attendance: 43,678 Referee: Vinny Munro |
Expanded with note
Code (using parameters: |class =collapsible expanded), also |note = Ranfurly Challenge:
{{rugbybox collapsible |class =collapsible expanded |note = Ranfurly Challenge |date=19 February 2011 |time=19:35 [[New Zealand Daylight Time|NZDT]] ([[UTC+13]]) |home= {{Rut|Auckland}} |score=25 – 34 |away={{Rut|Canterbury}} |try1=Rokocoko (2), Woodcock |con1=Brett (2) |pen1=Brett (2) |cards1 = James {{sin bin|10|20}} |try2=Carter, McCaw, Thorn, Whitelock |con2=Carter (4) |pen2=Carter (2) |stadium=[[Eden Park]], [[Auckland]] |attendance=43,678 |referee=Vinny Munro }}
Output:
Ranfurly Challenge | 19 February 2011 | Template:Rut | 25 – 34 | Template:Rut | Eden Park, Auckland | |
19:35 NZDT (UTC+13) | Try: Rokocoko (2), Woodcock Con: Brett (2) Pen: Brett (2) Cards: James 10' to 20' |
Try: Carter, McCaw, Thorn, Whitelock Con: Carter (4) Pen: Carter (2) |
Attendance: 43,678 Referee: Vinny Munro |
Extra time
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 –''' {{Rut|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 = {{Rut|Bay of Plenty}} | try1 = [[Ash Dixon|Dixon]] {{try|14}}<br />[[Solomone Funaki|Funaki]] {{try|21}}<br />[[Pouri Rakete-Stones|Rakete-Stones]] {{try|31}} | con1 = [[Lincoln McClutchie|McClutchie]] (3/3) {{kick|15|22|32}} | pen1 = [[Lincoln McClutchie|McClutchie]] (3/3) {{kick|29|37|63}}<br />[[Tiaan Falcon|Falcon]] (2/2) {{kick|80|84}} | try2 = [[Emoni Narawa|Narawa]] {{try|5}}<br />[[Luke Campbell (rugby union, born 1995)|Campbell]] {{try|18}}<br />[[Onisi Ratave|Ratave]] {{try|25|77}}<br />[[Sean Wainui|Wainui]] {{try|59}} | con2 = [[Kaleb Trask|Trask]] (2/3) {{kick|19|26}}<br />[[Otere Black|Black]] (2/2) {{kick|60|78}} | pen2 = [[Kaleb Trask|Trask]] (0/1) | stadium = {{Rus|McLean Park}} | referee = [[Paul Williams (referee)|Paul Williams]] ([[New Zealand Rugby Union|New Zealand]]) }}
19 September 2021 | RS – Template:Rut | 36–33 (a.e.t.) | Template:Rut | Template:Rus | ||
14:05 NZST | Try: Dixon 14' Funaki 21' Rakete-Stones 31' Con: McClutchie (3/3) 15' 22' 32' Pen: McClutchie (3/3) 29' 37' 63' Falcon (2/2) 80' 84' |
Report | Try: Narawa 5' Campbell 18' Ratave (2) 25' 77' Wainui 59' Con: Trask (2/3) 19' 26' Black (2/2) 60' 78' Pen: Trask (0/1) |
Referee: Paul Williams (NZR) |
Custom width
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]] {{flagicon|NZL}} |score=25 – 34 |away={{flagicon|NZL}} [[Crusaders (rugby union)|Crusaders]] |try1=Rokocoko (2), Woodcock |con1=Brett (2) |pen1=Brett (2) |cards1 = James {{sin bin|10|20}} |try2=Carter, McCaw, Thorn, 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) Cards: James 10' to 20' |
Try: Carter, McCaw, Thorn, Whitelock Con: Carter (4) Pen: Carter (2) |
Attendance: 43,678 Referee: Vinny Munro |
See also
- Template:Rugbybox – original version