Predloga:Medals table/testniprimeri: Razlika med redakcijama
Izbrisana vsebina Dodana vsebina
Nova stran z vsebino: {{Testcases notice |toc=off}} __notoc__ <!----> == Basic Example == {{testcase table | caption = Table Caption | host = AUS | flag_template = flaglink | event = at the 2006 Commonwealth Games | team = team | gold_AUS = 1 | silver_AUS = 2 | bronze_AUS = 3 | host_AUS = yes | gold_NZL = 4 | silver_NZL = 5 | bronze_NZL = 6 | name_NZL = Custom Name | gold_ENG = 7 | silver_ENG = 8 | bronze_ENG = 9 | note_ENG = {{sup|note}} | sou... |
(ni razlike)
|
Redakcija: 22:36, 4. avgust 2021
To je stran testnih primerov za peskovnik predloge Predloga:Medals table. za osvežitev primerov. Če je predloga zapletena z veliko primeri, lahko pride do tega, da se spodnji primeri ne naložijo zaradi omejitev v MediaWiki. Testiraš lahko tudi kako stran izgleda v različni koži s pomočjo spodnjih povezav: |
Basic Example
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
* Država gostiteljica ([[Slika:{{{flag alias}}}|22x20px|border]] [[{{{alias}}} {{{altlink}}}|{{{alias}}}]])
Vir: Some source |
* Država gostiteljica ([[Slika:{{{flag alias}}}|22x20px|border]] [[{{{alias}}} {{{altlink}}}|{{{alias}}}]])
Vir: Some source |
Custom host
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
* This be the host!
|
* This be the host!
|
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/peskovnik}} | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Skip nation
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
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}}
|
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}}
|
Works with numbered params as well as IOC codes
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
* Država gostiteljica (Some Country)
|
* Država gostiteljica (Some Country)
|
Hide the totals row
| hide_totals = yes
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Hide the rank row
| hide_rank = yes
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Sport table
{{Medals table}} | {{Medals table/peskovnik}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Leading in that sport
|
Leading in that sport
|