Difference between revisions of "Template:MedalCount/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add test case with actual data)
imported>Zyxw
(update)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
  
 +
== Positions of numbered parameters ==
 
{{Testcase table
 
{{Testcase table
 +
| _collapsible = yes
 
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
 
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
 
| _after = </table>
 
| _after = </table>
Line 18: Line 20:
 
}}
 
}}
  
 +
== Manually calculated total row ==
 
{{Testcase table
 
{{Testcase table
 +
| _collapsible = yes
 
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
 
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
 
| _after = </table>
 
| _after = </table>
Line 29: Line 33:
 
| {{nowrap|Junior Norwegian Championships}} | 4 | 1 | 1
 
| {{nowrap|Junior Norwegian Championships}} | 4 | 1 | 1
 
| '''Total (135 medals)''' | '''79''' | '''31''' | '''25'''
 
| '''Total (135 medals)''' | '''79''' | '''31''' | '''25'''
 +
}}
 +
 +
== Automatically calculated total row ==
 +
{{Testcase table
 +
| _collapsible = yes
 +
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
 +
| _after = </table>
 +
| [[Winter Olympic Games|Olympic Games]] | 8 | 4 | 1
 +
| [[Biathlon World Championships|World Championships]] | 19 | 12 | 9
 +
| {{nowrap|[[Summer Biathlon World Championships|Summer World Championships]]}} | 1 | 1 | 1
 +
| {{nowrap|[[Norwegian Biathlon Championships|Norwegian Championships]]}} | 30 | 8 | 12
 +
| {{nowrap|Summer Norwegian Championships}} | 14 | 5 | 0
 +
| {{nowrap|[[Biathlon Junior World Championships|Junior World Championships]]}} | 3 | 0 | 1
 +
| {{nowrap|Junior Norwegian Championships}} | 4 | 1 | 1
 +
| total = yes
 +
}}
 +
 +
== Automatically calculated total row, with non-numeric values ==
 +
{{Testcase table
 +
| _collapsible = yes
 +
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
 +
| _after = </table>
 +
| [[Winter Olympic Games|Olympic Games]] | 8 | 4 | 1
 +
| [[Biathlon World Championships|World Championships]] | 19 | 12 | 9
 +
| {{nowrap|[[Summer Biathlon World Championships|Summer World Championships]]}} | 1 | 1 | 1
 +
| {{nowrap|[[Norwegian Biathlon Championships|Norwegian Championships]]}} | 30 | 8 | 12
 +
| {{nowrap|Summer Norwegian Championships}} | 14 | 5 | –
 +
| {{nowrap|[[Biathlon Junior World Championships|Junior World Championships]]}} | 3 | – | 1
 +
| {{nowrap|Junior Norwegian Championships}} | 4 | 1 | 1
 +
| total = yes
 
}}
 
}}

Latest revision as of 20:50, 9 August 2017

Positions of numbered parameters

Template:Testcase table

Manually calculated total row

Template:Testcase table

Automatically calculated total row

Template:Testcase table

Automatically calculated total row, with non-numeric values

Template:Testcase table