Difference between revisions of "Template:MaybePlural"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>'''This template is to remove the (s) '''category:String Manipulation Templates‎<br/> It is currently equal to the following code, and takes just one argument...")
 
Line 1: Line 1:
<noinclude>'''This template is to remove the (s) '''[[category:String Manipulation Templates‎]]<br/>
+
<noinclude>'''This template is to remove the (s) '''[[category:String Manipulation Templates‎]][[category:Convenience Templates‎]]<br/>
 
It is currently equal to the following code, and takes just one argument, the item which may or may not be plural.<br/>
 
It is currently equal to the following code, and takes just one argument, the item which may or may not be plural.<br/>
 
<font face=courier><nowiki>{{#if: {{Contains|,|{{{1|}}}}}|s}}</nowiki></font></noinclude><includeonly>{{#if: {{Contains|,|{{{1|}}}}}|s}}</includeonly>
 
<font face=courier><nowiki>{{#if: {{Contains|,|{{{1|}}}}}|s}}</nowiki></font></noinclude><includeonly>{{#if: {{Contains|,|{{{1|}}}}}|s}}</includeonly>

Revision as of 22:34, 3 October 2016

This template is to remove the (s)
It is currently equal to the following code, and takes just one argument, the item which may or may not be plural.
{{#if: {{Contains|,|{{{1|}}}}}|s}}