Fyrimynd:TwoLegStart

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search
Lið 1 Sml. Lið 2 1. dystur 2. dystur
Testing Lisbon 2–2 Template United 1–0 1–2
Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

Usage[rætta wikitekst]

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.

Parameters[rætta wikitekst]

{{TwoLeg start
|collapsed = (makes the table hide as collapsed - default is off)
|title = (adds a named header to the table - default is off)
|legs = (default is two legs)
|team-width = (default is 250px)
|team1 = (default is "Team 1")
|score-width = (default is 80px)
|agg-score = (default is {{Tooltip|[[Playoff format#Total points series (aggregate)|Agg.]]|Aggregate score}})
|team2 = (default is "Team 2")
|extra = (gives an extra column with given name - default is off)
}}

Example 1[rætta wikitekst]

{{TwoLegStart
|legs = 4
|team-width = 
|team1 = Home
|score-width = 
|team2 = Away
|extra = Notes
}}
Home Sml. Away 1. dystur 2. dystur 3rd leg 4th leg Notes
Testing Lisbon 2–4 Template United 1–0 1–2 0–0 0–2 Referee needs glasses

Example 2[rætta wikitekst]

{{TwoLegStart
|collapsed = y
|title = First round of the Test Cup
|legs = 2
|team-width = 
|team1 = Home
|score-width = 
|team2 = Away
}}