Difference between revisions of "Template:Draw links"

From blackwiki
Jump to navigation Jump to search
imported>Somnifuguist
(Created template)
 
imported>Somnifuguist
(fixed noinclude)
Line 28: Line 28:
 
}})</small>
 
}})</small>
  
 +
<noinclude>
 
==Usage==
 
==Usage==
 
{{tnull|Draw links|YYYY tournament name|event1{{=}}|event2{{=}}|...|white{{=}}}}  
 
{{tnull|Draw links|YYYY tournament name|event1{{=}}|event2{{=}}|...|white{{=}}}}  

Revision as of 12:35, 3 October 2020

()


Usage

{{Draw links|YYYY tournament name|event1=|event2=|...|white=}}

Used to simplify the linking of tennis tournaments' events' draws in templates such as Template:2019 WTA Tour

The following are the optional parameters for the different events in the tournament:

  • |S=1 Singles (for single-sex tournaments)
  • |MS=1 Men's singles
  • |WS=1 Women's singles
  • |D=1 Doubles (for single-sex tournaments)
  • |MD=1 Men's doubles
  • |WD=1 Women's doubles
  • |X=1 Mixed doubles

The optional parameter |white=1 sets the colour of the links' text to white.

(e.g. for Women's singles and doubles at the 2020 Italian Open, use {{Draw links|2020 Italian Open|WS=1|WD=1}}, which renders as: (S, D)

Note: the tournament name is the one used in the events' draw articles themselves, which doesn't always correspond with that of the parent tournament article.