Difference between revisions of "Template:FedCupbox3"

From blackwiki
Jump to navigation Jump to search
imported>Woohookitty
(cat)
imported>WOSlinker
(tidy style for better HTML5 compatibility)
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
 
|-  
 
|-  
!valign=top| {{fed-big|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}<br/><big>{{{score1}}}</big>
+
!style="vertical-align:top;"| {{fed-big|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}<br/><big>{{{score1}}}</big>
|colspan=2 align=center| {{{venue}}}<br />{{{date}}}<br />{{{surface}}}
+
| colspan=2 style="text-align:center;" | {{{venue}}}<br />{{{date}}}<br />{{{surface}}}
!valign=top| {{fed-big|{{{team2|}}}|2={{{team2-var|}}}|size=45x32px}}<br/><big>{{{score2}}}</big>
+
!style="vertical-align:top;"| {{fed-big|{{{team2|}}}|2={{{team2-var|}}}|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%
 
<!-- head -->
 
<!-- head -->
|- align=left bgcolor=#EAE3D8
+
|- style="text-align:left;background-color:#EAE3D8;"
 
!width=3%|
 
!width=3%|
 
!
 
!
Line 18: Line 18:
 
|-
 
|-
  
|- bgcolor=#ededed
+
|- style="background-color:#ededed;"
 
! 1
 
! 1
 
| {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}}
 
| {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}}
Line 28: Line 28:
 
|{{{R2}}}  
 
|{{{R2}}}  
  
|- bgcolor=#ededed
+
|- style="background-color:#ededed;"
 
! 3
 
! 3
 
| {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}}
 
| {{flagicon|{{{team1|}}}|2={{{team1-var|}}}}}<br />{{flagicon|{{{team2|}}}|2={{{team2-var|}}}}}
Line 35: Line 35:
 
|}<noinclude>
 
|}<noinclude>
 
{{template doc}}
 
{{template doc}}
[[Category:Tennis tournaments infobox templates|{{PAGENAME}}]]
+
[[Category:Tennis tournaments infobox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 13:57, 5 January 2015


[[Fed Cup team|]]
{{{score1}}}
{{{venue}}}
{{{date}}}
{{{surface}}}

[[Fed Cup team|]]
{{{score2}}}
1 2 3
1
{{{R1}}}
2 File:Flag placeholder.svg
File:Flag placeholder.svg
{{{R2}}}
3 File:Flag placeholder.svg
File:Flag placeholder.svg
{{{R3}}}

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