Difference between revisions of "Template:DavisCupbox"
Jump to navigation
Jump to search
(-wt sp, cap cap) |
imported>S.A. Julio m (adjust variant) |
||
| (17 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| cellpadding=" | + | {| cellpadding="3" cellspacing="0" style="background: #f9f9f9; border: 1px #aaa solid; font-size: 95%; {{#switch:{{{align|}}} |
| + | |left=float: left; margin-left: 0; margin-right: 1em; width: 30em; | ||
| + | |right=float: right; margin-right: 0; margin-left: 1em; width: 30em; | ||
| + | |center=float: none; margin-left: auto; margin-right: auto; width: 70% | ||
| + | |none=float: none; width: 70% | ||
| + | |#default = float: none; width: 70% | ||
| + | }}" | ||
|- | |- | ||
| − | ! | + | !style="vertical-align:top;"| {{davis-big|{{{team1|}}}|2={{{team1-var|}}}|name={{{team1-name|}}}|size=45x32px}}<br/><big>{{{score1}}}</big> |
| − | |colspan=2 align | + | | colspan=2 style="text-align:center;" | {{{venue}}}<br />{{{date}}}<br />{{{surface}}} |
| − | ! | + | !style="vertical-align:top;"| {{davis-big|{{{team2|}}}|2={{{team2-var|}}}|name={{{team2-name|}}}|size=45x32px}}<br/><big>{{{score2}}}</big> |
|- | |- | ||
|colspan=6| | |colspan=6| | ||
{|cellpadding="0" cellspacing="0" style="margin: 0.5em 1em 0.5em 0; background: #f9f9f9;" width=100% | {|cellpadding="0" cellspacing="0" style="margin: 0.5em 1em 0.5em 0; background: #f9f9f9;" width=100% | ||
| − | |- align | + | |- style="text-align:left;background-color:#EAE3D8;" |
!width=3%| | !width=3%| | ||
! | ! | ||
| Line 18: | Line 24: | ||
!width=12%| | !width=12%| | ||
| − | |- | + | |- style="background-color:#ededed;" |
! 1 | ! 1 | ||
| − | | {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | + | | {{flagicon|{{{team1|}}}|2={{{team1-var|{{#switch:{{{team1|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|{{#switch:{{{team2|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}} |
|{{{R1}}} | |{{{R1}}} | ||
|- | |- | ||
! 2 | ! 2 | ||
| − | | {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | + | | {{flagicon|{{{team1|}}}|2={{{team1-var|{{#switch:{{{team1|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|{{#switch:{{{team2|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}} |
|{{{R2}}} | |{{{R2}}} | ||
| − | |- | + | |- style="background-color:#ededed;" |
! 3 | ! 3 | ||
| − | | {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | + | | {{flagicon|{{{team1|}}}|2={{{team1-var|{{#switch:{{{team1|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|{{#switch:{{{team2|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}} |
|{{{R3}}} | |{{{R3}}} | ||
|- | |- | ||
! 4 | ! 4 | ||
| − | | {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | + | | {{flagicon|{{{team1|}}}|2={{{team1-var|{{#switch:{{{team1|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|{{#switch:{{{team2|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}} |
|{{{R4}}} | |{{{R4}}} | ||
| − | |- | + | |- style="background-color:#ededed;" |
! 5 | ! 5 | ||
| − | | {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | + | | {{flagicon|{{{team1|}}}|2={{{team1-var|{{#switch:{{{team1|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|{{#switch:{{{team2|}}}|WIN|Caribbean/West Indies|West Indies=tennis}}}}}}} |
|{{{R5}}} | |{{{R5}}} | ||
| Line 49: | Line 55: | ||
<pre> | <pre> | ||
{{DavisCupbox | {{DavisCupbox | ||
| + | |align=<!-- left, right, center, none --> | ||
|team1= | |team1= | ||
| + | |team1-var= //use if non-standard flag is needed. | ||
|team2= | |team2= | ||
| + | |team2-var= | ||
|venue= | |venue= | ||
|date= | |date= | ||
| Line 61: | Line 70: | ||
|R4={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }} | |R4={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }} | ||
|R5={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }} | |R5={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }} | ||
| − | |||
| − | |||
|}} | |}} | ||
<!-- info | <!-- info | ||
| Line 77: | Line 84: | ||
See {{tl|TennisMatch}} for more information. | See {{tl|TennisMatch}} for more information. | ||
| − | [[Category:Tennis tournaments infobox templates | + | [[Category:Tennis tournaments infobox templates]] |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | |||
| + | |||
| + | |||
</noinclude> | </noinclude> | ||
Latest revision as of 05:44, 17 December 2019
[[Davis Cup team|]] {{{score1}}} |
{{{venue}}} {{{date}}} {{{surface}}} |
[[Davis Cup team|]] {{{score2}}} | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
Code for this template:
{{DavisCupbox
|align=<!-- left, right, center, none -->
|team1=
|team1-var= //use if non-standard flag is needed.
|team2=
|team2-var=
|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= | | | | | }}
|}}
<!-- 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.