Jump to content

Template:ThreeLegStart/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is used to create the start of a results table for basketball 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

[edit]
{{ThreeLegStart
|collapsed = (makes the table hide as collapsed - default is off)
|title = (adds a named header to the table - default is off)
|legs = (default is three legs)
|team-width = (default is 250px)
|team1 = (default is "Team 1")
|score-width = (default is 80px)
|team2 = (default is "Team 2")
|round-name = (default is "Game")
|extra = (gives an extra column with given name - default is off)
}}

Example 1

[edit]
{{ThreeLegStart
|legs = 5
|team-width = 
|team1 = Home
|score-width = 
|team2 = Away
|extra = Notes
}}
Home Series Away Game 1 Game 2 Game 3 Game 4 Game 5 Notes
Testing Lisbon 2–3 Template United 1–0 1–2 2–1 0–2 1–2 Referee needs glasses

Example 2

[edit]
{{ThreeLegStart
|collapsed = y
|title = First round of the Test Cup
|legs = 3
|team-width = 
|team1 = Home
|score-width = 
|team2 = Away
|round-name = Match
}}
First round of the Test Cup
Home Series Away Match 1 Match 2 Match 3
Testing Lisbon 2–1 Template United 1–0 1–2 1–0