Site Notice
Due to recent vandalism, all edits performed by IPs and new users will be reviewed before being published. This means it might take some time for your edit to show up.
New accounts also have to be confirmed before being created.
If you have any questions, contact one of the staff members on their talk page, or on the Discord server.

Template:Correct title: Difference between revisions

From KHUX Wiki
Jump to navigation Jump to search
Created page with "{| class="notice-template" style="background: #f2f5fd; border: 1px solid #00BFFF; border-radius: 10px; margin-bottom: 5px;" width="95%" align="center" |- |align=center|<small>..."
 
m adding additional valid input
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
|-
|-
|align=center|<small>The correct title of this {{#if:{{NAMESPACE}}|page|article}} is '''{{{title|{{{1}}}}}}'''. {{#switch:{{{reason|}}}
|align=center|<small>The correct title of this {{#if:{{NAMESPACE}}|page|article}} is '''{{{title|{{{1}}}}}}'''. {{#switch:{{{reason|}}}
|:|namespace = The {{{edit|substitution or omission}}} of the [[wikipedia:Colon (punctuation)|colon]] is
|:|namespace = The {{{edit|substitution or omission}}} of the {{w|Colon (punctuation)|colon}} is
|(|bracket = The {{{edit|substitution or omission}}} of any [[wikipedia:brackets]] is
|(|bracket|brackets = The {{{edit|substitution or omission}}} of any {{w|brackets}} is
|#|hash|number = The {{{edit|substitution or omission}}} of the [[wikipedia:number sign|#]] is
|#|hash|number = The {{{edit|substitution or omission}}} of the {{w|number sign|#}} is
|vbar|obelisk|vertical bar|pipe|verticalbar = The {{{edit|substitution or omission}}} of the [[vertical bar]] character is
|vbar|obelisk|vertical bar|pipe|verticalbar = The {{{edit|substitution or omission}}} of the [[vertical bar]] character is
|#default = It appears incorrectly here
|#default = It appears incorrectly here
}} due to [[Wikipedia:Wikipedia:Naming conventions (technical restrictions)|technical restrictions]].</small>
}} due to {{w|Wikipedia:Naming conventions (technical restrictions)|technical restrictions}}.</small>
|}
|}
<noinclude>
<noinclude>
This template is used on articles to help explain to readers that restrictions on titles containing colons, periods, and some other characters (noted at [[wikipedia:Wikipedia:TITLESPECIALCHARACTERS]]) affect the page name of the page they are reading.
 
 
This template is used on articles to help explain to readers that restrictions on titles containing colons, periods, and some other characters (noted at {{w|WP:TITLESPECIALCHARACTERS}}) affect the page name of the page they are reading.


===Examples===
===Examples===
For issues with the ([[Number sign|#]]) sign, pass the {{para|reason|#}} parameter:
For issues with the ({{w|Number sign|#}}) sign, pass the <code>&#124;reason&#61;#</code> parameter:
:<code><nowiki>{{Correct title|C# (programming language)|reason=#}}</nowiki></code>
:<code><nowiki>{{Correct title|C# (programming language)|reason=#}}</nowiki></code>
{{Correct title|C# (programming language)|reason=#}}
{{Correct title|C# (programming language)|reason=#}}




For issues with any of ([[bracket|< > [ ] { }]]), pass the {{para|reason|bracket}} parameter:
For issues with any of ({{w|bracket|< > [ ] { }<nowiki/>}}), pass the <code>&#124;reason&#61;bracket</code> parameter:
:<code><nowiki>{{Correct title|Benzo[a]pyrene|reason=bracket}}</nowiki></code>
:<code><nowiki>{{Correct title|Benzo[a]pyrene|reason=bracket}}</nowiki></code>
{{Correct title|Benzo[a]pyrene|reason=bracket}}
{{Correct title|Benzo[a]pyrene|reason=bracket}}




For issues with :, pass the {{para|reason|:}} parameter:
For issues with :, pass the <code>&#124;reason&#61;:</code> parameter:
:<code><nowiki>{{Correct title|DK: King of Swing|reason=:}}</nowiki></code>
:<code><nowiki>{{Correct title|DK: King of Swing|reason=:}}</nowiki></code>
{{Correct title|DK: King of Swing|reason=:}}
{{Correct title|DK: King of Swing|reason=:}}

Latest revision as of 05:17, 3 May 2018

The correct title of this page is {{{1}}}. It appears incorrectly here due to technical restrictions.


This template is used on articles to help explain to readers that restrictions on titles containing colons, periods, and some other characters (noted at WP:TITLESPECIALCHARACTERS) affect the page name of the page they are reading.

Examples[edit]

For issues with the (#) sign, pass the |reason=# parameter:

{{Correct title|C# (programming language)|reason=#}}
The correct title of this page is C# (programming language). The substitution or omission of the # is due to technical restrictions.


For issues with any of (< > [ ] { }), pass the |reason=bracket parameter:

{{Correct title|Benzo[a]pyrene|reason=bracket}}
The correct title of this page is Benzo[a]pyrene. The substitution or omission of any brackets is due to technical restrictions.


For issues with :, pass the |reason=: parameter:

{{Correct title|DK: King of Swing|reason=:}}
The correct title of this page is DK: King of Swing. The substitution or omission of the colon is due to technical restrictions.


The template can also be used without a reason, which produces:

The correct title of this page is Correct title. It appears incorrectly here due to technical restrictions.