Template:TwoLegResult/doc
| This is a documentation subpage for Template:TwoLegResult. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 5,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
This template is to be used in conjunction with the {{TwoLeg start}} template and is used to display a table row of team information and leg results. The default is to show results for two legs, but additional leg results may be given (nb. must be used in conjunction with the "legs" parameter on the TwoLeg start template)
Parameters
There are nine possible unnamed parameters that may be used in this template.
{{TwoLegResult| '''{{fb-rt|CRO}}''' || 2–1 | {{fb|SVN}} || 1–1 | 1–0 | 1–2 | 3–2}}
- 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 (optional)
- The ninth parameter is the fourth 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 {{TwoLegResult|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
| Team 1 | Agg. | Team 2 | 1st leg | 2nd leg |
|---|---|---|---|---|
| Scotland |
1–6 | 1–0 | 0–6 | |
| Croatia |
2–1 | 1–1 | 1–0 | |
| Russia |
1–0 | 0–0 | 1–0 | |
| Latvia |
3–2 | 1–0 | 2–2 | |
| Spain |
5–1 | 2–1 | 3–0 |
{{TwoLegStart}}
{{TwoLegResult| {{fb-rt|SCO}} || 1–6 | '''{{fb|NED}}''' || 1–0 | 0–6 }}
{{TwoLegResult| '''{{fb-rt|CRO}}''' || 2–1 | {{fb|SVN}} || 1–1 | 1–0 }}
{{TwoLegResult| '''{{fb-rt|RUS}}''' || 1–0 | {{fb|WAL}} || 0–0 | 1–0 }}
{{TwoLegResult| '''{{fb-rt|LVA}}''' || 3–2 | {{fb|TUR}} || 1–0 | 2–2 }}
{{TwoLegResult| '''{{fb-rt|ESP}}''' || 5–1 | {{fb|NOR}} || 2–1 | 3–0 }}
{{end}}
Example 2: extra legs
| Team 1 | Agg. | Team 2 | 1st leg | 2nd leg | 3rd leg | 4th leg |
|---|---|---|---|---|---|---|
| Scotland |
2–1 | 0–0 | 0–0 | 2–1 | ||
| Croatia |
5–4 | 1–1 | 1–1 | 2–2 | 1–0 |
{{TwoLegStart|legs=4}}
{{TwoLegResult| {{fb-rt|SCO}} || 1–6 | '''{{fb|NED}}''' || 0–0 | 0–0 | 2–1}}
{{TwoLegResult| '''{{fb-rt|CRO}}''' || 2–1 | {{fb|SVN}} || 1–1 | 1–0 | 2–2 | 1–0}}
{{end}}
Blank template
{{TwoLegResult| || | || | }}
See also
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.