Jump to content

Module:Sports table/testcases wikitext: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
some basic test cases
WL: sandboxy
Line 76: Line 76:
|name_EEE={{bk|GIB}}
|name_EEE={{bk|GIB}}
}}
}}
</div>
</div>

<div style="display: flex">
<div>
{{#invoke:Sports table|main|style=WL
|only_pld_pts=yes
|stack_footer=yes

|team1=AAA |name_AAA=The A Team
|result1=RRR

|status_AAA=DEOPRT

|res_col_header=PQR
|col_RRR= |text_RRR=Plain text
}}
</div>
<div>
{{#invoke:Sports table/sandbox|main|style=WL
|only_pld_pts=yes
|stack_footer=yes

|team1=AAA |name_AAA=The A Team
|result1=RRR

|status_AAA=DEOPRT

|res_col_header=PQR
|col_RRR= |text_RRR=Plain text
}}

</div>
</div>

<div style="display: flex">
<div>
{{#invoke:Sports table|main|style=WL

|team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE
|result1=WC |result2=PO |result3=PO |result4=RPO |result5=rel

|note_AAA=Team note
|note_BBB=AAA |hth_BBB=Team 2 wins head-to-head against team 3
|hth_CCC=BBB
|note_DDD=EEE

|name_AAA=Team A
|name_BBB=Team B
|name_CCC=Team C
|name_DDD=Team D
|name_EEE=Team E

|res_col_header=QR |note_header_res=Header note
|col_WC=green1 |text_WC=Qualification to [[World Cup]] |note_res_WC=Result note
|col_PO=blue1 |text_PO=Qualification to play-offs
|col_RPO=red2 |text_RPO=Qualification to relegation play-offs |note_res_RPO=WC
|col_rel=red1 |text_rel=Relegation to lower division
}}
</div>
<div>

{{#invoke:Sports table/sandbox|main|style=WL

|team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE
|result1=WC |result2=PO |result3=PO |result4=RPO |result5=rel

|note_AAA=Team note
|note_BBB=AAA |hth_BBB=Team 2 wins head-to-head against team 3
|hth_CCC=BBB
|note_DDD=EEE

|name_AAA=Team A
|name_BBB=Team B
|name_CCC=Team C
|name_DDD=Team D
|name_EEE=Team E

|res_col_header=QR |note_header_res=Header note
|col_WC=green1 |text_WC=Qualification to [[World Cup]] |note_res_WC=Result note
|col_PO=blue1 |text_PO=Qualification to play-offs
|col_RPO=red2 |text_RPO=Qualification to relegation play-offs |note_res_RPO=WC
|col_rel=red1 |text_rel=Relegation to lower division
}}

</div>
</div>
</div>
</div>

Revision as of 21:46, 8 March 2021

WDL

Pos Team Pld W D L GF GA GD Pts
1 FIFA World Cup Dream Team 5 5 0 0 10 0 +10 15
2 Team 2 5 3 1 1 3 2 +1 10
3 Team 3 5 3 0 2 3 3 0 9
4 Team 4 5 1 1 3 1 4 −3 4
5  Gibraltar 5 0 0 5 0 6 −6 0
Updated to match(es) played on unknown. Source: [citation needed]
Pos Team Pld W D L GF GA GD Pts
1 FIFA World Cup Dream Team 5 5 0 0 10 0 +10 15
2 Team 2 5 3 1 1 3 2 +1 10
3 Team 3 5 3 0 2 3 3 0 9
4 Team 4 5 1 1 3 1 4 −3 4
5  Gibraltar 5 0 0 5 0 6 −6 0
Updated to match(es) played on unknown. Source: [citation needed]

WL

Pos Team Pld W L GF GA GD Pts
1 Dream Team 5 5 0 10 0 +10 10
2 Team 2 4 3 1 3 2 +1 7
3 Team 3 5 3 2 3 3 0 8
4 Team 4 4 1 3 1 4 −3 5
5  Gibraltar 5 0 5 0 6 −6 5
Updated to match(es) played on unknown. Source: [citation needed]
Pos Team Pld W L GF GA GD Pts
1 Dream Team 5 5 0 10 0 +10 10
2 Team 2 4 3 1 3 2 +1 7
3 Team 3 5 3 2 3 3 0 8
4 Team 4 4 1 3 1 4 −3 5
5  Gibraltar 5 0 5 0 6 −6 5
Updated to match(es) played on unknown. Source: [citation needed]
Pos Team Pld Pts
1 The A Team (D, E, O, P, R, T) 0 0
Updated to match(es) played on unknown.
Source: [citation needed]
(D) Disqualified;
(E) Eliminated;
(O) Play-off winners;
(P) Promoted;
(R) Relegated;
(T) Qualified, but not yet for the particular phase indicated
Pos Team Pld Pts
1 The A Team (D, E, O, P, R, T) 0 0
Updated to match(es) played on unknown.
Source: [citation needed]
(D) Disqualified;
(E) Eliminated;
(O) Play-off winners;
(P) Promoted;
(R) Relegated;
(T) Qualified, but not yet for the particular phase indicated
Pos Team Pld W L GF GA GD Pts Qualification or relegation[a]
1 Team A[b] 0 0 0 0 0 0 0 Qualification to World Cup[c]
2 Team B[b] 0 0 0 0 0 0 0[d] Qualification to play-offs
3 Team C 0 0 0 0 0 0 0[d]
4 Team D[e] 0 0 0 0 0 0 0 Qualification to relegation play-offs[c]
5 Team E 0 0 0 0 0 0 0 Relegation to lower division
Updated to match(es) played on unknown. Source: [citation needed]
Notes:
  1. ^ Header note
  2. ^ a b Team note
  3. ^ a b Result note
  4. ^ a b Team 2 wins head-to-head against team 3
  5. ^ EEE
Pos Team Pld W L GF GA GD Pts Qualification or relegation[a]
1 Team A[b] 0 0 0 0 0 0 0 Qualification to World Cup[c]
2 Team B[b] 0 0 0 0 0 0 0[d] Qualification to play-offs
3 Team C 0 0 0 0 0 0 0[d]
4 Team D[e] 0 0 0 0 0 0 0 Qualification to relegation play-offs[c]
5 Team E 0 0 0 0 0 0 0 Relegation to lower division
Updated to match(es) played on unknown. Source: [citation needed]
Notes:
  1. ^ Header note
  2. ^ a b Team note
  3. ^ a b Result note
  4. ^ a b Team 2 wins head-to-head against team 3
  5. ^ EEE