Jump to content

Template:Correct title: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Reverted good faith edits by The Nth User (talk): This is breaking the template somewhere (TW)
allow plural "brackets" as an alternative for "bracket" reason
Line 1: Line 1:
{{selfref|1=The correct title of this {{#if:{{NAMESPACE}}|page|article}} is '''{{{title|{{{1|{{Error|not specified}}}}}}}}'''. {{#switch:{{{reason|}}}
{{selfref|1=The correct title of this {{#if:{{NAMESPACE}}|page|article}} is '''{{{title|{{{1|{{Error|not specified}}}}}}}}'''. {{#switch:{{{reason|}}}
|:|namespace = The {{{edit|substitution or omission}}} of the [[Colon (punctuation)|colon]] is
|:|namespace = The {{{edit|substitution or omission}}} of the [[Colon (punctuation)|colon]] is
|(|bracket = The {{{edit|{{#switch:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{PAGENAME}}| %(.*%)$||1|false}}}} }}
|(|bracket|brackets = The {{{edit|{{#switch:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{PAGENAME}}| %(.*%)$||1|false}}}} }}
|2 = omission
|2 = omission
|0 = substitution
|0 = substitution

Revision as of 18:00, 9 December 2020