Template:Range
Formats a number range according to language data.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Lower number | 1 | Lowest number in the range
| Number | required |
Higher number | 2 | Highest number in the range
| Number | required |
Unit | 3 | Unit name or symbol to display
| String | suggested |
Is a currency | cur | True if unit is a currency. Do not set else.
| Unknown | optional |
Language code | lang | Do not set to use page language.
| String | optional |
Examples
edit{{range|5|50|$|cur=true}}
→ $5–50{{range|5|50|$|cur=true|lang=fr}}
→ 5 – 50 $
Dependencies
editInternationalization range data must be up to date (else, this template will default to English data).
Uses Module:I18n/range.