Sjabloon:Max/12
Voorkoms
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:
{{Max/12|[value1]|[value2]|etc.}}
- Examples
{{Max/12}}
= "".{{Max/12|}}
= "".{{Max/12|7}}
= "7".{{Max/12|7|}}
= "7".{{Max/12|-5|7}}
= "7".{{Max/12|-5||||7}}
= "7".
See also
[wysig bron]- {{Max}} takes up to three optional parameters (ignors empty and non-numeric parameters)
- {{Max/2}} takes exactly two numeric parameters
- {{Max/3}} takes exactly three numeric parameters
- {{Max/4}} takes up to four optional parameters (ignors empty and non-numeric parameters)
- {{Min/12}} - for a minimum value, used the same way.
Die bostaande dokumentasie is ingesluit vanaf Sjabloon:Max/12/doc. (wysig | geskiedenis) Redigeerders kan eksperimenteer in hierdie sjabloon se sandput (skep | spieël) en toetsgevalle (skep) blaaie. Plaas asseblief kategorieë op die /doc-subbladsy. Subbladsye vir die sjabloon. |