This is a documentation subpage for 模板:Technical reasons. It may contain usage information, categories and other content that is not part of the original 模板 page. |
This template uses Lua: |
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
TemplateData for Technical reasons
This template displays a hatnote specifying that for technical reasons a name redirects here, and points to the correct article.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Name that redirects here | 1 | The name that redirects here. | 单行文本 | 必需 |
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. | 单行文本 | 必需 |
Actual page name | 3 | The actual page name when a subject is specified separately. | 页面名称 | 可选 |
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. | 布尔 | 可选 |
See also
{{Correct title}}