Template:Force singular/doc: Difference between revisions

From New Prairie Wiki
Jump to navigation Jump to search
Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> == Usage == This template may be used to override erroneous results of {{tl|Detect singular}} and force a singular result. It takes no parameters and produces no visible output. == Example == <syntaxhighlight lang="wikitext"> {{Infobox person |name=Camilla, Duchess of Cornwall |spouse=Charles, Prince of Wales{{force singular}} }} </syntaxhighlight> W..."
 
(No difference)

Latest revision as of 14:11, 14 August 2025

Usage

This template may be used to override erroneous results of {{Detect singular}} and force a singular result. It takes no parameters and produces no visible output.

Example

{{Infobox person
|name=Camilla, Duchess of Cornwall
|spouse=Charles, Prince of Wales{{force singular}}
}}

Without this template, the person infobox would erroneously parse Charles, Prince of Wales as plural and use the incorrect label "spouses" rather than "spouse".

TemplateData

Overrides erroneous results of plurality detection to force a singular result

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

See also