Template:Correct title/doc

This 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 Naming conventions (technical restrictions)) affect the page name of the page they are reading.

The first unnamed parameter takes the correct name of the page. Do not include any disambiguation-resolving terms within brackets.

Examples
For issues with the (#) sign, pass the # parameter. If the stored page title length is 1 less than the correct title provided to the template, the wording "omission" is produced. Otherwise, the wording "substitution" is produced by default. If this is not correct for a particular page, add a  parameter providing the correct wording.


 * At Coffee 1:


 * At The No. 1s:

For issues with any of (< > [ ] { }), pass the bracket parameter. If the stored page title length is 2 less than the correct title provided to the template, the wording "omission" is produced. If both titles are of same length, the wording "substitution" is produced by default. If this is not correct for a particular page, add a  parameter providing the correct wording.
 * At Benzo(a)pyrene:


 * At (an imitation) blood orange:

For issues with :, pass the : parameter:
 * At DK King of Swing:

For issues with |, pass the vbar parameter. Use ! instead of | while providing the correct title in the template (since | characters are not allowed in template parameters). If the stored page title length is 1 less than the correct title provided to the template, the wording "omission" is produced. Otherwise, the wording "substitution" is produced by default. If this is not correct for a particular page, add a  parameter providing the correct wording.


 * At Europa – Fira station:


 * At DE9 Transitions:

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

TemplateData
{	"params": { "1": {			"label": "Correct title", "description": "The correct name of the page.", "type": "line", "required": true, "aliases": [ "title" ]		},		"reason": { "label": "Reason", "description": "The reason the correct title cannot be used as the page title. Possible reasons are #, :, bracket, and vbar (for |).", "example": "#", "type": "line" },		"edit": { "label": "Substitution or omission", "description": "Override the word used to describe the difference between the correct title and the actual page title.", "type": "line" }	},	"description": "This 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:NCTR) affect the page name of the page they are reading.", "paramOrder": [ "1",		"reason", "edit" ] }