Difference between revisions of "Template:Min"
From Shadow of the Throne Wiki
m (Extending range to 10) |
|||
Line 1: | Line 1: | ||
{{switch|{{{1|}}}.{{{2|}}}|= | {{switch|{{{1|}}}.{{{2|}}}|= | ||
− | |case 0.0:=0|case 0.1:=0|case 0.2:=0|case 0.3:=0|case 0.4:=0|case 0.5:=0|case 0.6:=0|case 0.7:=0|= | + | |case 0.0:=0|case 0.1:=0|case 0.2:=0|case 0.3:=0|case 0.4:=0|case 0.5:=0|case 0.6:=0|case 0.7:=0|case 0.8:=0|case 0.9:=0|case 0.10:=0|= |
− | |case 1.0:=0|case 1.1:=1|case 1.2:=1|case 1.3:=1|case 1.4:=1|case 1.5:=1|case 1.6:=1|case 1.7:=1|= | + | |case 1.0:=0|case 1.1:=1|case 1.2:=1|case 1.3:=1|case 1.4:=1|case 1.5:=1|case 1.6:=1|case 1.7:=1|case 1.8:=1|case 1.9:=1|case 1.10:=1|= |
− | |case 2.0:=0|case 2.1:=1|case 2.2:=2|case 2.3:=2|case 2.4:=2|case 2.5:=2|case 2.6:=2|case 2.7:=2|= | + | |case 2.0:=0|case 2.1:=1|case 2.2:=2|case 2.3:=2|case 2.4:=2|case 2.5:=2|case 2.6:=2|case 2.7:=2|case 2.8:=2|case 2.9:=2|case 2.10:=2|= |
− | |case 3.0:=0|case 3.1:=1|case 3.2:=2|case 3.3:=3|case 3.4:=3|case 3.5:=3|case 3.6:=3|case 3.7:=3|= | + | |case 3.0:=0|case 3.1:=1|case 3.2:=2|case 3.3:=3|case 3.4:=3|case 3.5:=3|case 3.6:=3|case 3.7:=3|case 3.8:=3|case 3.9:=3|case 3.10:=3|= |
− | |case 4.0:=0|case 4.1:=1|case 4.2:=2|case 4.3:=3|case 4.4:=4|case 4.5:=4|case 4.6:=4|case 4.7:=4|= | + | |case 4.0:=0|case 4.1:=1|case 4.2:=2|case 4.3:=3|case 4.4:=4|case 4.5:=4|case 4.6:=4|case 4.7:=4|case 4.8:=4|case 4.9:=4|case 4.10:=4|= |
− | |case 5.0:=0|case 5.1:=1|case 5.2:=2|case 5.3:=3|case 5.4:=4|case 5.5:=5|case 5.6:=5|case 5.7:=5|= | + | |case 5.0:=0|case 5.1:=1|case 5.2:=2|case 5.3:=3|case 5.4:=4|case 5.5:=5|case 5.6:=5|case 5.7:=5|case 5.8:=5|case 5.9:=5|case 5.10:=5|= |
− | |case 6.0:=0|case 6.1:=1|case 6.2:=2|case 6.3:=3|case 6.4:=4|case 6.5:=5|case 6.6:=6|case 6.7:=6|= | + | |case 6.0:=0|case 6.1:=1|case 6.2:=2|case 6.3:=3|case 6.4:=4|case 6.5:=5|case 6.6:=6|case 6.7:=6|case 6.8:=6|case 6.9:=6|case 6.10:=6|= |
− | |case 7.0:=0|case 7.1:=1|case 7.2:=2|case 7.3:=3|case 7.4:=4|case 7.5:=5|case 7.6:=6|case 7.7:=7|= | + | |case 7.0:=0|case 7.1:=1|case 7.2:=2|case 7.3:=3|case 7.4:=4|case 7.5:=5|case 7.6:=6|case 7.7:=7|case 7.8:=7|case 7.9:=7|case 7.10:=7|= |
+ | |case 8.0:=0|case 8.1:=1|case 8.2:=2|case 8.3:=3|case 8.4:=4|case 8.5:=5|case 8.6:=6|case 8.7:=7|case 8.8:=8|case 8.9:=8|case 8.10:=8|= | ||
+ | |case 9.0:=0|case 9.1:=1|case 9.2:=2|case 9.3:=3|case 9.4:=4|case 9.5:=5|case 9.6:=6|case 9.7:=7|case 9.8:=8|case 9.9:=9|case 9.10:=9|= | ||
+ | |case 10.0:=0|case 10.1:=1|case 10.2:=2|case 10.3:=3|case 10.4:=4|case 10.5:=5|case 10.6:=6|case 10.7:=7|case 10.8:=8|case 10.9:=9|case 10.10:=10|= | ||
|default=MIN({{{1|}}},{{{2|}}}) out of range|= | |default=MIN({{{1|}}},{{{2|}}}) out of range|= | ||
}} | }} |