Template:LessThan1Becomes1

From Legends of Hyrule
Revision as of 02:58, 30 January 2020 by Guy (talk | contribs) (Created page with "<includeonly>{{#ifexpr: 1 > {{{1|-999}}} |1|{{{1}}}}}</includeonly><noinclude>==Usage== <pre>{{LessThan1Becomes1|X}}</pre> If "X" is replaced with a numeric value of less tha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Usage

{{LessThan1Becomes1|X}}

If "X" is replaced with a numeric value of less than 1, the template returns "1". Otherwise, the template returns whatever text is in the place of X.