Template:Infobox Rugby Sevens/doc

From The Global Wiki
< Template:Infobox Rugby Sevens
Revision as of 00:37, 18 November 2021 by en>Ham105 (→‎{{anchor|Canada Sevens}} Canada Sevens 2021 – complex example: round to 2 places)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

The Infobox Rugby Sevens template is used to summarise information about a particular event in a rugby sevens tournament, such as an event in the World Rugby Sevens Series.

Blank template

{{Infobox Rugby Sevens
| countries = 
| date = 
| champions1 =
| runnersup1 = 
| third1 =
| matches = 
| attendance = 
| tries = 
| top point scorer = 
| top try scorer = 
| prevseason = 
| nextseason =
}}

For backwards compatibility the parameter name third may also be used for third1.

Parameters for additional trophy competitions and place-getters

| champions2 =
| runnersup2 = 
| third2 =
| champions3 =
| runnersup3 = 
| third3 =
| champions4 =
| runnersup4 = 
| third4 =

Parameters for alternative trophy names and dates

| trophy1    = <!-- defaults to: Cup -->
| trophy2    = <!-- defaults to: Plate -->
| trophy3    = <!-- defaults to: Bowl -->
| trophy4    = <!-- defaults to: Shield -->
| date1 =
| date2 =
| date3 =
| date4 =

Additional optional parameters

| series = 
| image = 
| imagesize = 
| caption = 
| MVP =
| separate =
| headerstyle =

