Template:Range: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (fix move redlink) |
VeryGoodDog (talk | contribs) m (docs) |
||
Line 7: | Line 7: | ||
! Parameter !! Required or Optional, default if applicable !! Example | ! Parameter !! Required or Optional, default if applicable !! Example | ||
|- | |- | ||
| Unnamed 1 || Required || 2.3 | | Unnamed 1, Average || Required || 2.3 | ||
|- | |- | ||
| Unnamed 2 || Optional || 1.2 | | Unnamed 2, Variance || Optional || 1.2 | ||
|} | |} | ||
Use when you want to show a range of values without doing math. <code><nowiki>{{Range|2.3|1.2}}</nowiki></code> turns into <code>{{Range|2.3|1.2}}</code>. | Use when you want to show a range of values without doing math. <code><nowiki>{{Range|2.3|1.2}}</nowiki></code> turns into <code>{{Range|2.3|1.2}}</code>. | ||
</noinclude> | </noinclude> |
Revision as of 14:37, 10 May 2020
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Unnamed 1, Average | Required | 2.3 |
Unnamed 2, Variance | Optional | 1.2 |
Use when you want to show a range of values without doing math. {{Range|2.3|1.2}}
turns into 1.1 - 3.5*
.