Template:TwoLeg start/sandbox
Team 1 | Agg. | Team 2 | 1st leg | 2nd leg |
---|---|---|---|---|
Testing Lisbon | 2–2 | Template United | 1–0 | 1–2 |
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:TwoLeg start (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 5,600 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 used to create the start of a results table for association football matches that spanned multiple legs. The headers for the team names can be adjusted using the team1 and team2 parameters. The number of legs for the matches can be set by the legs parameter. The extra parameter can be used to add a further column at the end of the table for notes etc.
Use {{TwoLegResult}} to show the results of each match. When using {{TwoLegResult}}, you must use {{table end}} after the results to close the table that is started by this template.
Parameters
<syntaxhighlight lang="wikitext">
(adds a named header to the table - default is off) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(default is "Team 1") | Agg. | (default is "Team 2") | 1st leg | 2nd legExpression error: Unrecognized word "default".Expression error: Unrecognized word "default". | (gives an extra column with given name - default is off)
</syntaxhighlight> Example 1: Basic usage<syntaxhighlight lang="wikitext">
|