This is a documentation subpage for Template:ThreeLegResult. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis template is to be used in conjunction with the {{ThreeLegStart}} template and is used to display a table row of team information and leg results. The default is to show results for three legs, but additional leg results may be given (nb. must be used in conjunction with the "legs" parameter on the ThreeLegStart template)
Parameters
editThere are ten possible unnamed parameters that may be used in this template.
{{ThreeLegResult| '''{{bk-rt|CRO}}''' || 2–1 | {{bk|SVN}} || 1–2 | 1–0 | 2–1}}
- The first parameter is the first team name
- The second parameter can change the flag icon three-letter code for the first team (optional)
- The third parameter is for the aggregate score
- The fourth parameter is the second team name
- The fifth parameter can change the flag icon three-letter code for the second team (optional)
- The sixth parameter is the first leg score
- The seventh parameter is the second leg score
- The eighth parameter is the third leg score
- The ninth parameter is the fourth leg score (optional)
- The tenth parameter is the fifth leg score (optional)
- The eleventh parameter is the sixth leg score (optional)
- The twelfth parameter is the seventh leg score (optional)
The |var1=
and |var2=
can be used to display a variant flag for the automatic flag icons for either team; e.g. using {{ThreeLegResult|Team name|RSA|var1=1928|...
displays the pre-1994 flag of South Africa () instead of the current one (). See each country's data template for available variants.
Example 1
editTeam 1 | Series | Team 2 | Game 1 | Game 2 | Game 3 |
---|---|---|---|---|---|
Scotland | 1–6 | Netherlands | 1–0 | 0–6 | 1–2 |
Croatia | 2–1 | Slovenia | 1–2 | 1–0 | 2–0 |
Russia | 2–0 | Wales | 1–0 | 1–0 | |
Latvia | 3–2 | Turkey | 1–0 | 2–3 | 1–0 |
Spain | 2–0 | Norway | 2–1 | 3–0 |
{{ThreeLegStart}}
{{ThreeLegResult| {{bk-rt|SCO}} || 1–2 | '''{{bk|NED}}''' || 1–0 | 0–6 | 1–2}}
{{ThreeLegResult| '''{{bk-rt|CRO}}''' || 2–1 | {{bk|SVN}} || 1–2 | 1–0 | 2–0}}
{{ThreeLegResult| '''{{bk-rt|RUS}}''' || 2–0 | {{bk|WAL}} || 1–0 | 1–0}}
{{ThreeLegResult| '''{{bk-rt|LVA}}''' || 2–1 | {{bk|TUR}} || 1–0 | 2–3 | 1–0}}
{{ThreeLegResult| '''{{bk-rt|ESP}}''' || 2–0 | {{bk|NOR}} || 2–1 | 3–0}}
|}
Example 2: extra legs
editTeam 1 | Series | Team 2 | Game 1 | Game 2 | Game 3 | Game 4 | Game 5 |
---|---|---|---|---|---|---|---|
Scotland | 0–3 | Netherlands | 0–2 | 0–2 | 1–2 | ||
Croatia | 3–2 | Slovenia | 2–1 | 2–1 | 2–3 | 1–2 | 4–2 |
{{ThreeLegStart|legs=5}}
{{ThreeLegResult| {{bk-rt|SCO}} || 0–3 | '''{{bk|NED}}''' || 0–2 | 0–2 | 1–2}}
{{ThreeLegResult| '''{{bk-rt|CRO}}''' || 3–2 | {{bk|SVN}} || 2–1 | 2–1 | 2–3 | 1–2 | 4–2}}
Blank template
edit{{ThreeLegResult| || | || | | }}