Template:About: Difference between revisions
(TESTED edit on the /sandbox that allows template to render a "This section..." wording instead of a "This page/category/article..." wording without breaking any currently-existing transcluded templates - please see the /testcases subpage) |
m (1 revision) |
Latest revision as of 02:47, 9 June 2014
This template should not be used unless other topics exist with names very similar to the name of the article it is being used on (which, for most articles, is not the case). |
{{About}}
is a commonly used hatnote template on Wikipedia, and should be placed at the top of an article, 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|USE1}}
→This page is about USE1. For other uses, see About (disambiguation).{{About|USE1||PAGE2}}
→This page is about USE1. For other uses, see PAGE2.{{About|USE1|USE2|PAGE2}}
→This page is about USE1. For USE2, see PAGE2.{{About|USE1|USE2|PAGE2|and|PAGE3}}
→
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}}
→This section is about USE1. For other uses, see About (disambiguation).{{About|USE1||PAGE2|section=yes}}
→This section is about USE1. For other uses, see PAGE2.{{About|USE1|USE2|PAGE2|section=yes}}
→This section is about USE1. For USE2, see PAGE2.{{About|USE1|USE2|PAGE2|and|PAGE3|section=yes}}
→
For more options, find "{{About}}" in the text below.
For reference, see w:Wikipedia:hatnote and documentation below.
TemplateData[edit source]
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 | optional |
Other page 1 title | 3 | The title of the first other page. If unused, defaults to "[page title] (disambiguation)". | Page name | optional |
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 name | 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 name | 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 name | optional |
section | section | Pass "yes" in this parameter to get wording appropriate for use at the top of a section.
| String | optional |
The above documentation is transcluded from Template:About/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |