Difference between revisions of "Template:Hopman Cup box"
Jump to navigation
Jump to search
imported>CGT dk (Right border fix) |
(add option to align left, right, none, or center) |
||
Line 1: | Line 1: | ||
− | {| cellpadding="4" cellspacing="0" style=" | + | {| cellpadding="4" 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% | ||
+ | }}" | ||
|- | |- | ||
!valign=bottom|{{#if:{{{team1-noflag|}}}| |{{flagicon|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}<br/>}}{{{team1}}}<br/><big>{{{score1}}}</big> | !valign=bottom|{{#if:{{{team1-noflag|}}}| |{{flagicon|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}<br/>}}{{{team1}}}<br/><big>{{{score1}}}</big> |
Revision as of 00:16, 19 September 2012
![]() {{{team1}}} {{{score1}}} |
{{{venue}}} {{{date}}} {{{surface}}} |
![]() {{{team2}}} {{{score2}}} | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Code for this template:
{{HopmanCupbox |team1= |team2= |venue= |date= |surface= |score1= |score2= |R1={{ TennisMatch3 |T1P1= | | | |T2P1= | | | }} |R2={{ TennisMatch3 |T1P1= | | | |T2P1= | | | }} |R3={{ TennisMatch3 |T1P1= |T1P2= | | | |T2P1= |T2P2= | | | }} }} <!-- info use one of this TennisMatch3'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 -->
cs:Šablona:HopmanCupbox id:Templat:HopmanCupbox sk:Šablóna:HopmanovPohárbox sr:Шаблон:Тенискуп