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

From blackwiki
Jump to navigation Jump to search
(Undid revision 593495293 by 176.179.236.222 (talk))
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
| bodyclass = vevent
+
| name      = {{subst:PAGENAME}}
| above   = {{{name|{{PAGENAME}}}}}
+
| bodyclass = vevent
| abovestyle=background:#465945; color:white;
+
| abovestyle = 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}}} }}]] }}
+
| above     = {{{name|{{PAGENAME}}}}}
| caption = {{{image_caption|}}}
+
| 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|}}}
 
| labelstyle = white-space: nowrap
 
| labelstyle = white-space: nowrap
| datastyle = white-space: nowrap
+
| datastyle = white-space: nowrap
| headerstyle = background:#465945; color:white;
+
| headerstyle= background:#465945; color:white;
  
 
| 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 03:14, 2 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