Template:LessThan1Becomes1

From D&D Wiki

Revision as of 03:23, 2 March 2017 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: navigation, 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.

Home of user-generated,
homebrew pages!


Advertisements: