Template:Technical reasons/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

Usage

{{technical reasons|foo|bar}}

produces the following hatnote:

and...

{{technical reasons|foo|bat|bar}}

produces the following hatnote:

See an example in the hatnote of the Waltz article.

The |prefix= parameter, which uses {{yesno}} values, can be used to change '"foo" redirects here' to 'terms beginning with "foo" redirect here". For an example, see F.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Technical reasons in articles based on its TemplateData.

TemplateData for Technical reasons

<templatedata> { "params": { "1": { "label": "Name that redirects here", "description": "The name that redirects here.", "type": "line", "required": true }, "2": { "label": "Actual page name (subject if 3rd parameter is used)", "description": "The actual name of the target page if only using 2 parameters. The subject of actual page if a 3rd parameter is used.", "type": "line", "required": true }, "3": { "label": "Actual page name", "description": "The actual page name when a subject is specified separately.", "type": "wiki-page-name" }, "prefix": { "label": "Prefix (yes/no)", "description": "Set to yes, y, or 1 to indicate that the redirect name is rather a prefix that multiple inbound terms start with. All other values have no effect.", "type": "boolean" } }, "description": "This template displays a hatnote specifying that for technical reasons a name redirects here, and points to the correct article.", "paramOrder": [ "1", "2", "3", "prefix" ], "format": "inline" } </templatedata>

See also