සැකිල්ල:Medals table/testcases
| This is the template test cases page for the sandbox of සැකිල්ල:Medals table. Purge this page to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Basic Example
[සංස්කරණය]| {{Medals table}} | {{Medals table/sandbox}} |
|---|---|
| Lua දෝෂය: expandTemplate: template "flaglink" does not exist. | Lua දෝෂය: expandTemplate: template "flaglink" does not exist. |
Custom host
[සංස්කරණය]| {{Medals table}} | {{Medals table/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
* Host nation (This be the host!)
|
* Host nation (This be the host!)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Multiple hosts in legend
[සංස්කරණය]| {{Medals table}} | {{Medals table/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
* Host nations (ඕස්ට්රේලියාව, New Zealand)
|
* Host nations (ඕස්ට්රේලියාව, New Zealand)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
| {{Medals table}} | {{Medals table/sandbox}} |
|---|---|
| Lua දෝෂය: expandTemplate: template "Flagteam" does not exist. | Lua දෝෂය: expandTemplate: template "Flagteam" does not exist. |
| {{Medals table}} | {{Medals table/sandbox}} |
|---|---|
| Lua දෝෂය: expandTemplate: template "Flagteam" does not exist. | Lua දෝෂය: expandTemplate: template "Flagteam" does not exist. |
Skip nation
[සංස්කරණය]
Show Limit
[සංස්කරණය]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
|
{{Medals table}}
* Host nation (එක්සත් ජනපදය)
|
* Host nation (එක්සත් ජනපදය)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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
|
{{Medals table}}
* Host nation (එක්සත් ජනපදය)
|
* Host nation (එක්සත් ජනපදය)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Works with numbered params as well as IOC codes
[සංස්කරණය]| {{Medals table}} | {{Medals table/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{Medals table}} | {{Medals table/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
* Host nation (Some Country)
|
* Host nation (Some Country)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hide the totals row
[සංස්කරණය]| hide_totals = yes
| {{Medals table}} | {{Medals table/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Hide the rank row
[සංස්කරණය]| hide_rank = yes
| {{Medals table}} | {{Medals table/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Sport table
[සංස්කරණය]| {{Medals table}} | {{Medals table/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Leading in that sport
|
Leading in that sport
|