Template:Technical reasons/doc: Difference between revisions
Orangestar (talk | contribs) m 1 revision imported |
Orangestar (talk | contribs) m Text replacement - "[[WP:" to "[[wikipedia:WP:" |
||
| Line 6: | Line 6: | ||
{{tlx|technical reasons|foo|bar}} | {{tlx|technical reasons|foo|bar}} | ||
: produces the following [[WP:Hatnote|hatnote]]: | : produces the following [[wikipedia:WP:Hatnote|hatnote]]: | ||
{{technical reasons|foo|bar}} | {{technical reasons|foo|bar}} | ||
| Line 13: | Line 13: | ||
{{tlx|technical reasons|foo|bat|bar}} | {{tlx|technical reasons|foo|bat|bar}} | ||
: produces the following [[WP:Hatnote|hatnote]]: | : produces the following [[wikipedia:WP:Hatnote|hatnote]]: | ||
{{technical reasons|foo|bat|bar}} | {{technical reasons|foo|bat|bar}} | ||
Latest revision as of 17:58, 13 June 2024
| This template uses Lua: |
Usage
[edit source]{{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 source]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 source]- {{Correct title}}