Merry Christmas from the IIWiki Team! Have a happy new year!
Template:Infobox football tournament season/doc: Difference between revisions
Jump to navigation
Jump to search
en>Zyxw (separate examples and parameter descriptions, show code for each example) |
m (1 revision imported) |
Latest revision as of 23:53, 5 March 2019
This is a documentation subpage for Template:Infobox football tournament season. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This infobox can be used for a tournament in a particular season.
Usage
All attributes are optional.
{{Infobox football tournament season | title = | year = <!-- or |yearr= --> | other_titles = | image = | image_size = | caption = | country = | dates = <!-- or |date= --> | venue = | num_teams = | defending_champions = | champions = | count = | runner-up = | third = <!-- or |semi-finalist1= --> | fourth = <!-- or |semi-finalist2= --> | continentalcup1 = | continentalcup1_qualifiers = | continentalcup2 = | continentalcup2_qualifiers = | champ_match_score = | matches = | goals = | attendance = | top_goal_scorer = | player_label = | player = | prevseason = | nextseason = | updated = | extra_information = }}
Parameters
- title
- List the common name of the tournament in English.
- year
- The year in which the tournament was played. Do not include months or other date values. If the tournament is played over two or more calendar years, as occurs with some derbies, please separate the years with an unspaced en-dash: :2009–08 not 2009-08 or 2009 – 08. See also dates below.
- other_titles
- Other names by which the tournament is known including the native language of the tournament host nation.
- image
- Just the image file name, with no [[Image:]].
- imagesize
- Image size (include the "px").
- caption
- The caption text to be displayed below the image. If no image is supplied, this parameter will be ignored.
- country
- The country in which the tournament was hosted. Per WP:INFOBOXFLAG, do not use flags to represent the countries. Per WP:OVERLINK, do not link the country names.
- dates
- If the tournament is over a short period of time, dates should be displayed. Use the appropriate date format for the host nation and separate the range with an unspaced en-dash.
- num_teams
- The number of teams involved in all stages of the tournament
- defending champions
- The name of the team the title holder linked to the team's primary article and piped to avoid terms such as F.C. ,etc. [[Manchester United F.C.|Manchester United]] not [[Manchester United F.C.]] or [[Manchester United]]. If this is a national team, flags should not be displayed per WP:INFOBOXFLAG unless the teams represented those nations at the tournament.
- champions
- The name of the winning team linked in the same way as the defending champions.
- runner-up
- The second-place team linked in the same way as the champions.
- third
- The third-place team linked in the same way as the champions.
- fourth
- The fourth-place team linked in the same way as the champions.
- semi-finalist1
- semi-finalist2
- The two semi-finalists, linked in the same way as the champions, for those tournaments that do not have a third place playoff to determine the third- and fourth-place teams. These parameters will become disabled if either the third or fourth-place parameters are used.
- continentalcup1
- The name of the continental cup. Two sets of continental cups, continentalcup1 and continentalcup2 may be supplied.
- continentalcup1 qualifiers
- The specific cup. Two sets of continental cup qualifiers, continentalcup1 qualifiers and continentalcup2 qualifiers may be supplied.
- matches
- The number of matches played in the tournament that season. Any replays should be counted as additional matches to the initial tie. A two-legged tie should be counted as two matches. Abandoned or void matches should not normally be counted, though a footnote could be added for clarification.
- goals
- Total number of goals scored. If the matches parameter is provided, the template will also display the mean number of goals per match.
- attendance
- Total attendance for all matches, without comma separators. If the matches parameter is provided, the template will also display the mean attendance per match. Use the {{expr}} template to simplify the calculation. {{#expr: (+21000 + 18078 + 19612 + 19967 + 19823 + 21000)}} yields 119480
- top goal scorer
- If he/she has an article, the player should be linked. If more than one player has scored the same number of goals, they should be separated by commas. Goals may be displayed in parenthesis behind the player name.
- player
- Best player of the tournament. If he/she has an article, the player should be linked. Per WP:INFOBOXFLAG do not present the player's nationality with a flag unless this is an international tournament and the player is representing that nation.
- prevseason
- The previous season of the tournament. If no article exists, do not link.
- nextseason
- The next season of the tournament. If no article exists, do not link.
- extra information
- Any extra information on the tournament, if any.
- updated
- Matchday at which statistics were updated.
Examples
Copa Wikipedia | |
Country | Paraguay |
---|---|
Dates | 7–11 August 2007 |
Teams | 4 |
Defending champions | Manchester City |
Champions | Portland Thorns |
Runners-up | Manchester United |
Third place | LA Galaxy |
Fourth place | Leicester City |
Cup label | Cup name |
Matches played | 6 |
Goals scored | 42 (7 per match) |
Attendance | 119,480 (19,913 per match) |
Top goal scorer(s) | Christine Sinclair (7 goals) |
Best player | Bryan Robson |
← 2006 2008 →
All statistics correct as of 11 August 2007.Goals scored in penalty shoot-outs not included. |
{{Infobox football tournament season | title = Wikipedia Cup | year = 2007 | other_titles = Copa Wikipedia | image = Soccerball.svg | imagesize = 100px | caption = Caption for the image | country = Paraguay | dates = 7–11 August 2007 | num_teams = 4 | defending champions = [[Manchester City F.C.|Manchester City]] | champions = [[Portland Thorns FC|Portland Thorns]] | runner-up = [[Manchester United F.C.|Manchester United]] | third = [[LA Galaxy]] | fourth = [[Leicester City F.C.|Leicester City]] | continentalcup1 = Cup label | continentalcup1 qualifiers = Cup name | matches = 6 | goals = 42 | attendance = {{#expr: (+21000 + 18078 + 19612 + 19967 + 19823 + 21000)}} | top goal scorer = [[Christine Sinclair]] <small>(7 goals)</small> | player = [[Bryan Robson]] | prevseason = 2006 | nextseason = 2008 | extra information = Goals scored in penalty shoot-outs not included. | updated = 11 August 2007 }}
Dates | April 5, 2014 |
---|---|
Teams | 4 |
Defending champions | LA Galaxy |
Champions | Toronto FC |
Runners-up | Montreal Impact |
Semi-finalists | |
← 2013 2015 → |
{{Infobox football tournament season <!-- Example using the semi-finalist paramaters --> | title = Wikipedia Final Four | year = 2014 | image = Soccerball.svg | imagesize = 100px | caption = Caption for the image | dates = April 5, 2014 | num_teams = 4 | defending champions = [[LA Galaxy]] | champions = [[Toronto FC]] | runner-up = [[Montreal Impact]] | semi-finalist1 = [[D.C. United]] | semi-finalist2 = [[Chicago Fire Soccer Club|Chicago Fire]] | prevseason = 2013 | nextseason = 2015 }}
Tracking category
See also