Difference between revisions of "Template:Average/doc"
Jump to navigation
Jump to search
imported>BrandonXLF |
imported>BrandonXLF |
||
| Line 1: | Line 1: | ||
{{lua|Module:Average}} | {{lua|Module:Average}} | ||
This template is used to find the mean of a series of numbers. | This template is used to find the mean of a series of numbers. | ||
| − | + | ==Parameters=== | |
Parameters with a number as the value are the numbers to find the average of. | Parameters with a number as the value are the numbers to find the average of. | ||
{{para|type}} is the type (set to median to output median) | {{para|type}} is the type (set to median to output median) | ||
| + | ==Examples== | ||
| + | {{Average|10|20|30|40}} (<nowiki>{{Average|10|20|30|40}}</nowiki>) | ||
| − | + | {{Average|type=median|10|20|30|40}} (<nowiki>{{Average|type=median|10|20|30|40}}</nowiki>) | |
| − | + | {{Average|type=median|10|20|30|40|50}} (<nowiki>{{Average|type=median|10|20|30|40|50}}</nowiki>) | |
Revision as of 04:34, 30 September 2018
| This template uses Lua: |
This template is used to find the mean of a series of numbers.
Parameters=
Parameters with a number as the value are the numbers to find the average of.
|type= is the type (set to median to output median)
Examples
25 ({{Average|10|20|30|40}})
25 ({{Average|type=median|10|20|30|40}})
30 ({{Average|type=median|10|20|30|40|50}})