Difference between revisions of "Template:FedCupbox3"
Jump to navigation
Jump to search
imported>Plastikspork (Add ifexist) |
imported>Plastikspork (Fix spacers) |
||
| 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 | ||
|- | |- | ||
| − | !style="vertical-align:top;"| {{#ifexist:Template:Country data {{{team1|}}}|{{fed-big|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}|{{{team1|}}}}}<br/><big>{{{score1}}}</big> | + | !style="vertical-align:top;"| {{#ifexist:Template:Country data {{{team1|}}}|{{fed-big|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}|<div class="flagicon" style="width:45px;height:32px;"> </div>{{{team1|}}}}}<br/><big>{{{score1}}}</big> |
| colspan=2 style="text-align:center;" | {{{venue}}}<br />{{{date}}}<br />{{{surface}}} | | colspan=2 style="text-align:center;" | {{{venue}}}<br />{{{date}}}<br />{{{surface}}} | ||
| − | !style="vertical-align:top;"| {{#ifexist:Template:Country data {{{team2|}}}|{{fed-big|{{{team2|}}}|2={{{team2-var|}}}|size=45x32px}}|{{{team2|}}}}}<br/><big>{{{score2}}}</big> | + | !style="vertical-align:top;"| {{#ifexist:Template:Country data {{{team2|}}}|{{fed-big|{{{team2|}}}|2={{{team2-var|}}}|size=45x32px}}|<div class="flagicon" style="width:45px;height:32px;"> </div>{{{team2|}}}}}<br/><big>{{{score2}}}</big> |
|- | |- | ||
|colspan=6| | |colspan=6| | ||
| Line 20: | Line 20: | ||
|- style="background-color:#ededed;" | |- style="background-color:#ededed;" | ||
! 1 | ! 1 | ||
| − | | {{#ifexist:Template:Country data {{{team1|}}}|{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}|{{ | + | | {{#ifexist:Template:Country data {{{team1|}}}|{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}|{{noflag}}}}<br />{{#ifexist:Template:Country data {{{team2|}}}|{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}}|{{noflag}}}} |
|{{{R1}}} | |{{{R1}}} | ||
|- | |- | ||
! 2 | ! 2 | ||
| − | | {{#ifexist:Template:Country data {{{team1|}}}|{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}|{{ | + | | {{#ifexist:Template:Country data {{{team1|}}}|{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}|{{noflag}}}}<br />{{#ifexist:Template:Country data {{{team2|}}}|{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}}|{{noflag}}}} |
|{{{R2}}} | |{{{R2}}} | ||
|- style="background-color:#ededed;" | |- style="background-color:#ededed;" | ||
! 3 | ! 3 | ||
| − | | {{#ifexist:Template:Country data {{{team1|}}}|{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}|{{ | + | | {{#ifexist:Template:Country data {{{team1|}}}|{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}|{{noflag}}}}<br />{{#ifexist:Template:Country data {{{team2|}}}|{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}}|{{noflag}}}} |
|{{{R3}}} | |{{{R3}}} | ||
|} | |} | ||
Revision as of 22:45, 25 June 2016
[[Fed Cup team|]] {{{score1}}} |
{{{venue}}} {{{date}}} {{{surface}}} |
[[Fed Cup team|]] {{{score2}}} | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
Code
{{FedCupbox3
|team1=
|team2=
|venue=
|date=
|surface=
|score1=
|score2=
|R1={{ TennisMatch3 |T1P1= | | | |T2P1= | | | }}
|R2={{ TennisMatch3 |T1P1= | | | |T2P1= | | | }}
|R3={{ TennisMatch3 |T1P1= |T1P2= | | | |T2P1= |T2P2= | | | }}
}}
Optional parameters
Use one of TennisMatch3's arguments if needed:
|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
|team1-var= for alternate flag variant
See also
- Template:FedCupbox for best-of-5-match ties
| The above documentation is transcluded from Template:FedCupbox3/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |