Jump to content

Template:Correct title: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Tbodt (talk | contribs)
Add length truncation reason and reason-specific links to WP:NCTR sections. Copied from sandbox.
Oops
 
(2 intermediate revisions by 2 users not shown)
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 {{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 (punctuation)|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}}}} }}
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><!--
|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]]}}<!--
-->{{Namespace detect
-->{{Namespace detect
| main = {{#invoke:Correct title categories|main|{{{title|{{{1|}}}}}}}}
| main = [[Category:Restricted titles]]
| draft = {{#invoke:Correct title categories|main|{{{title|{{{1|}}}}}}}}
| draft = [[Category:Restricted titles]]
| other = <!-- Don't categorize when not in main or draft space -->
| other = <!-- Don't categorize when not in main or draft space -->
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Latest revision as of 15:04, 11 June 2024