Jump to content

Template:Correct title: Difference between revisions

From WikipediNyah
No edit summary
No edit summary
 
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 {{pagetype|page={{{demopage|{{FULLPAGENAME}}}}}}} is {{terminate sentence|'''{{{title|{{{1|{{Error|not specified}}}}}}}}'''}} {{#switch:{{{reason|}}}
|:|namespace = The {{{edit|substitution or omission}}} of the 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|{{FULLPAGENAME}}}}}| %(.*%)$||1|false}}}} }}  
|2 = omission
|2 = omission
|0 = substitution  
|0 = substitution  
|#default = substitution or omission}}}}} of any brackets is
|#default = substitution or omission}}}}} of any [[bracket]]s 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
|#|hash|number = The {{{edit|{{#ifeq:{{#expr: {{#invoke:String|len|{{{title|{{{1|}}}}}}}} - {{#invoke:String|len|{{#invoke:String|replace|{{{demopage|{{FULLPAGENAME}}}}}| %(.*%)$||1|false}}}} }}|1|omission|substitution}}}}} of the [[number sign|#]] 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|{{FULLPAGENAME}}}}}| %(.*%)$||1|false}}}} }}|1|omission|substitution}}}}} of the [[vertical bar]] is
|length = It is truncated here
|length = It is truncated here
|. = An alternative is used here
|#default = It appears incorrectly here
|#default = It appears incorrectly here
}} due to [[Wikipedia:Naming conventions (technical restrictions){{#switch:{{{reason|}}}
}} due to [[Wikipedia:Naming conventions (technical restrictions){{#switch:{{{reason|}}}
Line 14: Line 15:
|#|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
|tildes = &#35;Three_or_more_consecutive_tildes}}|technical restrictions]].}}<includeonly><!--
-->{{Namespace detect
-->{{Namespace detect
| main  = {{#invoke:Correct title categories|main|{{{title|{{{1|}}}}}}}}
| main  = {{#invoke:Correct title categories|main|{{{title|{{{1|}}}}}}|nocat={{{nocat|}}}}}
| draft = {{#invoke:Correct title categories|main|{{{title|{{{1|}}}}}}}}
| draft = {{#invoke:Correct title categories|main|{{{title|{{{1|}}}}}}|nocat={{{nocat|}}}}}
| 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 15:22, 1 July 2026