Template:Technical reasons/sandbox
This is the template sandbox page for Template:Technical reasons (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Usage
[edit]{{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
[edit]TemplateData for Technical reasons
This template displays a hatnote specifying that for technical reasons a name redirects here, and points to the correct article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name that redirects here | 1 | The name that redirects here. | Line | required |
Actual page name (subject if 3rd parameter is used) | 2 | The actual name of the target page if only using 2 parameters. The subject of actual page if a 3rd parameter is used. | Line | required |
Actual page name | 3 | The actual page name when a subject is specified separately. | Page name | optional |
Prefix (yes/no) | prefix | 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. | Boolean | optional |
See also
[edit]- {{Correct title}}