Difference between revisions of "Template:FedCupbox"

From blackwiki
Jump to navigation Jump to search
imported>Infovarius
(ru)
(add option to align left, right, none, or center)
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="background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; 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=top| {{fed-big|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}<br/><big>{{{score1}}}</big>
 
!valign=top| {{fed-big|{{{team1|}}}|2={{{team1-var|}}}|size=45x32px}}<br/><big>{{{score1}}}</big>
Line 44: Line 50:
 
|}
 
|}
 
|}<noinclude>
 
|}<noinclude>
{{template doc}}
+
{{documentation}}
[[Category:Tennis tournaments infobox templates|{{PAGENAME}}]]
+
[[Category:Tennis tournaments infobox templates]]
  
 
[[ru:Template:FedCupbox]]
 
[[ru:Template:FedCupbox]]
 
</noinclude>
 
</noinclude>

Revision as of 00:15, 19 September 2012


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

[[Fed Cup team|]]
{{{score2}}}
1 2 3
1
{{{R1}}}
2
{{{R2}}}
3
{{{R3}}}
4
{{{R4}}}
5
{{{R5}}}
Template documentation[view] [edit] [history] [purge]

Code for this template:

{{FedCupbox
|align=<!-- left, right, center, none -->
|team1=
|team2=
|venue=
|date=
|surface=
|score1=
|score2=
|R1={{ TennisMatch3 |T1P1= | | |  |T2P1= | | | }}
|R2={{ TennisMatch3 |T1P1= | | |  |T2P1= | | | }}
|R3={{ TennisMatch3 |T1P1= | | |  |T2P1= | | | }}
|R4={{ TennisMatch3 |T1P1= | | |  |T2P1= | | | }}
|R5={{ TennisMatch3 |T1P1= |T1P2= | | | |T2P1= |T2P2= | | | }}
|flag1-alt=  //use if non-standard flag is needed.
|flag2-alt=
|team1-alt=  //use if non-standard name is needed (ie. USSR in title, link to Russia page).
|team2-alt=
|}}
<!-- info
use one of these TennisMatch arguments if it is required:
|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
|mtb= third set decided by match tiebreak
-->

See also

ru:Template:FedCupbox