Difference between revisions of "Template:Hopman Cup box"
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
}}" | }}" | ||
|- | |- | ||
| − | !valign=top| {{hopman-big|{{{team1|}}}|2={{{team1-var|}}}|name={{{team1-name|}}}|size=45x32px}}<br/><big>{{{score1}}}</big> | + | !valign=top| {{#if:{{{team1-noflag|}}} |
| + | | <span class="flagicon" style="padding-left:45px;"> </span><br>[[{{{team1}}} at the Hopman Cup|{{{team1}}}]] | ||
| + | | {{hopman-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| {{hopman-big|{{{team2|}}}|2={{{team2-var|}}}|name={{{team2-name|}}}|size=45x32px}}<br/><big>{{{score2}}}</big> | + | !valign=top| {{#if:{{{team2-noflag|}}} |
| + | | <span class="flagicon" style="padding-left:45px;"> </span><br>[[{{{team2}}} at the Hopman Cup|{{{team2}}}]] | ||
| + | | {{hopman-big|{{{team2|}}}|2={{{team2-var|}}}|name={{{team2-name|}}}|size=45x32px}} | ||
| + | }}<br/><big>{{{score2}}}</big> | ||
|- | |- | ||
|colspan=6| | |colspan=6| | ||
| Line 24: | Line 30: | ||
|- bgcolor=#ededed | |- bgcolor=#ededed | ||
! 1 | ! 1 | ||
| − | | {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | + | | {{#if:{{{team1-noflag|}}} |
| + | |{{noflag}} | ||
| + | |{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}} | ||
| + | }}<br />{{#if:{{{team2-noflag|}}} | ||
| + | |{{noflag}} | ||
| + | |{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | ||
| + | }} | ||
|{{{R1}}} | |{{{R1}}} | ||
|- | |- | ||
! 2 | ! 2 | ||
| − | | {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | + | | {{#if:{{{team1-noflag|}}} |
| + | |{{noflag}} | ||
| + | |{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}} | ||
| + | }}<br />{{#if:{{{team2-noflag|}}} | ||
| + | |{{noflag}} | ||
| + | |{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | ||
| + | }} | ||
|{{{R2}}} | |{{{R2}}} | ||
|- bgcolor=#ededed | |- bgcolor=#ededed | ||
! 3 | ! 3 | ||
| − | | {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | + | | {{#if:{{{team1-noflag|}}} |
| + | |{{noflag}} | ||
| + | |{{flagicon|{{{team1|}}}|2={{{team1-var|}}}}} | ||
| + | }}<br />{{#if:{{{team2-noflag|}}} | ||
| + | |{{noflag}} | ||
| + | |{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}} | ||
| + | }} | ||
|{{{R3}}} | |{{{R3}}} | ||
| Line 42: | Line 66: | ||
'''Code for this template:''' | '''Code for this template:''' | ||
<pre> | <pre> | ||
| − | {{ | + | {{Hopman Cup box |
|align=<!-- left, right, center, none --> | |align=<!-- left, right, center, none --> | ||
|team1= | |team1= | ||
| Line 70: | Line 94: | ||
See {{tl|TennisMatch}} for more information. | See {{tl|TennisMatch}} for more information. | ||
| − | [[Category:Tennis tournaments infobox templates | + | [[Category:Tennis tournaments infobox templates]] |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 14:52, 29 January 2014
| File:Flag placeholder.svg [[at the Hopman Cup|]] {{{score1}}} |
{{{venue}}} {{{date}}} {{{surface}}} |
File:Flag placeholder.svg [[at the Hopman Cup|]] {{{score2}}} | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
Code for this template:
{{Hopman Cup box
|align=<!-- left, right, center, none -->
|team1=
|team2=
|venue=
|date=
|surface=
|score1=
|score2=
|R1={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|R2={{ TennisMatch |T1P1= | | | | | |T2P1= | | | | | }}
|R3={{ TennisMatch |T1P1= |T1P2= | | | | | |T2P1= |T2P2= | | | | | }}
|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
-->
Inputting scores: See {{TennisMatch}} for more information.