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
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>..." |
No edit summary |
||
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 | |:|namespace = The {{{edit|substitution or omission}}} of the {{w|Colon (punctuation)|colon}} is | ||
|(|bracket = The {{{edit|substitution or omission}}} of any | |(|bracket = The {{{edit|substitution or omission}}} of any {{w|brackets}} is | ||
|#|hash|number = The {{{edit|substitution or omission}}} of the | |#|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 | }} 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 | |||
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 ( | For issues with the ({{w|Number sign|#}}) sign, pass the <code>|reason=#</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 ( | For issues with any of ({{w|bracket|< > [ ] { }<nowiki/>}}), pass the <code>|reason=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 | For issues with :, pass the <code>|reason=:</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=:}} |
Revision as of 07:03, 9 November 2017
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
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. |