Difference between revisions of "Template:FedCupbox"
Jump to navigation
Jump to search
imported>Spyder Monkey m (cat) |
imported>Kedarus |
||
| 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 | ||
| − | |- | + | |- |
| − | !width=10% valign=top| {{#if: {{{team1|}}} | {{border|{{flagicon|{{{team1}}}|size=40px}} }} | }} | + | !width=10% valign=top| {{#if: {{{team1|}}} | {{#if: {{{flag1-alt|}}} | {{border|[[Image:{{{flag1-alt}}}|40px]]}} | {{border|{{flagicon|{{{team1}}}|size=40px}} }} }} | }} |
| − | !width=40% | {{#if: {{{team1|}}} | [[{{{team1}}} | + | !width=40% | {{#if: {{{team1|}}} | {{#if: {{{team1-alt|}}} | [[{{{team1-alt}}}|{{{team1}}}]] | [[{{{team1}}} Davis Cup team|{{{team1}}}]] }} | }} |
!align=left|{{{score1}}} | !align=left|{{{score1}}} | ||
!align=right|{{{score2}}} | !align=right|{{{score2}}} | ||
| − | !width=40% | {{#if: {{{team2|}}} | [[{{{team2}}} | + | !width=40% | {{#if: {{{team2|}}} | {{#if: {{{team2-alt|}}} | [[{{{team2-alt}}}|{{{team2}}}]] | [[{{{team2}}} Davis Cup team|{{{team2}}}]] }} | }} |
| − | !width=10% valign=top| {{#if: {{{team2|}}} | {{border|{{flagicon|{{{team2}}}|size=40px}} }} | }} | + | !width=10% valign=top| {{#if: {{{team2|}}} | {{#if: {{{flag2-alt|}}} | {{border|[[Image:{{{flag2-alt}}}|40px]]}} | {{border|{{flagicon|{{{team2}}}|size=40px}} }} }} | }} |
|- | |- | ||
|colspan=6 align=center| {{{venue}}}<br />{{{date}}}<br />{{{surface}}} | |colspan=6 align=center| {{{venue}}}<br />{{{date}}}<br />{{{surface}}} | ||
|- | |- | ||
| − | |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 --> | ||
| Line 17: | Line 17: | ||
! | ! | ||
!width=57%| | !width=57%| | ||
| − | !width=7%|1 | + | !width=7%|1 |
| − | !width=7%|2 | + | !width=7%|2 |
!width=21%|3 | !width=21%|3 | ||
|- | |- | ||
| Line 25: | Line 25: | ||
|- bgcolor=#ededed | |- bgcolor=#ededed | ||
! 1 | ! 1 | ||
| − | | {{#if: {{{team1|}}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} | }}<br />{{#if: {{{team2|}}} | {{border|{{flagicon|{{{team2}}}|size=20px}}}} | }} | + | | {{#if: {{{team1|}}} | {{#if: {{{flag1-alt|}}} | {{border|[[Image:{{{flag1-alt}}}|20px]]}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} }} | }}<br />{{#if: {{{team2|}}} | {{#if: {{{flag2-alt|}}} | {{border|[[Image:{{{flag2-alt}}}|20px]]}} | {{border|{{flagicon|{{{team2}}}|size=20px}} }} }} | }} |
| − | {{{R1}}} | + | |{{{R1}}} |
|- | |- | ||
| Line 32: | Line 32: | ||
|- | |- | ||
! 2 | ! 2 | ||
| − | | {{#if: {{{team1|}}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} | }}<br />{{#if: {{{team2|}}} | {{border|{{flagicon|{{{team2}}}|size=20px}}}} | }} | + | | {{#if: {{{team1|}}} | {{#if: {{{flag1-alt|}}} | {{border|[[Image:{{{flag1-alt}}}|20px]]}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} }} | }}<br />{{#if: {{{team2|}}} | {{#if: {{{flag2-alt|}}} | {{border|[[Image:{{{flag2-alt}}}|20px]]}} | {{border|{{flagicon|{{{team2}}}|size=20px}} }} }} | }} |
| − | {{{R2}}} | + | |{{{R2}}} |
|- | |- | ||
| Line 39: | Line 39: | ||
|- bgcolor=#ededed | |- bgcolor=#ededed | ||
! 3 | ! 3 | ||
| − | | {{#if: {{{team1|}}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} | }}<br />{{#if: {{{team2|}}} | {{border|{{flagicon|{{{team2}}}|size=20px}}}} | }} | + | | {{#if: {{{team1|}}} | {{#if: {{{flag1-alt|}}} | {{border|[[Image:{{{flag1-alt}}}|20px]]}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} }} | }}<br />{{#if: {{{team2|}}} | {{#if: {{{flag2-alt|}}} | {{border|[[Image:{{{flag2-alt}}}|20px]]}} | {{border|{{flagicon|{{{team2}}}|size=20px}} }} }} | }} |
| − | {{{R3}}} | + | |{{{R3}}} |
|- | |- | ||
| Line 46: | Line 46: | ||
|- | |- | ||
! 4 | ! 4 | ||
| − | | {{#if: {{{team1|}}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} | }}<br />{{#if: {{{team2|}}} | {{border|{{flagicon|{{{team2}}}|size=20px}}}} | }} | + | | {{#if: {{{team1|}}} | {{#if: {{{flag1-alt|}}} | {{border|[[Image:{{{flag1-alt}}}|20px]]}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} }} | }}<br />{{#if: {{{team2|}}} | {{#if: {{{flag2-alt|}}} | {{border|[[Image:{{{flag2-alt}}}|20px]]}} | {{border|{{flagicon|{{{team2}}}|size=20px}} }} }} | }} |
| − | {{{R4}}} | + | |{{{R4}}} |
|- | |- | ||
| Line 53: | Line 53: | ||
|- bgcolor=#ededed | |- bgcolor=#ededed | ||
! 5 | ! 5 | ||
| − | | {{#if: {{{team1|}}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} | }}<br />{{#if: {{{team2|}}} | {{border|{{flagicon|{{{team2}}}|size=20px}}}} | }} | + | | {{#if: {{{team1|}}} | {{#if: {{{flag1-alt|}}} | {{border|[[Image:{{{flag1-alt}}}|20px]]}} | {{border|{{flagicon|{{{team1}}}|size=20px}} }} }} | }}<br />{{#if: {{{team2|}}} | {{#if: {{{flag2-alt|}}} | {{border|[[Image:{{{flag2-alt}}}|20px]]}} | {{border|{{flagicon|{{{team2}}}|size=20px}} }} }} | }} |
| − | {{{R5}}} | + | |{{{R5}}} |
|- | |- | ||
|} | |} | ||
| Line 75: | Line 75: | ||
|R4={{ TennisMatch3 |T1P1= | | | |T2P1= | | | }} | |R4={{ TennisMatch3 |T1P1= | | | |T2P1= | | | }} | ||
|R5={{ TennisMatch3 |T1P1= |T1P2= | | | |T2P1= |T2P2= | | | }} | |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 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 | ||
| + | --> | ||
| + | |||
</pre> | </pre> | ||
[[Category:WikiProject Tennis Templates]] | [[Category:WikiProject Tennis Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 15:49, 10 April 2007
| {{{score1}}} | {{{score2}}} | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{{venue}}} {{{date}}} {{{surface}}} | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
Code for this template:
{{FedCupbox
|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 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
-->