模板:About other people/doc

来自决策链云智库

This template acts like {{Other people}}, but includes an extra parameter that describes the subject of the article.

Usage

The first parameter is mandatory; omitting it produces an error message, and a maintenance category that can be suppressed by supplying a category parameter with a falsy value. For example:

  • {{About other people|category=false}}Error: no page subject specified (help).

The second parameter defines the ambiguous name, changing the "other people" text to include it and improving the default disambiguation page:

  • {{About other people|an example person}}
  • {{About other people|an example person|Jane Doe}}

As with {{Other people}}, the message produced when the second parameter is defined can be customized using the named parameter. For example, named=titled can be useful:

  • {{About other people|some "Lord Byron" or other|Lord Byron|Baron Byron|named=titled}}

The third and any further parameters define custom targets for the hatnote:

  • {{About other people|ABOUT|NAME|PAGE1}}
  • {{About other people|ABOUT||PAGE1|PAGE2|PAGE3}
TemplateData

Produces a disambiguation message to aid readers distinguish between articles on people with the same or similar name, prefixed with a message clarifying the subject of the article.

模板参数

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

参数描述类型状态
Page subject1

A descriptor for the page subject

字符串必需
Name2

Sets the name to be disambiguated

字符串推荐
Target page 13

The name of a page to which the disambiguation message should point

页面名称推荐
Target page 24

The name of an additional target page

页面名称可选
Target page 35

The name of an additional target page

页面名称可选