Template:Party Size

From Phantasy Star Universe Clementine
Revision as of 01:57, 20 December 2023 by Mika (talk | contribs) (added recommended)

Purpose

Party Size turns the the inclusive bookends of an integer range into a pretty string. Used for infoboxes and other templates. Note that the recommended size has no validation - it can be an integer or a string.

Examples

Party Size Between 1 and 6

{{Party Size|min=1|max=6}}

1-6 Players

Party Size Between 1 and 6 With Recommended Size of 4+

{{Party Size|min=1|max=6}}

1-6 Players (4+ recom.)

Party Size Between 1 and 1

{{Party Size|min=1|max=1}}

1 Player

Party Size Between 2 and 2

{{Party Size|min=2|max=2}}

2 Players

Party Size Between 6 and 1 With Arbitrary Recommended Size

{{Party Size|min=6|max=1|rec=69420ayylmao}}

Error: 6 must be smaller or equal to 1 ‎