Jump to content

සැකිල්ල:Medals table/testcases

විකිපීඩියා වෙතින්
Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
Lua දෝෂය: expandTemplate: template "flaglink" does not exist. Lua දෝෂය: expandTemplate: template "flaglink" does not exist.
Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
  *   Host nation (This be the host!)
Table Caption
RankNationGoldSilverBronzeTotal
1 එංගලන්තය (ENG)78924
2 New Zealand (NZL)45615
3 ඕස්ට්‍රේලියාව (AUS)*1236
Totals (3 entries)12151845
  *   Host nation (This be the host!)
Table Caption
RankNationGoldSilverBronzeTotal
1 එංගලන්තය (ENG)78924
2 New Zealand (NZL)45615
3 ඕස්ට්‍රේලියාව (AUS)*1236
Totals (3 entries)12151845

Multiple hosts in legend

[සංස්කරණය]
Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
  *   Host nations (ඕස්ට්‍රේලියාව, New Zealand)
Table Caption
RankNationGoldSilverBronzeTotal
1 එංගලන්තය (ENG)78924
2 New Zealand (NZL)45615
3 ඕස්ට්‍රේලියාව (AUS)*1236
Totals (3 entries)12151845
  *   Host nations (ඕස්ට්‍රේලියාව, New Zealand)
Table Caption
RankNationGoldSilverBronzeTotal
1 එංගලන්තය (ENG)78924
2 New Zealand (NZL)45615
3 ඕස්ට්‍රේලියාව (AUS)*1236
Totals (3 entries)12151845

Adjust the case for the team param

[සංස්කරණය]

The {{{team}}} should be capitalized at the top of column 2 but lowercased at the bottom for the totals UNLESS it is an abbreviation such as NPC. If it is an abbreviation, keep it capitalized per WP:MOS.

Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
Lua දෝෂය: expandTemplate: template "Flagteam" does not exist. Lua දෝෂය: expandTemplate: template "Flagteam" does not exist.
Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
Lua දෝෂය: expandTemplate: template "Flagteam" does not exist. Lua දෝෂය: expandTemplate: template "Flagteam" does not exist.
Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
RankNationGoldSilverBronzeTotal
1 එක්සත් රාජධානිය (GBR)75618
2 ප්රංශය (FRA)34310
[[File:සැකිල්ල:Country flag IOC alias ANA|22x20px|border|alt=|link=|සැකිල්ල:Country IOC alias ANA]] [[සැකිල්ල:Country IOC alias ANA at the Olympics|සැකිල්ල:Country IOC alias ANA]] (ANA)[1]34310
3 ස්විට්සර්ලන්තය (SUI)1214
 ස්වීඩනය (SWE)1214
[[File:සැකිල්ල:Country flag IOC alias MIX|22x20px|border|alt=|link=|සැකිල්ල:Country IOC alias MIX]] [[සැකිල්ල:Country IOC alias MIX at the Olympics|සැකිල්ල:Country IOC alias MIX]] (MIX)1102
5 එක්සත් ජනපදය (USA)0202
Totals (5 entries)16201450
RankNationGoldSilverBronzeTotal
1 එක්සත් රාජධානිය (GBR)75618
2 ප්රංශය (FRA)34310
[[File:සැකිල්ල:Country flag IOC alias ANA|22x20px|border|alt=|link=|සැකිල්ල:Country IOC alias ANA]] [[සැකිල්ල:Country IOC alias ANA at the Olympics|සැකිල්ල:Country IOC alias ANA]] (ANA)[1]34310
3 ස්විට්සර්ලන්තය (SUI)1214
 ස්වීඩනය (SWE)1214
[[File:සැකිල්ල:Country flag IOC alias MIX|22x20px|border|alt=|link=|සැකිල්ල:Country IOC alias MIX]] [[සැකිල්ල:Country IOC alias MIX at the Olympics|සැකිල්ල:Country IOC alias MIX]] (MIX)1102
5 එක්සත් ජනපදය (USA)0202
Totals (5 entries)16201450


Should display the first 2 and the 'remaining' link should link to Template:Medals table/testcases/showlimit and Template:Medals table/testcases/showlimit-sandbox respectively

  *   Host nation (එක්සත් ජනපදය)
