Template:Min: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Verdy p
mNo edit summary
meta>Verdy p
mNo edit summary
Line 7: Line 7:
: <tt><nowiki>{{min|-7}}</nowiki></tt> = "{{min|-7}}".
: <tt><nowiki>{{min|-7}}</nowiki></tt> = "{{min|-7}}".
: <tt><nowiki>{{min|-7|}}</nowiki></tt> = "{{min|-7|}}".
: <tt><nowiki>{{min|-7|}}</nowiki></tt> = "{{min|-7|}}".
: <tt><nowiki>{{min|7|-5}}</nowiki></tt> = "{{min|-7|5}}".
: <tt><nowiki>{{min|7|-5}}</nowiki></tt> = "{{min|7-|5}}".
: <tt><nowiki>{{min|7|-5|}}</nowiki></tt> = "{{min|-7|5|}}".
: <tt><nowiki>{{min|7|-5|}}</nowiki></tt> = "{{min|7|-5|}}".
: <tt><nowiki>{{min|7|-5|-8}}</nowiki></tt> = "{{min|-7|5|8}}".
: <tt><nowiki>{{min|7|-5|-8}}</nowiki></tt> = "{{min|7|-5|8}}".
: <tt><nowiki>{{min|40*41|300+30}}</nowiki></tt> = "{{min|40*41|300+30}}".
: <tt><nowiki>{{min|40*41|300+30}}</nowiki></tt> = "{{min|40*41|300+30}}".
: <tt><nowiki>{{min|100+10|300+30|200+20}}</nowiki></tt> = "{{min|100+10|300+30|200+20}}".
: <tt><nowiki>{{min|100+10|300+30|200+20}}</nowiki></tt> = "{{min|100+10|300+30|200+20}}".

Revision as of 15:45, 24 April 2006

Template:Template documentation Evaluates and returns the minimum of a list of numeric expressions (with up to 3 parameters).

Syntax:
Examples:
{{min}} = "".
{{min|}} = "".
{{min|-7}} = "-7".
{{min|-7|}} = "-7".
{{min|7|-5}} = "Expression error: Unexpected < operator.".
{{min|7|-5|}} = "-5".
{{min|7|-5|-8}} = "-5".
{{min|40*41|300+30}} = "330".
{{min|100+10|300+30|200+20}} = "110".
See also: