模板:Technical reasons/doc:修订间差异

来自决策链云智库
(创建页面,内容为“{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{Lua|Module:Technical reasons}} ==Usage== {{tlx|technical reasons|foo|bar}} : produces the following hatnote: {{technical reasons|foo|bar}} and... {{tlx|technical reasons|foo|bat|bar}} : produces the following hatnote: {{technical reasons|foo|bat|bar}} See an example in the hatnote of the Waltz article. The {{para|prefix}} parameter, which us…”)
 
(没有差异)

2024年1月21日 (日) 21:32的最新版本

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

This template displays a hatnote specifying that for technical reasons a name redirects here, and points to the correct article.

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
Name that redirects here1

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 name3

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