User:Eccy89/Template:DavisCupbox result: Difference between revisions
Appearance
Content deleted Content added
change round and venue |
added padding |
||
Line 8: | Line 8: | ||
|- style="color:inherit;background-color:{{#switch:{{{result|}}}|W=#98fb98|L=#ffa07a|#default=inherit}};" |
|- style="color:inherit;background-color:{{#switch:{{{result|}}}|W=#98fb98|L=#ffa07a|#default=inherit}};" |
||
! style="text-align:right;"| {{davis-big|{{{team1|}}}|2={{{team1-var|}}}|name={{{team1-name|}}}|size=45x32px}} |
! style="text-align:right;"| {{davis-big|{{{team1|}}}|2={{{team1-var|}}}|name={{{team1-name|}}}|size=45x32px}} |
||
! style="vertical-align:center; padding-left |
! style="vertical-align:center; padding-left:2em"| <big>{{{score1}}}</big> |
||
| style="text-align:left;" | {{{round}}} <br/> {{{venue}}} |
| style="text-align:left; padding-left:2em" | {{{round}}} <br/> {{{venue}}} |
||
| style="text-align:right;" | {{{date}}} <br/> {{{surface}}} |
| style="text-align:right; padding-right:2em" | {{{date}}} <br/> {{{surface}}} |
||
! style="vertical-align:center; |
! style="vertical-align:center; padding-right:2em"| <big>{{{score2}}}</big> |
||
! style="text-align:left;"| {{davis-big|{{{team2|}}}|2={{{team2-var|}}}|name={{{team2-name|}}}|size=45x32px}} |
! style="text-align:left;"| {{davis-big|{{{team2|}}}|2={{{team2-var|}}}|name={{{team2-name|}}}|size=45x32px}} |
||
|- |
|- |
Revision as of 12:25, 21 September 2024
[[Davis Cup team|]] |
{{{score1}}} | {{{round}}} {{{venue}}} |
{{{date}}} {{{surface}}} |
{{{score2}}} | [[Davis Cup team|]] | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Usage
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.