Difference between revisions of "Template:Correct title/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sroc
(→‎Examples: which)
Line 20: Line 20:
  
  
The template can also be used without a reason, when produces:
+
The template can also be used without a reason, which produces:
 
{{Correct title|Correct title}}
 
{{Correct title|Correct title}}
  

Revision as of 20:00, 27 January 2015

Template:Correct title is a Wikipedia maintenance template that produces an article hatnote 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=#}}

Template:Namespace detect


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

{{Correct title|Benzo[a]pyrene|reason=bracket}}

Template:Namespace detect


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

{{Correct title|DK: King of Swing|reason=:}}

Template:Namespace detect


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

Template:Namespace detect

See also

Template:WrongTitleExamples