Jump to content

User:Eccy89/Template:DavisCupbox result/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Code for this template:

{{DavisCupbox
|align=<!-- left, right, center, none -->
|collapsed=<!-- default=uncollapsed; in sandbox only -->
|team1=
|team1-var=  //use if non-standard flag is needed. 
|team2=
|team2-var=
|round=
|date=
|venue=<!-- in the form of stadium or ground, city, country and surface in parentheses. You may consider adding a reference here -->
|score1=
|score2=
|result=<!-- W or L for use in national team result pages-->
|R1={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|R2={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|R3={{ TennisMatch |T1P1= |T1P2= | | | | | |T2P1= |T2P2= | | | | | }}
|R4={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|R5={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|}}
<!-- info 
use one of this TennisMatch's arguments if it is need:
|np=    not played
|nc=x   not completed; x is set when match ended
|wo=x   walkover; x is player's team number (1 or 2)
|re1=x  retired of player from team 1; x is set when match ended
|re2=x  retired of player from team 2; x is set when match ended
-->

Inputting scores: See {{TennisMatch}} for more information.