Difference between revisions of "Template:Infobox tennis circuit season"
Jump to navigation
Jump to search
(changed color to that of other major tennis templates) |
imported>Fyunck(click) (→top: added parameter of "star of tomorrow." This replaced ATP's "newcomer of the year" in 2013.) |
||
| (19 intermediate revisions by 9 users not shown) | |||
| Line 3: | Line 3: | ||
| title = {{{name|{{PAGENAME}}}}} | | title = {{{name|{{PAGENAME}}}}} | ||
| titleclass = summary | | titleclass = summary | ||
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} | |
| − | | image | ||
| caption = {{{image_caption|}}} | | caption = {{{image_caption|}}} | ||
| labelstyle = white-space: nowrap | | labelstyle = white-space: nowrap | ||
| datastyle = white-space: nowrap | | datastyle = white-space: nowrap | ||
| − | | headerstyle = background:# | + | | headerstyle = background:#ACE1AF; |
| subheader = {{#if:{{{edition|}}}|{{#if:{{{competition|}}}|{{ucfirst:{{Ordinal to word|{{{edition|}}}}}}} edition of the {{{competition|}}} }}}} | | subheader = {{#if:{{{edition|}}}|{{#if:{{{competition|}}}|{{ucfirst:{{Ordinal to word|{{{edition|}}}}}}} edition of the {{{competition|}}} }}}} | ||
| Line 22: | Line 21: | ||
| data5 = {{{categories|}}} | | data5 = {{{categories|}}} | ||
| − | | header6 = Achievements | + | | header6 = Achievements (singles) |
| label7 = Most tournament titles | | label7 = Most tournament titles | ||
| data7 = {{{most_tournament_titles|}}} | | data7 = {{{most_tournament_titles|}}} | ||
| Line 32: | Line 31: | ||
| data10 = {{{points_leader|}}} {{#if:{{{male_individual_champion_team|}}}|<small>({{{male_individual_champion_team|}}})</small> }} | | data10 = {{{points_leader|}}} {{#if:{{{male_individual_champion_team|}}}|<small>({{{male_individual_champion_team|}}})</small> }} | ||
| − | | header11 = Awards | + | | header11 = {{#if:{{{player_of_the_year|}}}{{{doubles_team_of_the_year|}}}{{{most_improved_player_of_the_year|}}}{{{newcomer_of_the_year|}}}{{{comeback_player_of_the_year|}}}|Awards}} |
| label12 = Player of the year | | label12 = Player of the year | ||
| data12 = {{{player_of_the_year|}}} | | data12 = {{{player_of_the_year|}}} | ||
| label13 = Doubles Team of the year | | label13 = Doubles Team of the year | ||
| data13 = {{{doubles_team_of_the_year|}}} | | data13 = {{{doubles_team_of_the_year|}}} | ||
| − | | label14 = Most improved player of the year | + | | label14 = Most improved <br/> player of the year |
| data14 = {{{most_improved_player_of_the_year|}}} | | data14 = {{{most_improved_player_of_the_year|}}} | ||
| label15 = Newcomer of the year | | label15 = Newcomer of the year | ||
| data15 = {{{newcomer_of_the_year|}}} | | data15 = {{{newcomer_of_the_year|}}} | ||
| − | | label16 = Comeback player of the year | + | | label16 = Star of tomorrow |
| − | | | + | | data16 = {{{star_of_tomorrow|}}} |
| + | | label17 = Comeback <br/> player of the year | ||
| + | | data17 = {{{comeback_player_of_the_year|}}} | ||
|below = {{#if:{{{previous|}}}|{{align|left|← {{{previous|}}} }}}}{{#if:{{{next|}}}|{{align|right|{{{next|}}} → }}}} | |below = {{#if:{{{previous|}}}|{{align|left|← {{{previous|}}} }}}}{{#if:{{{next|}}}|{{align|right|{{{next|}}} → }}}} | ||
}}</includeonly><noinclude>{{documentation}}</noinclude> | }}</includeonly><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 06:02, 19 November 2017
Usage
Template:Parameter names example
All attributes are optional. If {{{name}}} is omitted, it will be inferred from the page title.
This template is for tennis circuits i.e. a group of tennis tournaments organized by a tennis authority and held during a certain time period.
{{ Infobox tennis circuit season
<!-- Details -->
| name = name of tennis circuit
| image =
| image_caption =
| image_alt =
| image_size = in pixels
| duration = begin date – end date
| edition =
| tournaments = number of tournaments held during the season
| categories =
<!-- Achievements -->
| most_tournament_titles = flagicon + name of the player + (number of tournaments won)
| most_tournament_finals = flagicon + name of the player + (number of tournaments finals reached)
| most_match_wins = flagicon + name of the player + (number of matches won)
| prize_money_leader = flagicon + name of the player + (total prize money won)
| points_leader = flagicon + name of the player + (total points won)
<!-- Awards -->
| player_of_the_year =
| most_improved_player_of_the_year =
| newcomer_of_the_year =
| star_of_tomorrow =
| comeback_player_of_the_year =
| previous = wikilink to previous circuit / season [[year + tournament circuit name| previous year]]
| next = wikilink to next circuit / season [[year + tournament circuit name|next year]]
}}
Microformats
| The above documentation is transcluded from Template:Infobox tennis circuit season/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |