Template:Progression/testcases
Appearance
This is the template test cases page for the sandbox of Template:Progression. 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 and parsers with these links: |
Expected cases
[edit]Unset
Set to 0
Set to 36
Set to 100
Set to 0 of 150
Set to 36 of 150
Set to 100 of 150
Set to 150 of 150
Unexpected cases
[edit]Set to 150
Set to -50
Set to 200 of 150
Set to -50 of 150
Defined, but null
Divide by zero
{{Progression|50|0}}
{{Progression}}
Expression error: Division by zero% complete | |
<td class="progression-done" Expression error: Unexpected < operator> |
Expression error: Division by zero% complete | |
<td class="progression-done" Expression error: Unexpected < operator> |
zero of zero
{{Progression|0|0}}
{{Progression}}
Expression error: Division by zero% complete | |
Expression error: Division by zero% complete | |