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
(Add test case for optional automatically calculated total row.)
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
  
 +
== Positions of numbered parameters ==
 
{{Testcase table
 
{{Testcase table
 
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
 
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
Line 18: Line 19:
 
}}
 
}}
  
 +
== Actual usage, manually calculated total row ==
 
{{Testcase table
 
{{Testcase table
 
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
 
| _before = {{(}}{{!}} class="infobox" style="width:22em;"
Line 29: Line 31:
 
| {{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'''
 +
}}
 +
 +
== Actual usage, automatically calculated total row ==
 +
{{Testcase table
 +
| _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
 
}}
 
}}

Revision as of 04:26, 15 September 2015

Positions of numbered parameters

Template:Testcase table

Actual usage, manually calculated total row

Template:Testcase table

Actual usage, automatically calculated total row

Template:Testcase table