Template:Sum

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Sum/doc.

This template returns the result of an addition.

Usage

{{Sum |1= |2= |3= }}

Template parameters

ParameterDescriptionDefaultStatus
1Terme 1first term of the additionemptyrequired
2Terme 2second term of the additionemptyrequired
3n Termeadditional term of the addition (no limit)emptyoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Example

  • {{Sum|1|1}}: 2
  • {{Sum|10|10|10|10|10|10|10|10|10|10}}: 100

Related properties