RankNationGoldSilverBronzeTotal
1 නෝර්වේ (NOR)14141139
2 ජර්මනිය (GER)1410731
3–10Remaining514638135
Totals (10 entries)797056205

  *   Host nation (එක්සත් ජනපදය)
RankNationGoldSilverBronzeTotal
1 නෝර්වේ (NOR)14141139
2 ජර්මනිය (GER)1410731
3–10Remaining514638135
Totals (10 entries)797056205

Should display the first 4 and the 'remaining' link should link to Template:Medals table/testcases/showlimit and Template:Medals table/testcases/showlimit-sandbox respectively

  *   Host nation (එක්සත් ජනපදය)
RankNationGoldSilverBronzeTotal
1 නෝර්වේ (NOR)14141139
2 ජර්මනිය (GER)1410731
3 කැනඩාව (CAN)1181029
4 එක්සත් ජනපදය (USA)*98623
5–10Remaining31302283
Totals (10 entries)797056205

  *   Host nation (එක්සත් ජනපදය)
RankNationGoldSilverBronzeTotal
1 නෝර්වේ (NOR)14141139
2 ජර්මනිය (GER)1410731
3 කැනඩාව (CAN)1181029
4 එක්සත් ජනපදය (USA)*98623
5–10Remaining31302283
Totals (10 entries)797056205

Works with numbered params as well as IOC codes

[සංස්කරණය]
Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
RankNationGoldSilverBronzeTotal
1 ප්‍රංශය (FRA)66618
2 Great Britain (GBR)55515
3{{{name_1}}}44412
4 ඕස්ට්‍රේලියාව (AUS)3339
5{{{name_2}}}2226
6 ජර්මනිය (GER)1113
Totals (6 entries)21212163
RankNationGoldSilverBronzeTotal
1 ප්‍රංශය (FRA)66618
2 Great Britain (GBR)55515
3{{{name_1}}}44412
4 ඕස්ට්‍රේලියාව (AUS)3339
5{{{name_2}}}2226
6 ජර්මනිය (GER)1113
Totals (6 entries)21212163
Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
  *   Host nation (Some Country)
RankNationGoldSilverBronzeTotal
1 ප්‍රංශය (FRA)66618
2 Great Britain (GBR)55515
3Some Country*44412
4 ඕස්ට්‍රේලියාව (AUS)3339
{{{name_2}}}note2226
5 ජර්මනිය (GER)1113
Totals (5 entries)21212163
  *   Host nation (Some Country)
RankNationGoldSilverBronzeTotal
1 ප්‍රංශය (FRA)66618
2 Great Britain (GBR)55515
3Some Country*44412
4 ඕස්ට්‍රේලියාව (AUS)3339
{{{name_2}}}note2226
5 ජර්මනිය (GER)1113
Totals (5 entries)21212163

Hide the totals row

[සංස්කරණය]

| hide_totals = yes

Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
RankNationGoldSilverBronzeTotal
1 Great Britain (GBR)75618
2 ප්‍රංශය (FRA)34310
3 Switzerland (SUI)1214
 ස්වීඩනය (SWE)1214
5 එක්සත් ජනපද (USA)0202
RankNationGoldSilverBronzeTotal
1 Great Britain (GBR)75618
2 ප්‍රංශය (FRA)34310
3 Switzerland (SUI)1214
 ස්වීඩනය (SWE)1214
5 එක්සත් ජනපද (USA)0202

Hide the rank row

[සංස්කරණය]

| hide_rank = yes

Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
SportGoldSilverBronzeTotal
Athletics35614
Canoeing2248
Rowing2147
Totals (3 entries)781429
SportGoldSilverBronzeTotal
Athletics35614
Canoeing2248
Rowing2147
Totals (3 entries)781429
Side by side comparison
{{Medals table}}{{Medals table/sandbox}}
  Leading in that sport
SportGoldSilverBronzeTotal
Modern pentathlon1001
Rugby sevens1001
Baseball0101
Judo0022
Totals (4 entries)2125
  Leading in that sport
SportGoldSilverBronzeTotal
Modern pentathlon1001
Rugby sevens1001
Baseball0101
Judo0022
Totals (4 entries)2125
"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Medals_table/testcases&oldid=689922" වෙතින් සම්ප්‍රවේශනය කෙරිණි