Template:Infobox rugby league international tournament/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>Plastikspork
(→‎Example: Sync)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:18, 18 January 2023

This template's scope is the tournament articles of international rugby league football competitions, e.g. 2008 Rugby League World Cup.

Usage

{{Infobox rugby league international tournament
| year =            <!-- Year (left of title)-->
| title =           <!-- blank if tournament name = PAGE NAME -->
| yearr =           <!-- Year (right of title). [[WP:Rugby league]] consensus is for the year to be on left -->
| image =           <!-- "filename.ext" -->
| imagesize =       <!-- The default is "150px" unless a value is entered. -->
| alt  =            <!-- Text alternative for people who cannot see the image. Describe the image. -->
| caption =         <!-- Input will appear beneath image -->
| finalists =       <!-- Number of teams -->
| country =         <!-- The hosts. Plus: country2, 3, 4, 5  -->
| country-flagvar = <!-- Flag variants, just put the variant's code here -->
| winners =         <!-- automatically wraps into {{rl}} template. winners_other available for non-national teams e.g. PM's XIII  <!-- Plus: winners2, 3, 4, 5  -->
| winners-flagvar = <!-- Flag variants, just put the variant's code here e.g. "1928" or "4prov" -->
| count =           <!-- Number of times the winners have won the tournament -->
| runnerup =        <!-- automatically wraps into {{rl}} template. winners_other available for non-national teams e.g. PM's XIII -->
| runnerup-flagvar =<!-- Flag variants, just put the variant's code here -->
| matches =         <!-- This field allows averages (attendance, points, tries) so be aware if stats are updated match-by-match -->
| attendance = 
| points = 
| tries = 
| topscorer-flag =         <!-- Plus: topscorer2-flag, 3, 4, 5  -->
| topscorer-flagvar=       <!-- Plus: topscorer2-flagvar, 3, 4, 5  -->
| topscorer =              <!-- Plus: topscorer2, 3, 4, 5  -->
| top try scorer-flag =    <!-- Plus: top try scorer2-flag, 3, 4, 5  -->
| top try scorer-flagvar = <!-- Plus: top try scorer2-flagvar, 3, 4, 5  -->
| top try scorer =         <!-- Plus: top try scorer2, 3, 4, 5  -->
| tournaments =            <!-- Use as a link to list of previous tournaments -->
| last = 
| next = 
}}

Example

2008 (2008) World Cup  ()
File:Bad Title Example.png
Number of teams10
Host countryFile:Flag of Australia (converted).svg Australia
WinnerFile:Flag of New Zealand.svg New Zealand (Script error: No such module "Ordinal". title)

Matches played18
Attendance293,442 (16,302 per match)
Points scored890 (49.44 per match)
Tries scored156 (8.67 per match)
Top scorerFile:Flag of Australia (converted).svg Johnathan Thurston
Top try scorerFile:Flag of Australia (converted).svg Billy Slater
 < 2000
2013
{{Infobox rugby league international tournament
| year = 2008
| title = World Cup
| image = Bad Title Example.png
| imagesize =  160px | alt = 2008 World Cup logo
| finalists = 10
| country = Australia
| winners = New Zealand
| count = 1
| matches = 18
| attendance = 293442
| points = 890
| tries = 156
| topscorer-flag = AUS
| topscorer = [[Johnathan Thurston]]
| top try scorer-flag = AUS
| top try scorer = [[Billy Slater]]
| tournaments = Rugby League World Cup
| last = [[2000 Rugby League World Cup|2000]]
| next = [[2013 Rugby League World Cup|2013]]
}}

Blank version

{{Infobox rugby league international tournament
| year               = 
| title              = 
| image              = 
| imagesize          = 
| alt                = 
| finalists          = 
| country            = 
| winners            = 
| winners2           =
| count              = 
| matches            = 
| attendance         = 
| points             = 
| tries              = 
| topscorer-flag     = 
| topscorer          = <!-- [[player]] (x) -->
| top try scorer-flag= 
| top try scorer     = <!-- [[player]] (x) -->
| tournaments        = 
| last               = 
| next               = 
}}

Microformat

The HTML mark-up produced by this template includes an hCalendar microformat that makes event/date 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
  • description
  • dtend
  • dtstart
  • location
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.