Jump to content

Template:Correct title: Difference between revisions

From WikipediNyah
Created page with "{{selfref|1=The correct title of this {{#if:{{NAMESPACE}}|page|article}} is {{terminate sentence|'''{{{title|{{{1|{{Error|not specified}}}}}}}}'''}} {{#switch:{{{reason|}}} |:|namespace = The {{{edit|substitution or omission}}} of the colon is |(|bracket|brackets = The {{{edit|{{#switch:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{PAGENAME}}}}}| %(.*%)$||1|false}}}} }} |2 = omi..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{selfref|1=The correct title of this {{#if:{{NAMESPACE}}|page|article}} is {{terminate sentence|'''{{{title|{{{1|{{Error|not specified}}}}}}}}'''}} {{#switch:{{{reason|}}}
{{selfref|1=The correct title of this {{#if:{{NAMESPACE}}|page|article}} is {{terminate sentence|'''{{{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 is
|(|bracket|brackets = The {{{edit|{{#switch:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{PAGENAME}}}}}| %(.*%)$||1|false}}}} }}  
|(|bracket|brackets = The {{{edit|{{#switch:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{PAGENAME}}}}}| %(.*%)$||1|false}}}} }}  
|2 = omission
|2 = omission
|0 = substitution  
|0 = substitution  
|#default = substitution or omission}}}}} of any [[bracket]]s is
|#default = substitution or omission}}}}} of any brackets is
|#|hash|number = The {{{edit|{{#ifeq:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{PAGENAME}}}}}| %(.*%)$||1|false}}}} }}|1|omission|substitution}}}}} of the [[number sign|#]] is
|#|hash|number = The {{{edit|{{#ifeq:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{PAGENAME}}}}}| %(.*%)$||1|false}}}} }}|1|omission|substitution}}}}} of the # is
|vbar|obelisk|vertical bar|pipe|verticalbar = The {{{edit|{{#ifeq:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{PAGENAME}}}}}| %(.*%)$||1|false}}}} }}|1|omission|substitution}}}}} of the [[vertical bar]] is
|vbar|obelisk|vertical bar|pipe|verticalbar = The {{{edit|{{#ifeq:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{PAGENAME}}}}}| %(.*%)$||1|false}}}} }}|1|omission|substitution}}}}} of the vertical bar is
|length = It is truncated here
|length = It is truncated here
|#default = It appears incorrectly here
|#default = It appears incorrectly here
Line 14: Line 14:
|#|hash|number = #Clashes_with_wiki_markup/HTML_syntax
|#|hash|number = #Clashes_with_wiki_markup/HTML_syntax
|vbar|obelisk|vertical bar|pipe|verticalbar = #Clashes_with_wiki_markup/HTML_syntax
|vbar|obelisk|vertical bar|pipe|verticalbar = #Clashes_with_wiki_markup/HTML_syntax
|length = &#35;Title_length}}|technical restrictions]].}}<includeonly>{{#if:{{NAMESPACE}}{{#iferror:{{#invoke:Page|interwiki|{{#invoke:String|replace|{{{title|{{{1|}}}}}}|'|}}}}{{#invoke:Page|fragment|{{{title|{{{1|}}}}}}a}}{{#ifeq:{{#invoke:Page|isContentPage|{{#invoke:String|replace|{{{title|{{{1|}}}}}}|'|}}}}|true||a}}|a}}||[[Category:Pages using technically valid titles in correct title hatnotes]]}}<!--
|length = &#35;Title_length}}|technical restrictions]].}}<includeonly><!--
-->{{Namespace detect
-->{{Namespace detect
| main  = [[Category:Restricted titles]]
| main  = {{#invoke:Correct title categories|main|{{{title|{{{1|}}}}}}}}
| draft = [[Category:Restricted titles]]
| draft = {{#invoke:Correct title categories|main|{{{title|{{{1|}}}}}}}}
| other = <!-- Don't categorize when not in main or draft space -->
| other = <!-- Don't categorize when not in main or draft space -->
}}</includeonly>
}}</includeonly>

Latest revision as of 18:48, 3 July 2025