Jump to content

Template:Pluralize from text/testcases

From Wikipedia, the free encyclopedia

Singular

[edit]
{{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 itvstart">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|Q3238422||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|science fiction literature||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{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|2,746,388||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{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=<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=<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 class="marriage-display-ws"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Virginia Eliza Clemm Poe]]</div>
   <div class="marriage-line-margin2px">&#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
HTML entity
{{Pluralize from text|A&ndash;B|plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular

Plural

[edit]
{{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=<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=<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=<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|Q214917 Q28389 Q6625963 Q4853732 Q18844224 Q245068 Q36180 Q639669||singular|plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|playwright, screenwriter, novelist, children&#39;s writer, science fiction writer, comedian, writer, musician||occupation|occupations}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
occupations occupations
plainlist of marriages
{{Pluralize from text||singular|plural|1=<div class="plainlist " >
* 

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Ivana Trump|Ivana Zelníčková]]</div>
   <div class="marriage-line-margin2px">&#8203;</div>&#32;<div style="display:inline-block;margin-bottom:1px;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;<span class="rt-commentedText tooltip  "   title="April 7, 1977">1977</span>&#59;&#32;<abbr    title="divorced">div.</abbr>&nbsp;<span class="rt-commentedText tooltip  "   title="March 22, 1992">1992</span>&#41;<wbr />&#8203;</div>
* 

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Marla Maples]]</div>
   <div class="marriage-line-margin2px">&#8203;</div>&#32;<div style="display:inline-block;margin-bottom:1px;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;<span class="rt-commentedText tooltip  "   title="December 20, 1993">1993</span>&#59;&#32;<abbr    title="divorced">div.</abbr>&nbsp;<span class="rt-commentedText tooltip  "   title="June 8, 1999">1999</span>&#41;<wbr />&#8203;</div>
* 

<div class="marriage-display-ws"><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 class="rt-commentedText tooltip  "   title="January 22, 2005">2005</span>&#41;<wbr />&#8203;</div>

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

Ternary

[edit]
{{Pluralize from text|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
{{Pluralize from text|Mack the Knife|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Ralph Waldo Emerson|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|[[Ralph Waldo Emerson]]|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|David Jones|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Massachusetts Institute of Technology|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Alberta College|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Handy|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|May 4, 2020|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
Start date
{{Pluralize from text|1=May&nbsp;4,&nbsp;2020<span style="display:none">&#160;(<span class="bday dtstart published updated itvstart">2020-05-04</span>)</span> |likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|312, 415|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|The Land of Milk and Honey|likely=likely |no_and=1 |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Q3238422singular=singular |likely=likely |plural=plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
{{Pluralize from text|likely=likely |plural=plural |science fiction literaturesingular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
{{Pluralize from text|The End of the F***ing World|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|2,746,388|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|[[Charles, Prince of Wales]]|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|[[Bosnia and Herzegovina]]|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
wlink with ref
{{Pluralize from text|[[Dave Nellist]][1]|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|[[Martin Luther King, Jr.]]|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Martin Luther King, Jr.|likely=likely |no_comma=yes |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
ubl with one entry
{{Pluralize from text|1=<div class="plainlist"><ul><li>foo</li></ul></div>singular=singular |likely=likely |plural=plural}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
ubl with comma in one entry
{{Pluralize from text||1=<div class="plainlist"><ul><li>Henry, Duke of Cornwall</li></ul></div> |likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
Single marriage
{{Pluralize from text|1=

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Virginia Eliza Clemm Poe]]</div>
   <div class="marriage-line-margin2px">&#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> |likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
singular singular
{{Pluralize from text|Sasha and Malia||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|[[Alabama]] and [[Georgia]]||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|[[Alabama]], [[Georgia]], [[New Mexico]]||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|312, 415||any_comma=yes |likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|[[Area codes 416, 647 and 437|416, 647, 437]]||any_comma=yes |likely=likely |parse_links=true |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|[[List of edible seeds]]||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|Mack, Joe, The Knife||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|Mack , Joe||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
ubl with multiple entries
{{Pluralize from text|1=<div class="plainlist"><ul><li>A</li><li>B</li><li>C</li></ul></div> |likely=likely |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=<div class="hlist"><ul><li>first</li><li>second</li><li>third</li></ul></div> |likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
complex hlist
{{Pluralize from text|1=<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> |likely=likely |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> |likely=likely |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/>||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|Alberta College<br/>Brandeis University||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|Alberta College<br/>Brandeis University||likely=likely |no_comma=yes |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
{{Pluralize from text|* one * two |likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|Q214917 Q28389 Q6625963 Q4853732 Q18844224 Q245068 Q36180 Q639669||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text|playwright, screenwriter, novelist, children&#39;s writer, science fiction writer, comedian, writer, musician||likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
likely likely
plainlist of marriages
{{Pluralize from text||1=<div class="plainlist " >
* 

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Ivana Trump|Ivana Zelníčková]]</div>
   <div class="marriage-line-margin2px">&#8203;</div>&#32;<div style="display:inline-block;margin-bottom:1px;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;<span class="rt-commentedText tooltip  "   title="April 7, 1977">1977</span>&#59;&#32;<abbr    title="divorced">div.</abbr>&nbsp;<span class="rt-commentedText tooltip  "   title="March 22, 1992">1992</span>&#41;<wbr />&#8203;</div>
* 

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Marla Maples]]</div>
   <div class="marriage-line-margin2px">&#8203;</div>&#32;<div style="display:inline-block;margin-bottom:1px;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;<span class="rt-commentedText tooltip  "   title="December 20, 1993">1993</span>&#59;&#32;<abbr    title="divorced">div.</abbr>&nbsp;<span class="rt-commentedText tooltip  "   title="June 8, 1999">1999</span>&#41;<wbr />&#8203;</div>
* 

<div class="marriage-display-ws"><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 class="rt-commentedText tooltip  "   title="January 22, 2005">2005</span>&#41;<wbr />&#8203;</div>

</div> |likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural

Forced

[edit]
blank input
{{Pluralize from text|likely=likely |plural=plural |singular=singular}}
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<span style="display:none" data-plural="0"></span> |likely=likely |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<span style="display:none" data-plural="1"></span> |likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
{{Pluralize from text||761/345|likely=likely |plural=plural |singular=singular}}
Side by side comparison
{{Pluralize from text}}{{Pluralize from text/sandbox}}
plural plural
[edit]
{{Pluralize from text|Chicagoan|link=Demonym |plural=Demonyms |singular=Demonym}}
{{Pluralize from text|361 and 745||Area Code|Area Codes|Area code}}

References

[edit]
  1. ^ a b "A and B".