Difference between revisions of "Template:FedCupbox"
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=" | + | {| 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> | ||
| − | {{ | + | {{documentation}} |
| − | [[Category:Tennis tournaments infobox templates | + | [[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}}} | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
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
| The above documentation is transcluded from Template:FedCupbox/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. |