انتقل إلى المحتوى

موضيل:TwoLeg start

من ويكيپيديا
Team 1 Agg. Team 2 1st leg 2nd leg
Testing Lisbon 2–2 Template United 1–0 1–2
شرح د لقالب[شوف] [عدل] [تاريخ] [تحديت]
موضيل ؤلا شرح د لموضيل مامطرجمش. عافاك عاون ف طّرجامة ديالو.


تخدام

[بدل لكود]

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.

پاراميطرات

[بدل لكود]
{{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)
|team2 = (default is "Team 2")
|extra = (gives an extra column with given name - default is off)
}}

Example 1: تخدام بسيط

[بدل لكود]
{{TwoLeg start
|team1 = Home
|team2 = Away
}}
Home Agg. Away 1st leg 2nd leg
Testing Lisbon 2–4 Template United 1–0 1–4

Example 2: 4 legs

[بدل لكود]
{{TwoLeg start
|legs = 4
|team-width = 
|team1 = Home
|score-width = 
|team2 = Away
|extra = Notes
}}
Home Agg. Away 1st leg 2nd leg 3rd leg 4th leg Notes
Testing Lisbon 2–4 Template United 1–0 1–2 0–0 0–2 Referee needs glasses

Example 3: Collapsed table

[بدل لكود]
{{TwoLeg start
|collapsed = y
|title = First round of the Test Cup
|legs = 2
|team-width = 
|team1 = Home
|score-width = 
|team2 = Away
|extra = Notes
}}

Example 4: Playoff leg

[بدل لكود]
{{TwoLeg start
|legs = 2
|team-width = 
|team1 = Home
|score-width = 
|team2 = Away
|extra = Playoff
}}
Home Agg. Away 1st leg 2nd leg Playoff
Testing Lisbon 2–2 Template United 2–0 0–2 1–0