Template:Rugby box/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Description

[edit source]

Used to list the result of a rugby union match.

Blank template (for typical matches):

{{rugbybox
|id=
|date=
|time=
|team1=
|score=
|report=
|team2=
|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
|team1=[[Cardiff Blues]] {{flag icon|WAL}}
|score=26–26 ([[Extra time|a.e.t.]])
|team2={{flag icon|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 />[[Nicky 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:

  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Microformat

[edit source]

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

[edit source]