Content deleted Content added
S.A. Julio (talk | contribs) →Domestic club football: adjust |
S.A. Julio (talk | contribs) update documentation |
||
Line 37:
=== International club football ===
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 45:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 54:
=== Domestic club football ===
; Usage
<pre>{{#invoke:Sports series|main
|[[Valencia CF|Valencia]]|3–3 {{pso|3–2}}|[[Deportivo Alavés|Alavés]]|2–1|1–2 {{aet}}
|[[Atlético Madrid]]|2–5|[[Sevilla FC|Sevilla]]|1–2|1–3
Line 62:
; Output
{{#invoke:Sports series|main|flag=n
|[[Valencia CF|Valencia]]|3–3 {{pso|3–2}}|[[Deportivo Alavés|Alavés]]|2–1|1–2 {{aet}}
|[[Atlético Madrid]]|2–5|[[Sevilla FC|Sevilla]]|1–2|1–3
Line 71:
=== Men's national team football ===
; Usage
<pre>{{#invoke:Sports series|main|type=NT
|UKR|3–1|SVN|2–0|1–1
|SWE|4–3|DEN|2–1|2–2
Line 79:
; Output
{{#invoke:Sports series|main|type=NT
|UKR|3–1|SVN|2–0|1–1
|SWE|4–3|DEN|2–1|2–2
Line 88:
=== Women's national team football ===
; Usage
<pre>{{#invoke:Sports series|main|type=WNT
|SRB|2–3|ISL|1–1|1–2
|HUN|2–10|BEL|1–5|1–5
Line 96:
; Output
{{#invoke:Sports series|main|type=WNT
|SRB|2–3|ISL|1–1|1–2
|HUN|2–10|BEL|1–5|1–5
Line 137:
==== Example 1 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|6–8|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1|2–2|0–1|2–2
|[[Atlético Madrid]]|ESP|10–11|[[Borussia Dortmund]]|GER|2–1|2–4|2–1|2–4|2–1
Line 145:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|6–8|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1|2–2|0–1|2–2
|[[Atlético Madrid]]|ESP|10–11|[[Borussia Dortmund]]|GER|2–1|2–4|2–1|2–4|2–1
Line 154:
==== Example 2 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER
Line 162:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER
Line 174:
|style="text-align:center;vertical-align:top"|{{TOC tab|bold_winner}}
|style="background-color:#fff"|Automatically enabled by default. To
|style="background-color:#fff"|String
Line 198:
==== Example 3 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 204:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 218:
==== Example 4 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 224:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 238:
==== Example 5 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 244:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 332:
==== Example 6 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 340:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 356:
==== Example 7 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Golden State Warriors]]|3–4|[[Cleveland Cavaliers]]|104–89|110–77|90–120|108–97|97–112|101–115|89–93
}}</pre>
; Output
{{#invoke:Sports series|main
|[[Golden State Warriors]]|3–4|[[Cleveland Cavaliers]]|104–89|110–77|90–120|108–97|97–112|101–115|89–93
}}
Line 367:
==== Example 8 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 375:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 391:
==== Example 9 ====
; Usage
<pre>{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 399:
; Output
{{#invoke:Sports series|main
|[[Arsenal F.C.|Arsenal]]|ENG|2–3|[[FC Bayern Munich|Bayern Munich]]|GER|2–2|0–1
|[[Atlético Madrid]]|ESP|4–5|[[Borussia Dortmund]]|GER|2–1|2–4
Line 415:
==== Example 10 ====
; Usage
<pre>{{#invoke:Sports series|main|type=NT|legs=n|h_a
|POL|5–1|EST
|WAL|4–1|FIN
Line 422:
; Output
{{#invoke:Sports series|main|type=NT|legs=n|h_a
|POL|5–1|EST
|WAL|4–1|FIN
Line 444:
; Usage
<pre>{{#invoke:Sports series|main|type=NT|legs=3
|LUX|5–6|DEN|3–3|2–2|0–1
|ESP+1945|7–1|IRL|5–1|2–0|null
Line 452:
; Output
{{#invoke:Sports series|main|type=NT|legs=3
|LUX|5–6|DEN|3–3|2–2|0–1
|ESP+1945|7–1|IRL|5–1|2–0|null
Line 465:
; Usage
<pre>{{#invoke:Sports series|main|type=NT|flag=fbu+17
|LUX|5–6|DEN|3–3|2–2
|ESP|7–1|IRL|5–1|2–0
Line 473:
; Output
{{#invoke:Sports series|main|type=NT|flag=fbu+17
|LUX|5–6|DEN|3–3|2–2
|ESP|7–1|IRL|5–1|2–0
Line 484:
; Usage 1
<pre>{{#invoke:Sports series|main|type=NT
|MLT+1943|5–6|GRE+old|3–3|2–2
}}</pre>
; Output 1
{{#invoke:Sports series|main|type=NT
|MLT+1943|5–6|GRE+old|3–3|2–2
}}
; Usage 2
<pre>{{#invoke:Sports series|main
|[[Atlético Madrid]]|ESP+1945|4–5|[[Borussia Dortmund]]|GER+empire|2–1|2–4
}}</pre>
; Output 2
{{#invoke:Sports series|main
|[[Atlético Madrid]]|ESP+1945|4–5|[[Borussia Dortmund]]|GER+empire|2–1|2–4
}}
Line 507:
; Usage 1
<pre>{{#invoke:Sports series|main|type=NT
|FRA|2–5|HUN|1–3|1–2
|SWE||*Winner QF1||
Line 513:
; Output 1
{{#invoke:Sports series|main|type=NT
|FRA|2–5|HUN|1–3|1–2
|SWE||*Winner QF1||
}}
; Usage 2
<pre>{{#invoke:Sports series|main|type=NT
|FRA|2–5|HUN|1–3|1–2
|SWE||*Winner QF1||
Line 524:
; Output 2
{{#invoke:Sports series|main|type=NT
|FRA|2–5|HUN|1–3|1–2
|SWE||*Winner QF1||
Line 530:
==== Three apostrophes (<nowiki>'''</nowiki>) for manual bolding ====
While the template
This may be used in conjunction with the [[#Two apostrophes ('') for manual coloring|below method]] by using five apostrophes on either side of a team to bold and color the cell.
(Note: The usage of three apostrophes was slightly modified for the purposes of this module to bold the cell. Therefore, it is not possible to selectively bold parts of the team parameters, while leaving other parts of said parameter unbolded.)
; Usage 1
<pre>{{#invoke:Sports series|main|type=NT|bold_winner=n
|LUX|5–6|'''DEN'''|3–3|2–3
|'''ESP'''|7–1|IRL|5–1|2–0
Line 543 ⟶ 545:
; Output 1
{{#invoke:Sports series|main|type=NT|bold_winner=n
|LUX|5–6|'''DEN'''|3–3|2–3
|'''ESP'''|7–1|IRL|5–1|2–0
Line 550 ⟶ 552:
}}
; Usage 2 (third row overrides
<pre>{{#invoke:Sports series|main|type=NT
|SWE|2–4|NOR|1–1|1–3
|LUX|5–5 ([[Away goals rule|a]])|'''DEN'''|3–3|2–2
Line 557 ⟶ 559:
}}</pre>
; Output 2 (third row overrides
{{#invoke:Sports series|main|type=NT
|SWE|2–4|NOR|1–1|1–3
|LUX|5–5 ([[Away goals rule|a]])|'''DEN'''|3–3|2–2
Line 565 ⟶ 567:
==== Two apostrophes (<nowiki>''</nowiki>) for manual coloring ====
While the template allows for automatic coloring of the cells of winning teams via {{para|color_winner|y}}, in some situations (such as matches tied on away goals) the module will be unable to determine the winner. Or, some users may find it undesirable to use {{para|color_winner}} to
This may be used in conjunction with the [[#Three apostrophes (''') for manual bolding|above method]] by using five apostrophes on either side of a team to color and bold the cell.
Line 571 ⟶ 573:
Two apostrophes surrounding an aggregate score (or the score of a single-leg tie) can also be used to manually indicate a draw/tie.
(Note: While two apostrophes surrounding both sides of text are usually used to add italics in wikitext, the usage was modified here to allow for a simple way to color the cell. Therefore, it is not possible to italicize team names or aggregate scores using this formatting.)
; Usage 1
<pre>{{#invoke:Sports series|main|type=WNT|bold_winner=n
|LUX|5–6|''DEN''|3–3|2–3
|''ESP''|7–1|IRL|5–1|2–0
Line 582 ⟶ 584:
; Output 1
{{#invoke:Sports series|main|type=WNT|bold_winner=n
|LUX|5–6|''DEN''|3–3|2–3
|''ESP''|7–1|IRL|5–1|2–0
Line 589 ⟶ 591:
}}
; Usage 2 (third row overrides
<pre>{{#invoke:Sports series|main|type=WNT|color_winner=y|bold_winner=n
|SWE|2–4|NOR|1–1|1–3
|LUX|5–5 ([[Away goals rule|a]])|''DEN''|3–3|2–2
Line 596 ⟶ 598:
}}</pre>
; Output 2 (third row overrides
{{#invoke:Sports series|main|type=WNT|color_winner=y|bold_winner=n
|SWE|2–4|NOR|1–1|1–3
|LUX|5–5 ([[Away goals rule|a]])|''DEN''|3–3|2–2
Line 604 ⟶ 606:
; Usage 3
<pre>{{#invoke:Sports series|main|type=WNT|legs=0|bold_winner=n
|LUX|5–6|''DEN''
|''ESP''|7–1|IRL
Line 611 ⟶ 613:
; Output 3
{{#invoke:Sports series|main|type=WNT|legs=0|bold_winner=n
|LUX|5–6|''DEN''
|''ESP''|7–1|IRL
|