Template:MaybePlural

From Wikispooks
Revision as of 01:29, 4 October 2016 by Robin (talk | contribs) (Text replacement - "String manipulation Templates" to "String manipulation templates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is to avoid the ugly looking "(s)" on the end of labels.
One day it might tackle irregular plurals, but for now it is currently equal to the following code, which takes just one argument, the item which may or may not be plural.
{{#if: {{Contains|,|{{{1|}}}}}|s}}