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
No edit summary
m adding additional valid input
 
Line 3: Line 3:
|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 {{w|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 {{w|brackets}} is
|(|bracket|brackets = The {{{edit|substitution or omission}}} of any {{w|brackets}} is
|#|hash|number = The {{{edit|substitution or omission}}} of the {{w|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

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.