imported>Jimp |
imported>Frietjes |
| (3 intermediate revisions by one other user not shown) |
| Line 1: |
Line 1: |
| − | {{Documentation subpage}}
| + | #REDIRECT [[Template:Max/doc]] |
| − | <includeonly>{{Intricate template}}</includeonly>
| |
| − | | |
| − | Evaluates and returns the maximum of a list of up to twelve numeric values. The parameters can be numeric expressions that will be evaluated. Empty, missing, or skipped parameters are ignored.
| |
| − | | |
| − | ; Syntax<nowiki>:</nowiki>
| |
| − | : <pre>{{Max/12|[value1]|[value2]|etc.}}</pre>
| |
| − | | |
| − | ; Examples:
| |
| − | : <tt><nowiki>{{Max/12}}</nowiki></tt> = "{{Max/12}}".
| |
| − | : <tt><nowiki>{{Max/12|}}</nowiki></tt> = "{{Max/12|}}".
| |
| − | : <tt><nowiki>{{Max/12|7}}</nowiki></tt> = "{{Max/12|7}}".
| |
| − | : <tt><nowiki>{{Max/12|7|}}</nowiki></tt> = "{{Max/12|7|}}".
| |
| − | : <tt><nowiki>{{Max/12|-5|7}}</nowiki></tt> = "{{Max/12|-5|7}}".
| |
| − | : <tt><nowiki>{{Max/12|-5||||7}}</nowiki></tt> = "{{Max/12|-5||||7}}".
| |
| − | | |
| − | == See also ==
| |
| − | * [[Template:Max]] - for the base template that this template uses, can only take three parameters, and no spaces.
| |
| − | * [[Template:Max/3]] and [[Template:Max/4]] - for the base templates that this template uses, can only take up to 3 & 4 parameters.
| |
| − | * [[Template:Min/12]] - for a minimum value, used the same way.
| |
| − | | |
| − | <includeonly>
| |
| − | <!-- ADD INTERWIKIS BELOW THIS LINE -->
| |
| − | </includeonly>
| |