<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADetect_singular%2Fdoc</id>
	<title>Template:Detect singular/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ADetect_singular%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Detect_singular/doc&amp;action=history"/>
	<updated>2026-05-10T00:31:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Detect_singular/doc&amp;diff=36055&amp;oldid=prev</id>
		<title>imported&gt;Hike395: /* Examples */ bullets parameter no longer exists</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Detect_singular/doc&amp;diff=36055&amp;oldid=prev"/>
		<updated>2022-01-19T00:59:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples: &lt;/span&gt; bullets parameter no longer exists&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Lua|Module:Detect singular}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Template:Detect singular&amp;#039;&amp;#039;&amp;#039; is used to detect possible lists and is a useful tool for infoboxes, where the label may be singular (e.g., &amp;quot;Nickname:&amp;quot;) but the data may be a list.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|value}}&lt;br /&gt;
&lt;br /&gt;
Returns {{strong|1}} if not a list, {{strong|nil}} if a possible list.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Parameter&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;&lt;br /&gt;
| Required. The data to search for a list.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Options===&lt;br /&gt;
There are four named arguments that control the pluralization:&lt;br /&gt;
* {{para|no_comma}} By default, commas (or semi-colons) will cause the text string to be considered plural. Setting {{para|no_comma|1}} turns this behavior off.&lt;br /&gt;
* {{para|any_comma}} By default, commas (or semi-colons) that are adjacent to digits are singular. Setting {{para|any_comma|1}} turns this behavior off.&lt;br /&gt;
* {{para|no_and}} By default, &amp;quot;and&amp;quot; causes a string to be plural. Setting {{para|no_and|1}} turns this behavior off.&lt;br /&gt;
* {{para|parse_links}} By default, wikilinks are considered to be unparseable (singular) objects. Setting {{para|parse_links|1}} will allow the parser to read the contents of the wikilinks and determine whether that makes the string plural.&lt;br /&gt;
&lt;br /&gt;
== Overrides ==&lt;br /&gt;
To force a particular result, place {{t|Force plural}} or {{t|Force singular}} within the text.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|Mack the Knife}} → {{Detect singular|Mack the Knife}}&lt;br /&gt;
&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|May 4, 2020|no_comma{{=}}yes}} → {{Detect singular|May 4, 2020|no_comma=yes}}&lt;br /&gt;
&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|Mack the Knife, Joe}} → {{Detect singular|Mack the Knife, Joe}}&lt;br /&gt;
&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|{{tlx|hlist|first|second|third}}}} → {{Detect singular|{{hlist|first|second|third}}}}&lt;br /&gt;
&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|*one *two *three}} → {{Detect singular|*one *two *three}}&lt;br /&gt;
&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|[[Charles, Prince of Wales]]}} → {{Detect singular|[[Charles, Prince of Wales]]}}&lt;br /&gt;
&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|[[Dave Nellist]]}} → {{Detect singular|[[Dave Nellist]]}}&lt;br /&gt;
&lt;br /&gt;
Override these errors like this:&lt;br /&gt;
* {{tlx|{{BASEPAGENAME}}|Charles, Prince of Wales{{tlx|force singular}}}} → {{Detect singular|Charles, Prince of Wales{{force singular}}}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Hike395</name></author>
	</entry>
</feed>