Difference between revisions of "Template:Infobox Tennis Grand Slam events/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>Rich Farmbrough
Line 3: Line 3:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<pre>
 
<pre>
{{GrandSlamEvents|||
+
{{Tennis Grand Slam events|||
 
  | defchamp =  
 
  | defchamp =  
 
  | champ  =  
 
  | champ  =  
Line 13: Line 13:
 
Use:
 
Use:
 
*When noting doubles events, after the "|" after "tournament", put: "'''s|'''" (that is not the letter l, but the character | found by pushing shift and slash) to add an s to runner-up and champion fields.
 
*When noting doubles events, after the "|" after "tournament", put: "'''s|'''" (that is not the letter l, but the character | found by pushing shift and slash) to add an s to runner-up and champion fields.
*After the '''<nowiki>{{Grand Slam Events|</nowiki>'''(not the letter l), enter the year of the tournament. The '''|''' (not the letter l) after that, enter the tournament name. After that '''|''' (not the letter l) is when the s should be entered, need be. Regardless, add a '''|''' (not the letter l) after the s or the tournament field when an s isn't used. Do not put these fields in '''[[]]'''. When entering the US Open, check to see whether the US has periods after the U and S or not, and enter it the way that it appears.
+
*After the '''<nowiki>{{Tennis Grand Slam events|</nowiki>'''(not the letter l), enter the year of the tournament. The '''|''' (not the letter l) after that, enter the tournament name. After that '''|''' (not the letter l) is when the s should be entered, need be. Regardless, add a '''|''' (not the letter l) after the s or the tournament field when an s isn't used. Do not put these fields in '''[[]]'''. When entering the US Open, check to see whether the US has periods after the U and S or not, and enter it the way that it appears.
 
*The ''defending champ'' field is where you enter '''<nowiki>{{flagicon|</nowiki>''' and the three-letter code or the name of the country where the previous year's champion or champions is/are from and then enter '''}}''' and a space, '''[[''', the player's name and then ''']]'''. If it is a team, enter <nowiki><br></nowiki> and do the same as this bullet for the other player's name.
 
*The ''defending champ'' field is where you enter '''<nowiki>{{flagicon|</nowiki>''' and the three-letter code or the name of the country where the previous year's champion or champions is/are from and then enter '''}}''' and a space, '''[[''', the player's name and then ''']]'''. If it is a team, enter <nowiki><br></nowiki> and do the same as this bullet for the other player's name.
 
*Do the same as ''defending champ'' for ''champ'' and ''runner'' except the country of the runner up and the name of the runner up instead of that of the champion's.
 
*Do the same as ''defending champ'' for ''champ'' and ''runner'' except the country of the runner up and the name of the runner up instead of that of the champion's.

Revision as of 18:29, 2 July 2009

This template is for Grand Slam events. For other mixed competitions, e.g. for Indian Wells, Miami, Rome, Canada and Cincinnati, please use Template:TennisEvents instead. For men's only or women's only competitions, e.g. for Monte Carlo, Hamburg, Stockholm/Essen/Stuttgart/Madrid and Paris, please use Template:TennisEvents2 instead. There is also Template:TennisEvents3 which is used for the Regions Morgan Keegan Championships and the Cellular South Cup.

{{Tennis Grand Slam events|||
 | defchamp = 
 | champ  = 
 | runner = 
 | score  = 
}}

Use:

  • When noting doubles events, after the "|" after "tournament", put: "s|" (that is not the letter l, but the character | found by pushing shift and slash) to add an s to runner-up and champion fields.
  • After the {{Tennis Grand Slam events|(not the letter l), enter the year of the tournament. The | (not the letter l) after that, enter the tournament name. After that | (not the letter l) is when the s should be entered, need be. Regardless, add a | (not the letter l) after the s or the tournament field when an s isn't used. Do not put these fields in [[]]. When entering the US Open, check to see whether the US has periods after the U and S or not, and enter it the way that it appears.
  • The defending champ field is where you enter {{flagicon| and the three-letter code or the name of the country where the previous year's champion or champions is/are from and then enter }} and a space, ''', the player's name and then '''. If it is a team, enter <br> and do the same as this bullet for the other player's name.
  • Do the same as defending champ for champ and runner except the country of the runner up and the name of the runner up instead of that of the champion's.
  • For score, enter the score that the champion beat the runner-up.