Template:Rugbybox/doc

Jump to navigation Jump to search

Description

Used to list the result of a Rugby match.

Blank template (for typical matches):

{{rugbybox
|id=
|date=
|time=
|home=
|score=
|away=
|report=
|try1=
|con1=
|pen1=
|drop1=
|try2=
|con2=
|pen2=
|drop2=
|stadium=
|attendance=
|referee=}}

Blank template (additional options)

|gfm2=
|gfm2=
|penalties1=
|penaltyscore=
|penalties2=

Sample usage:

{{rugbybox
|id="Cardiff Blues v Leicester Tigers"
|date=3 May 2009
|time=15:00
|home=[[Cardiff Blues]] {{flagicon|WAL}}
|score=26–26 ([[Extra time|a.e.t.]])
|away={{flagicon|ENG}} [[Leicester Tigers]]
|report=<!-- Optional --> <ref name="European Rugby Cup : Cardiff Blues v Leicester Tigers">{{cite news | url=http://www.ercrugby.com/eng/12_12558.php | title=European Rugby Cup : Cardiff Blues v Leicester Tigers | work=European Rugby Cup | date=3 May 2009 | archiveurl=https://web.archive.org/web/20090505115942/http://www.ercrugby.com/eng/12_12558.php | archivedate=5 May 2009 | url-status=dead | df=dmy-all}}</ref>
|try1=[[Jamie Roberts|Roberts]] 73' c<br />[[Tom James (rugby player)|James]] 74' c
|con1=[[Ben Blair|Blair]] (2/2)
|pen1=[[Ben Blair|Blair]] (2/2) 14', 33'<br />[[Leigh Halfpenny|Halfpenny]] 27', 35'
|drop1=
|gfm1= <!-- Used for old scoring system - Goal from Mark -->
|try2=[[Scott Hamilton (rugby union)|Hamilton]] 21' c<br />[[Geordan Murphy|G. Murphy]] 45' c
|con2=[[Julien Dupuy|Dupuy]] (2/2)
|pen2=[[Julien Dupuy|Dupuy]] (4/7) 24', 38', 54', 56'
|drop2=
|gfm2= <!-- Used for old scoring system - Goal from Mark -->
|stadium=[[Millennium Stadium]], [[Cardiff]]
|attendance=<!-- Optional -->
|referee=<!-- Optional -->
|penalties1=[[Ben Blair|Blair]] {{tick|13}}<br />[[Nick Robinson (rugby union)|N. Robinson]] {{tick|13}}<br />[[Leigh Halfpenny|Halfpenny]] {{tick|13}}<br />[[Ceri Sweeney|Sweeney]] {{tick|13}}<br />[[Tom James (rugby player)|James]] {{cross|13}}<br />[[Tom Shanklin|Shanklin]] {{tick|13}}<br />[[Richie Rees|Rees]] {{tick|13}}<br />[[Martyn Williams|M. Williams]] {{cross|13}}
|penaltyscore=6–7
|penalties2={{tick|13}} [[Julien Dupuy|Dupuy]]<br />{{tick|13}} [[Sam Vesty|Vesty]]<br />{{tick|13}} [[Geordan Murphy|G. Murphy]]<br />{{cross|13}} [[Johne Murphy|J. Murphy]]<br />{{tick|13}} [[Scott Hamilton (rugby union)|Hamilton]]<br />{{tick|13}} [[Aaron Mauger|Mauger]]<br />{{tick|13}} [[Craig Newby|Newby]]<br />{{tick|13}} [[Jordan Crane (rugby union)|Crane]] }}

Sample result:

3 May 2009
15:00
Cardiff Blues Template:Country data WAL26–26 (a.e.t.)England Leicester Tigers
Try: Roberts 73' c
James 74' c
Con: Blair (2/2)
Pen: Blair (2/2) 14', 33'
Halfpenny 27', 35'
[1]Try: Hamilton 21' c
G. Murphy 45' c
Con: Dupuy (2/2)
Pen: Dupuy (4/7) 24', 38', 54', 56'
Penalties
Blair ☑Y
N. Robinson ☑Y
Halfpenny ☑Y
Sweeney ☑Y
James ☒N
Shanklin ☑Y
Rees ☑Y
M. Williams ☒N
6–7☑Y Dupuy
☑Y Vesty
☑Y G. Murphy
☒N J. Murphy
☑Y Hamilton
☑Y Mauger
☑Y Newby
☑Y Crane
Millennium Stadium, Cardiff
Attendance: 44,212
Referee: Alain Rolland (Ireland)
  1. "European Rugby Cup : Cardiff Blues v Leicester Tigers". European Rugby Cup. 3 May 2009. Archived from the original on 5 May 2009.

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's or organisation's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

The hCard in this template uses at least some of these HTML classes:

  • fn (required)
  • nickname
  • org
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

Tracking category