Template:Range: Difference between revisions

From Vintage Story Wiki
m (VeryGoodDog moved page Template:Drops/range to Template:Range without leaving a redirect: it can be used outside of the Drops/row template)
m (fix move redlink)
Line 12: Line 12:
|}
|}


Use when you want to show a range of values without doing math. <code><nowiki>{{Drops/range|2.3|1.2}}</nowiki></code> turns into <code>{{Drops/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:35, 10 May 2020

Parameter Required or Optional, default if applicable Example
Unnamed 1 Required 2.3
Unnamed 2 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*.