Difference between revisions of "Template:Infobox tennis circuit season"

From blackwiki
Jump to navigation Jump to search
(changed color to that of other major tennis templates)
(Undid revision 593452906 by 176.179.236.222 (talk) not quite that)
Line 3: Line 3:
 
| title  = {{{name|{{PAGENAME}}}}}
 
| title  = {{{name|{{PAGENAME}}}}}
 
| titleclass  = summary
 
| titleclass  = summary
| titlestyle=background:#465945; color:white;
 
 
| image  = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{image_size|220}}}px| {{#if:{{{image_caption|}}}|{{{image_caption}}} }} {{#if:{{{image_alt|<noinclude>-</noinclude>}}}|{!}alt={{{image_alt}}} }}]] }}
 
| image  = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{image_size|220}}}px| {{#if:{{{image_caption|}}}|{{{image_caption}}} }} {{#if:{{{image_alt|<noinclude>-</noinclude>}}}|{!}alt={{{image_alt}}} }}]] }}
 
| caption = {{{image_caption|}}}
 
| caption = {{{image_caption|}}}
 
| labelstyle = white-space: nowrap
 
| labelstyle = white-space: nowrap
 
| datastyle = white-space: nowrap
 
| datastyle = white-space: nowrap
| headerstyle  = background:#465945; color:white;
+
| 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|}}} }}}}

Revision as of 17:18, 1 February 2014

Template documentation[view] [edit] [history] [purge]

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

Template:UF-hcal