Singular

edit
{{Detect singular}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|Mack the Knife}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|Ralph Waldo Emerson}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|[[Ralph Waldo Emerson]]}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|David Jones}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|Massachusetts Institute of Technology||singular|plural}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|Alberta College||singular|plural}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|Handy||singular|plural}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|May 4, 2020||singular|plural}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
Start date
{{Detect singular||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
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|312, 415||singular|plural}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|The Land of Milk and Honey|no_and=1}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|Q3238422}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|science fiction literature}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|The End of the F***ing World}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|2,746,388}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|[[Charles, Prince of Wales]]}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|[[Bosnia and Herzegovina]]}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
wlink with ref
{{Detect singular|[[Dave Nellist]][1]||singular|plural}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|[[Martin Luther King, Jr.]]}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
{{Detect singular|Martin Luther King, Jr.|no_comma=yes}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
ubl with one entry
{{Detect singular||singular|plural|1=<div class="plainlist"><ul><li>foo</li></ul></div>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
ubl with comma in one entry
{{Detect singular||singular|plural|1=<div class="plainlist"><ul><li>Henry, Duke of Cornwall</li></ul></div>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
Single marriage
{{Detect singular||singular|plural|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>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
Single marriage with br tag
{{Detect singular||singular|plural|1=

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">[[Maria Shriver]]<br /></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;1986&#59;&#32;<abbr    title="divorced">div.</abbr>&nbsp;2021&#41;<wbr />&#8203;</div>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
HTML entity
{{Detect singular|A&ndash;B||singular|plural}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1

Plural

edit
{{Detect singular|Sasha and Malia}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|[[Alabama]] and [[Georgia]]}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|[[Alabama]], [[Georgia]], [[New Mexico]]}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|312, 415|any_comma=yes}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|[[Area codes 416, 647 and 437|416, 647, 437]]|any_comma=yes |parse_links=true}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|[[List of edible seeds]]}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|Mack, Joe, The Knife}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|Mack , Joe}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
ubl with multiple entries
{{Detect singular||singular|plural|1=<div class="plainlist"><ul><li>A</li><li>B</li><li>C</li></ul></div>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
hlist with multiple entries
{{Detect singular||singular|plural|1=<div class="hlist"><ul><li>first</li><li>second</li><li>third</li></ul></div>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
complex hlist
{{Detect singular||singular|plural|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>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
plainlist with multiple entries
{{Detect singular||singular|plural|1=<div class="plainlist " >
* PC1
* PC2

</div>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|first<br>second<br />third<br/>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|Alberta College<br/>Brandeis University}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|Alberta College<br/>Brandeis University|no_comma=yes}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|* one * two }}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|Q214917 Q28389 Q6625963 Q4853732 Q18844224 Q245068 Q36180 Q639669}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
{{Detect singular|playwright, screenwriter, novelist, children&#39;s writer, science fiction writer, comedian, writer, musician||occupation|occupations}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
plainlist of marriages
{{Detect singular||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
{{Detect singular}}{{Detect singular/sandbox}}
br delimited marriages
{{Detect singular||singular|plural|1=

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;">Jennifer Leigh</div>&#32;<div style="display:inline-block;">&#8203;</div>&#40;<abbr    title="divorced">div.</abbr>&nbsp;1997&#41;<wbr />&#8203;</div><br>

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;">Jordyn Blum</div>&#32;<div style="display:inline-block;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;2003&#41;<wbr />&#8203;</div>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
br delimited marriages with forced line breaks
{{Detect singular||singular|plural|1=

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;margin-top:1px;white-space:normal;">Jennifer Leigh<br></div>
   <div class="marriage-line-margin2px">&#8203;</div>&#32;<div style="display:inline-block;margin-bottom:1px;">&#8203;</div>&#40;<abbr    title="divorced">div.</abbr>&nbsp;1997&#41;<wbr />&#8203;</div><br>

<div class="marriage-display-ws"><div style="display:inline-block;line-height:normal;">Jordyn Blum</div>&#32;<div style="display:inline-block;">&#8203;</div>&#40;<abbr    title="married">m.</abbr>&nbsp;2003&#41;<wbr />&#8203;</div>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}

Forced

edit
blank input
{{Detect singular|}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
force singular
{{Detect singular||singular|plural|1=blah one, blah two, blah three, testcase for forcing singular<span style="display:none" data-plural="0"></span>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
1 1
force plural
{{Detect singular||singular|plural|1=testcase for forcing plural<span style="display:none" data-plural="1"></span>}}
Side by side comparison
{{Detect singular}}{{Detect singular/sandbox}}
  1. ^ "A and B".