模板:About/doc

来自决策链云智库

{{About}} is a commonly used hatnote template on Wikipedia, and should be placed at the top of an article (but following {{Short description}}, if present), linking the reader to other articles with similar titles or concepts that they may have been seeking instead. The template has several formats, including:

  • {{About}}
  • {{About|<Use1>}}
  • {{About|<>|<Use2>|<Article2>}}
  • {{About|<>|<>|<Article (disambiguation)>}}
  • {{About|<Use1>|<>|<Article2>}}
  • {{About|<Use1>|<>|<Article2>|<and>|<Article3>}}
  • {{About|<Use1>|<Use2>|<Article2>}}
  • {{About|<Use1>|<Use2>|<Article2>|<and>|<Article3>}}
  • {{About|<Use1>|<Use2>|<Article2>|<and>|<Article3>|<and>|<Article4>|<and>|<Article5>}}
  • {{About|<Use1>|<Use2>|<Article2>|<Use3>|<Article3>}}
  • {{About|<Use1>|<Use2>|<Article2>|<other uses>}}

Alternately, a section=yes parameter can be added to the {{About}} template for use at the top of a section. When using this parameter, the wording in the template changes to specify that it is being used in a section:

  • {{About|<Use1>|<section=yes>}}
  • {{About|<Use1>|<>|<Article2>|<section=yes>}}
  • {{About|<Use1>|<Use2>|<Article2>|<section=yes>}}
  • {{About|<Use1>|<Use2>|<Article2>|<and>|<Article3>|<section=yes>}}
  • {{About|<Use1>|<Use2>|<Article2>|<other uses>|<section=yes>}}

A |text= option adds text to the end; this should only be used when truly necessary, when the other hatnote templates listed below don't suffice.

The |selfref=yes option marks the entire hatnote as a Wikipedia self-reference, causing it to be omitted when the page content is reused outside of Wikipedia (see {{self reference}} and MOS:SELFREF for more details).

For more options, find "{{About}}" in the text below.

For reference, see Wikipedia:Hatnote and documentation below.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:About in articles based on its TemplateData.

TemplateData for About

This template is a hatnote in the format "This page is about … For other uses …".

模板参数

参数描述类型状态
Page description1

What the page this template is placed on is about ("This page is about …")

字符串推荐
Other page 1 description2

What the first other page is about. If unused or blank, defaults to "other uses".

字符串推荐
Other page 1 title3

The title of the first other page. If unused, defaults to "[page title] (disambiguation)".

页面名称推荐
Other page 2 description4

What the second other page is about.

字符串可选
Other page 2 title5

The title of the second other page. If unused or blank and parameter 4 exists, defaults to "[page title] (disambiguation)".

页面名称可选
Other page 3 description6

What the third other page is about.

字符串可选
Other page 3 title7

The title of the third other page. If unused or blank and parameter 6 exists, defaults to "[page title] (disambiguation)".

页面名称可选
Other page 4 description8

What the fourth other page is about.

字符串可选
Other page 4 title9

The title of the fourth other page. If unused or blank and parameter 8 exists, defaults to "[page title] (disambiguation)".

页面名称可选
sectionsection

Pass "yes" in this parameter to get wording appropriate for use at the top of a section.

自动值
yes
字符串可选
Custom texttext

Text to be appended to the end.

字符串可选