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

From blackwiki
Jump to navigation Jump to search
imported>Funplussmart
imported>Izno
(sandbox other)
Line 29: Line 29:
 
{{WrongTitleExamples}}
 
{{WrongTitleExamples}}
  
<includeonly>
+
<includeonly>{{sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Correct title templates]]
 
[[Category:Correct title templates]]
  
</includeonly>
+
}}</includeonly>

Revision as of 20:17, 3 September 2018

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