Content deleted Content added
S.A. Julio (talk | contribs) →Leg scores: add |
S.A. Julio (talk | contribs) →Leg scores: add |
||
Line 440:
For {{para|type|NT}}, the national team names/codes supplied are by default wrapped into {{tl|fb}} and {{tl|fb-rt}}, based on Wikipedia's [[Wikipedia:WikiProject Flag Template|country data]] system of templates.
=== Leg and aggregate scores ===
For the legs and aggregate scores, all incorrect types of dashes (such as a [[hyphen]], [[em dash]] or [[minus sign]]) will be converted to an [[en dash]] (–). This does not apply to dashes contained in the article title/section anchor portion of wikilinks.
If a cell of one of the leg scores contains only <code>null</code>, the cell will not be generated. This is useful for rounds of competitions that have an inconsistent number of legs, for example competitions that have a possible [[Replay (sports)|replay]] or play-off match after two legs.▼
=== Null/nil leg scores ===
If a cell of one of the leg scores contains only <code>null</code>, the cell will only contain an [[em dash]] (—). However, if {{para|solid_cell|y}}, then the cell will be left empty and given a background color of {{bg|#BBBBBB|grey (#BBBBBB)}}.
If a cell of one of the leg scores contains only <code>nil</code>, the cell will not be generated.
▲
; Usage 1 (for null)
<pre>{{#invoke:Sports series|main
|[[İstanbul Başakşehir F.K.|İstanbul Başakşehir]]|TUR|1–3|[[F.C. Copenhagen|Copenhagen]]|DEN|1–0|0–3
|[[Olympiacos F.C.|Olympiacos]]|GRE|1–2|[[Wolverhampton Wanderers F.C.|Wolverhampton Wanderers]]|ENG|1–1|0–1
|[[Rangers F.C.|Rangers]]|SCO|1–4|[[Bayer 04 Leverkusen|Bayer Leverkusen]]|GER|1–3|0–1
|[[VfL Wolfsburg]]|GER|1–5|[[FC Shakhtar Donetsk|Shakhtar Donetsk]]|UKR|1–2|0–3
|[[Inter Milan]]|ITA|2–0|[[Getafe CF|Getafe]]|ESP|null|null
|[[Sevilla FC|Sevilla]]|ESP|2–0|[[AS Roma|Roma]]|ITA|null|null
|[[Eintracht Frankfurt]]|GER|0–4|[[FC Basel|Basel]]|SUI|0–3|0–1
|[[LASK]]|AUT|1–7|[[Manchester United F.C.|Manchester United]]|ENG|0–5|1–2
}}</pre>
; Output 1 (for null)
{{#invoke:Sports series|main
|[[İstanbul Başakşehir F.K.|İstanbul Başakşehir]]|TUR|1–3|[[F.C. Copenhagen|Copenhagen]]|DEN|1–0|0–3
|[[Olympiacos F.C.|Olympiacos]]|GRE|1–2|[[Wolverhampton Wanderers F.C.|Wolverhampton Wanderers]]|ENG|1–1|0–1
|[[Rangers F.C.|Rangers]]|SCO|1–4|[[Bayer 04 Leverkusen|Bayer Leverkusen]]|GER|1–3|0–1
|[[VfL Wolfsburg]]|GER|1–5|[[FC Shakhtar Donetsk|Shakhtar Donetsk]]|UKR|1–2|0–3
|[[Inter Milan]]|ITA|2–0|[[Getafe CF|Getafe]]|ESP|null|null
|[[Sevilla FC|Sevilla]]|ESP|2–0|[[AS Roma|Roma]]|ITA|null|null
|[[Eintracht Frankfurt]]|GER|0–4|[[FC Basel|Basel]]|SUI|0–3|0–1
|[[LASK]]|AUT|1–7|[[Manchester United F.C.|Manchester United]]|ENG|0–5|1–2
}}
; Usage 2 (for null, {{para|solid_cell|y}})
<pre>{{#invoke:Sports series|main|solid_cell=y
|[[İstanbul Başakşehir F.K.|İstanbul Başakşehir]]|TUR|1–3|[[F.C. Copenhagen|Copenhagen]]|DEN|1–0|0–3
|[[Olympiacos F.C.|Olympiacos]]|GRE|1–2|[[Wolverhampton Wanderers F.C.|Wolverhampton Wanderers]]|ENG|1–1|0–1
|[[Rangers F.C.|Rangers]]|SCO|1–4|[[Bayer 04 Leverkusen|Bayer Leverkusen]]|GER|1–3|0–1
|[[VfL Wolfsburg]]|GER|1–5|[[FC Shakhtar Donetsk|Shakhtar Donetsk]]|UKR|1–2|0–3
|[[Inter Milan]]|ITA|2–0|[[Getafe CF|Getafe]]|ESP|null|null
|[[Sevilla FC|Sevilla]]|ESP|2–0|[[AS Roma|Roma]]|ITA|null|null
|[[Eintracht Frankfurt]]|GER|0–4|[[FC Basel|Basel]]|SUI|0–3|0–1
|[[LASK]]|AUT|1–7|[[Manchester United F.C.|Manchester United]]|ENG|0–5|1–2
}}</pre>
; Output 2 (for null, {{para|solid_cell|y}})
{{#invoke:Sports series|main|solid_cell=y
|[[İstanbul Başakşehir F.K.|İstanbul Başakşehir]]|TUR|1–3|[[F.C. Copenhagen|Copenhagen]]|DEN|1–0|0–3
|[[Olympiacos F.C.|Olympiacos]]|GRE|1–2|[[Wolverhampton Wanderers F.C.|Wolverhampton Wanderers]]|ENG|1–1|0–1
|[[Rangers F.C.|Rangers]]|SCO|1–4|[[Bayer 04 Leverkusen|Bayer Leverkusen]]|GER|1–3|0–1
|[[VfL Wolfsburg]]|GER|1–5|[[FC Shakhtar Donetsk|Shakhtar Donetsk]]|UKR|1–2|0–3
|[[Inter Milan]]|ITA|2–0|[[Getafe CF|Getafe]]|ESP|null|null
|[[Sevilla FC|Sevilla]]|ESP|2–0|[[AS Roma|Roma]]|ITA|null|null
|[[Eintracht Frankfurt]]|GER|0–4|[[FC Basel|Basel]]|SUI|0–3|0–1
|[[LASK]]|AUT|1–7|[[Manchester United F.C.|Manchester United]]|ENG|0–5|1–2
}}
; Usage 3 (for nil)
<pre>{{#invoke:Sports series|main|type=NT|legs=3|leg3=Play-off
|LUX|5–6|DEN|3–3|2–2|0–1
|ESP+1945|7–1|IRL|5–1|2–0|
|FRA|2–5|HUN|1–3|1–2|
|SWE|2–4|URS|1–1|1–3|
}}</pre>
; Output 3 (for nil)
{{#invoke:Sports series|main|type=NT|legs=3|leg3=Play-off
|LUX|5–6|DEN|3–3|2–2|0–1
|ESP+1945|7–1|IRL|5–1|2–0|
|FRA|2–5|HUN|1–3|1–2|
|SWE|2–4|URS|1–1|1–3|
}}
|