Template:About/doc
| This is a documentation subpage for Template:About. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on 136,000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
{{About}} is a commonly used hatnote template on Wikipedia, and should be placed at the top of an they may have been seeking instead. The template has several formats, including:
{{About|Use1}}→ Script error: No such module "about".{{About|Use1||Article2}}→ Script error: No such module "about".{{About|Use1||Article2|and|Article3}}→ Script error: No such module "about".{{About|Use1|Use2|Article2}}→ Script error: No such module "about".{{About|Use1|Use2|Article2|and|Article3}}→ Script error: No such module "about".{{About|Use1|Use2|Article2|other uses}}→ Script error: No such module "about".
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}}→ Script error: No such module "about".{{About|Use1||Article2|section=yes}}→ Script error: No such module "about".{{About|Use1|Use2|Article2|section=yes}}→ Script error: No such module "about".{{About|Use1|Use2|Article2|and|Article3|section=yes}}→ Script error: No such module "about".{{About|Use1|Use2|Article2|other uses|section=yes}}→ Script error: No such module "about".
A |text= option adds text to the end; note that this should be only used when truly necessary, and the other hatnote templates listed below don't suffice. This template also supports |selfref=.
For more options, find "{{About}}" in the text below.
For reference, see Wikipedia:hatnote and documentation below.
TemplateData
TemplateData for About
This template is a hatnote in the format "This page is about … For other uses …".
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page description | 1 | What the page this template is placed on is about ("This page is about …") | String | required |
| Other page 1 description | 2 | What the first other page is about. If unused or blank, defaults to "For other uses". | String | suggested |
| Other page 1 title | 3 | The title of the first other page. If unused, defaults to "[page title] (disambiguation)". | Page | suggested |
| Other page 2 description | 4 | What the second other page is about. | String | optional |
| Other page 2 title | 5 | The title of the second other page. If unused or blank and parameter 4 exists, defaults to "[page title] (disambiguation)". | Page | optional |
| Other page 3 description | 6 | What the third other page is about. | String | optional |
| Other page 3 title | 7 | The title of the third other page. If unused or blank and parameter 6 exists, defaults to "[page title] (disambiguation)". | Page | optional |
| Other page 4 description | 8 | What the fourth other page is about. | String | optional |
| Other page 4 title | 9 | The title of the fourth other page. If unused or blank and parameter 8 exists, defaults to "[page title] (disambiguation)". | Page | optional |
| Section | section | Pass "yes" in this parameter to get wording appropriate for use at the top of a section.
| String | optional |
| Custom text | text | Text to be appended to the end. | String | optional |