imported>Jimp |
imported>Frietjes |
| 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 ==
| |
| − | * {{tl|Max}} takes up to three optional parameters (ignors empty and non-numeric parameters)
| |
| − | * {{tl|Max/2}} takes exactly two numeric parameters
| |
| − | * {{tl|Max/3}} takes exactly three numeric parameters
| |
| − | * {{tl|Max/4}} takes up to four optional parameters (ignors empty and non-numeric parameters)
| |
| − | * {{tl|Min/12}} - for a minimum value, used the same way.
| |
| − | | |
| − | <includeonly>
| |
| − | <!-- ADD INTERWIKIS BELOW THIS LINE -->
| |
| − | </includeonly>
| |