Template:Pluralize from text/testcases: Difference between revisions

From Jonesipedia
Jump to navigation Jump to search
test named arguments
 
m 1 revision imported
 
(No difference)

Latest revision as of 16:48, 2 March 2022

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

Singular

{{Pluralize from text}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
{{Pluralize from text|Mack the Knife||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Ralph Waldo Emerson|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|[[Ralph Waldo Emerson]]||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|David Jones||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Massachusetts Institute of Technology||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Alberta College||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Handy||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|May 4, 2020||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
Start date
{{Pluralize from text||singular|plural|1=May&nbsp;4,&nbsp;2020<span style="display:none">&#160;(<span class="bday dtstart published updated">2020-05-04</span>)</span>}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|312, 415||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|The Land of Milk and Honey||singular|plural|no_and=1}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
{{Pluralize from text|||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
{{Pluralize from text|The End of the F***ing World||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
{{Pluralize from text|[[Charles, Prince of Wales]]||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|[[Bosnia and Herzegovina]]||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
wlink with ref
{{Pluralize from text|[[Dave Nellist]][1]|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|[[Martin Luther King, Jr.]]||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Martin Luther King, Jr.||singular|plural|no_comma=yes}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
ubl with one entry
{{Pluralize from text|1=<templatestyles src="Plainlist/styles.css"></templatestyles><div class="plainlist"><ul><li>foo</li></ul></div>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
ubl with comma in one entry
{{Pluralize from text||1=<templatestyles src="Plainlist/styles.css"></templatestyles><div class="plainlist"><ul><li>Henry, Duke of Cornwall</li></ul></div>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
Single marriage
{{Pluralize from text|1=<div style="display:inline;white-space:nowrap;"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Virginia Eliza Clemm Poe]]</div>
   <div style="line-height:0;margin-bottom:-2px;">&#8203;</div>&#32;<div style="display:inline-block;margin-bottom:1px;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;1836&#59;&#32;died&nbsp;1847&#41;<wbr />&#8203;</div>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular

Plural

{{Pluralize from text|Sasha and Malia||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|[[Alabama]] and [[Georgia]]||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|[[Alabama]], [[Georgia]], [[New Mexico]]||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|312, 415||singular|plural|any_comma=yes}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|[[Area codes 416, 647 and 437|416, 647, 437]]||singular|plural|any_comma=yes|parse_links=true}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|[[List of edible seeds]]||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|Mack, Joe, The Knife||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|Mack , Joe||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
ubl with multiple entries
{{Pluralize from text|1=<templatestyles src="Plainlist/styles.css"></templatestyles><div class="plainlist"><ul><li>A</li><li>B</li><li>C</li></ul></div>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
hlist with multiple entries
{{Pluralize from text|1=<templatestyles src="Hlist/styles.css"></templatestyles><div class="hlist"><ul><li>first</li><li>second</li><li>third</li></ul></div>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
complex hlist
{{Pluralize from text|1=<templatestyles src="Hlist/styles.css"></templatestyles><div class="hlist"><ul><li>Henry, Duke of Cornwall</li><li>Mary I, Queen of England</li><li>Henry FitzRoy, Duke of Richmond and Somerset (ill.)</li><li>Elizabeth I, Queen of England</li><li>Edward VI, King of England</li></ul></div>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
plainlist with multiple entries
{{Pluralize from text|1=<div class="plainlist " >
* PC1
* PC2

</div>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|first<br>second<br />third<br/>||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|Alberta College<br/>Brandeis University||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|Alberta College<br/>Brandeis University||singular|plural|no_comma=yes}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|* one * two ||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|Q42||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|||occupation|occupations}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plainlist of marriages
{{Pluralize from text||singular|plural|1=<div class="plainlist " >
* 
<div style="display:inline;white-space:nowrap;"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Ivana Trump|Ivana Zelníčková]]</div>
   <div style="line-height:0;margin-bottom:-2px;">&#8203;</div>&#32;<div style="display:inline-block;margin-bottom:1px;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;<span title="April 7, 1977" class="rt-commentedText" >1977</span>&#59;&#32;<abbr    title="divorced">div.</abbr>&nbsp;<span title="March 22, 1992" class="rt-commentedText" >1992</span>&#41;<wbr />&#8203;</div>
* 
<div style="display:inline;white-space:nowrap;"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Marla Maples]]</div>
   <div style="line-height:0;margin-bottom:-2px;">&#8203;</div>&#32;<div style="display:inline-block;margin-bottom:1px;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;<span title="December 20, 1993" class="rt-commentedText" >1993</span>&#59;&#32;<abbr    title="divorced">div.</abbr>&nbsp;<span title="June 8, 1999" class="rt-commentedText" >1999</span>&#41;<wbr />&#8203;</div>
* 
<div style="display:inline;white-space:nowrap;"><div style="display:inline-block;line-height:normal;">[[Melania Trump|Melania Knauss]]</div>&#32;<div style="display:inline-block;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;<span title="January 22, 2005" class="rt-commentedText" >2005</span>&#41;<wbr />&#8203;</div>

</div>}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural

Forced

blank input
{{Pluralize from text|||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
force singular
{{Pluralize from text|1=blah one, blah two, blah three, testcase for forcing singular<data value="forcedetectsingular"></data>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
force plural
{{Pluralize from text|1=testcase for forcing plural<data value="forcedetectplural"></data>|plural=plural|singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text||761/345|singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural

Links

{{Pluralize from text|Chicagoan|link=Demonym|plural=Demonyms|singular=Demonym}}
{{Pluralize from text|361 and 745||Area Code|Area Codes|Area code}}

References

<templatestyles src="Reflist/styles.css" />

  1. <templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>"A and B".