Difference between revisions of "Lowest"

From Sega Retro

(reverted)
Line 1: Line 1:
<includeonly>{{#ifexpr: {{{1|9999}}}>{{{2|9999}}}
+
<includeonly>{{#vardefine:x|{{#expr:{{{1|9999}}} }} }}{{
| {{#ifexpr: {{{2}}}>{{{3|9999}}}
+
#ifexpr:{{{2|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{2}}} }}  }} |}}{{
| {{#ifexpr: {{{3}}}>{{{4|9999}}}
+
#ifexpr:{{{3|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{3}}} }}  }} |}}{{
| {{#ifexpr: {{{4}}}>{{{5|9999}}} | {{{5}}} | {{{4}}} }}
+
#ifexpr:{{{4|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{4}}} }}  }} |}}{{
| {{#ifexpr: {{{3}}}>{{{5|9999}}} | {{{5}}} | {{{3}}} }}
+
#ifexpr:{{{5|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{5}}} }} }} |}}{{
}}
+
#ifexpr:{{{6|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{6}}} }} }} |}}{{
| {{#ifexpr: {{{2}}}>{{{4|9999}}}
+
#ifexpr:{{{7|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{7}}} }}  }} |}}{{
| {{#ifexpr: {{{4}}}>{{{5|9999}}} | {{{5}}} | {{{4}}} }}
+
#ifexpr:{{{8|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{8}}} }} }} |}}{{
| {{#ifexpr: {{{2}}}>{{{5|9999}}} | {{{5}}} | {{{2}}} }}
+
#ifexpr:{{{9|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{9}}} }} }} |}}{{
}}
+
#ifexpr:{{{10|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{10}}} }} }} |}}{{
}}
+
#ifexpr:{{{11|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{11}}} }} }} |}}{{
| {{#ifexpr: {{{1}}}>{{{3|9999}}}
+
#ifexpr:{{{12|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{12}}} }} }} |}}{{
| {{#ifexpr: {{{3}}}>{{{4|9999}}}
+
#ifexpr:{{{13|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{13}}} }}  }} |}}{{
| {{#ifexpr: {{{4}}}>{{{5|9999}}} | {{{5}}} | {{{4}}} }}
+
#ifexpr:{{{14|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{14}}} }} }} |}}{{
| {{#ifexpr: {{{3}}}>{{{5|9999}}} | {{{5}}} | {{{3}}} }}
+
#ifexpr:{{{15|9999}}}<{{#var:x}}|{{#vardefine:x|{{#expr:{{{15}}} }} }} |}}{{#var:x}}</includeonly><noinclude>
}}
+
This template returns the lowest number from a series of numbers.
| {{#ifexpr: {{{1}}}>{{{4|9999}}}
+
 
| {{#ifexpr: {{{4}}}>{{{5|9999}}} | {{{5}}} | {{{4}}} }}
+
[[Category:Sega Retro Templates|{{PAGENAME}}]]</noinclude>
| {{#ifexpr: {{{1}}}>{{{5|9999}}} | {{{5}}} | {{{1}}} }}
 
}}
 
}}
 
}}</includeonly>
 

Revision as of 18:03, 21 April 2012

This template returns the lowest number from a series of numbers.