If the parameter separate is defined, e.g. separate=yes, the trophy section headings are formatted separately to the tournament details heading (default style: "background:light grey", but may be customised using the headerstyle parameter. See #Canada Sevens example below of this separate formatting.

Examples

World Series 2016–17 onward

Optional series sub-header, third place and Challenge Trophy - for example, the 2016 Dubai Sevens.

Infobox Rugby Sevens/doc
Sevens World Series XVIII
Host nationFile:Flag of the United Arab Emirates.svg United Arab Emirates
Date2–3 December 2016
Cup
ChampionFile:Flag of South Africa.svg South Africa
Runner-upFile:Flag of Fiji.svg Fiji
ThirdFile:Flag of England.svg England
Challenge
WinnerFile:Flag of the United States.svg United States
Tournament details
Matches played45
2015
2017
{{Infobox Rugby Sevens
| series = <small>'''[[2016–17 World Rugby Sevens Series|Sevens World Series XVIII]]'''</small>
| countries = {{flagicon|UAE}} United Arab Emirates
| date = 2–3 December 2016
| champions1 = {{ru7|RSA}}
| runnersup1 = {{ru7|FIJ}}
| third = {{ru7|ENG}}
| trophy2 = Challenge
| champions2 = {{ru7|USA}}
| matches = 45
| tries = 
| top point scorer = 
| top try scorer = 
| prevseason = [[2015 Dubai Sevens|2015]]
| nextseason = [[2017 Dubai Sevens|2017]]
}}

World Series 2015–16 and before

Optional series sub-header, and third place - for example, the 2013 Gold Coast Sevens.

Infobox Rugby Sevens/doc
IRB Sevens XV
Host nationFile:Flag of Australia (converted).svg Australia
Date12–13 October 2013
Cup
ChampionFile:Flag of New Zealand.svg New Zealand
Runner-upFile:Flag of Australia (converted).svg Australia
ThirdFile:Flag of England.svg England
Plate
WinnerFile:Flag of Fiji.svg Fiji
Runner-upFile:Flag of Kenya.svg Kenya
Bowl
WinnerFile:Flag of France.svg France
Runner-upFile:Flag of Canada (Pantone).svg Canada
Shield
WinnerFile:Flag of the United States.svg United States
Runner-upFile:Flag of Portugal.svg Portugal
Tournament details
Matches played45
Most pointsFile:Flag of New Zealand.svg Tomasi Cama
(47 points)
Most triesFile:Flag of New Zealand.svg Tim Mikkelson
(7 tries)
2012
2014
{{Infobox Rugby Sevens
| countries = {{flagicon|AUS}} Australia
| series = <small>'''[[2013–14 IRB Sevens World Series|IRB Sevens XV]]'''</small>
| date = 12-13 October 2013
| champions1 = {{ru7|NZL}}
| runnersup1 = {{ru7|AUS}}
| third = {{ru7|ENG}}
| champions2 = {{ru7|FIJ}}
| runnersup2 = {{ru7|KEN}}
| champions3 = {{ru7|FRA}}
| runnersup3 = {{ru7|CAN}}
| champions4 = {{ru7|USA}}
| runnersup4 = {{ru7|POR}}
| matches = 45
| tries = 
| top point scorer = {{flagicon|NZL}} [[Junior Tomasi Cama|Tomasi Cama]]<br><small>(47 points)</small>
| top try scorer = {{flagicon|NZL}} [[Tim Mikkelson]]<br><small>(7 tries)</small>
| prevseason = [[2012 Gold Coast Sevens|2012]]
| nextseason = [[2014 Gold Coast Sevens|2014]]
}}

Non-World Series

The 2016 Oceania Sevens Championship, showing use of name parameter:

2016 Oceania Sevens
Host nationFile:Flag of Fiji.svg Fiji
Date11–12 November
Cup
ChampionFile:Flag of Fiji.svg Fiji
Runner-upFile:Flag of Samoa.svg Samoa
ThirdFile:Flag of Australia (converted).svg Australia
2015
2017
{{Infobox Rugby Sevens
| name = 2016 Oceania Sevens
| countries = {{flagicon|FIJ}} Fiji
| date = 11–12 November
| champions1 = {{ru7|FIJ}}
| runnersup1 = {{ru7|SAM}}
| third = {{ru7|AUS}}
| prevseason = [[2015 Oceania Sevens Championship|2015]]
| nextseason = [[2017 Oceania Sevens Championship|2017]]
}}

Script error: No such module "anchor". Canada Sevens 2021 – complex example

Use of separate trophy section formatting (separate=yes) to summarise back-to-back tournaments together in the same infobox. A generic child infobox is also used to add tournament details for the Vancouver event.

2021 Canada Sevens
Sevens World Series XXII
Host nationCanada
Vancouver
Date18–19 September 2021
ChampionFile:Flag of Germany.svg Germany
Runner-upFile:Flag of Hong Kong.svg Hong Kong
ThirdFile:Flag of Japan.svg Japan
Tournament details
Matches played34
Tries scored60 (1.76 per match)
Most pointsFile:Flag of New Zealand.svg Tomasi Cama (47)
Most triesFile:Flag of New Zealand.svg Tim Mikkelson (7)
Edmonton
Date25–26 September 2021
ChampionFile:Flag of Japan.svg Japan
Runner-upFile:Flag of Uruguay.svg Uruguay
ThirdFile:Flag of Hong Kong.svg Hong Kong
Tournament details
Matches played45
Tries scored55 (average 1.22 per match)
Most pointsFile:Flag of New Zealand.svg Tomasi Cama (47)
Most triesFile:Flag of New Zealand.svg Tim Mikkelson (7)
2020
{{Infobox Rugby Sevens
| separate=yes
| name = 2021 Canada Sevens
| series = <small>'''[[2021 World Rugby Sevens Series|Sevens World Series XXII]]'''</small>
| countries = {{Runion|Canada}}
| trophy1= Vancouver
| date1= 18–19 September 2021
| champions1 = {{ru7|GER}}
| runnersup1 = {{ru7|HKG}}
| third1 = {{ru7|JPN}} {{Infobox|decat=yes|child=yes |autoheaders=yes 
 | header1= Tournament details
 | label2= Matches played |data2= 34
 | label3= Tries scored |data3= 60 ({{#expr: 60/34 round 2}} per match)
 | label4= Most points
 | data4= {{flagicon|NZL}} [[Junior Tomasi Cama|Tomasi Cama]] <small>(47)</small>
 | label5= Most tries
 | data5= {{flagicon|NZL}} [[Tim Mikkelson]] <small>(7)</small>
}}
| trophy2= Edmonton
| date2= 25–26 September 2021
| champions2 = {{ru7|JPN}}
| runnersup2 = {{ru7|URU}}
| third2 = {{ru7|HKG}}
| matches = 45
| tries = 55
| top point scorer = {{flagicon|NZL}} [[Junior Tomasi Cama|Tomasi Cama]] <small>(47)</small>
| top try scorer = {{flagicon|NZL}} [[Tim Mikkelson]] <small>(7)</small>
| prevseason = [[2020 Canada Sevens|2020]]
| nextseason =
}}