Jump to content

Template:DavisCupbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
SashatoBot (talk | contribs)
allow alternate name (e.g. "British Isles" instead of "Great Britain")
Line 1: Line 1:
{| cellpadding="4" cellspacing="0" style="margin: 0.5em 1em 0.5em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" width=70% align=center
{| cellpadding="4" cellspacing="0" style="margin: 0.5em 1em 0.5em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" width=70% align=center
|-
|-
!valign=top| {{davis-big|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}<br/><big>{{{score1}}}</big>
!valign=top| {{davis-big|{{{team1|}}}|2={{{team1-var|}}}|name={{{team1-name|}}}|size=45x32px}}<br/><big>{{{score1}}}</big>
|colspan=2 align=center| {{{venue}}}<br />{{{date}}}<br />{{{surface}}}
|colspan=2 align=center| {{{venue}}}<br />{{{date}}}<br />{{{surface}}}
!valign=top| {{davis-big|{{{team2|}}}|2={{{team2-var|}}}|size=45x32px}}<br/><big>{{{score2}}}</big>
!valign=top| {{davis-big|{{{team2|}}}|2={{{team2-var|}}}|name={{{team2-name|}}}|size=45x32px}}<br/><big>{{{score2}}}</big>
|-
|-
|colspan=6|
|colspan=6|

Revision as of 23:35, 8 June 2009


[[Davis Cup team|]]
{{{score1}}}
{{{venue}}}
{{{date}}}
{{{surface}}}

[[Davis Cup team|]]
{{{score2}}}
1 2 3 4 5
1
{{{R1}}}
2
{{{R2}}}
3
{{{R3}}}
4
{{{R4}}}
5
{{{R5}}}

Code for this template:

{{DavisCupbox
|team1=
|team2=
|venue=
|date=
|surface=
|score1=
|score2=
|R1={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|R2={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|R3={{ TennisMatch |T1P1= |T1P2= | | | | | |T2P1= |T2P2= | | | | | }}
|R4={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|R5={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|team1-var=  //use if non-standard flag is needed. 
|team2-var=
|}}
<!-- 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
-->