Kentsmith9 (talk | contribs) (Added doc for template) |
Kentsmith9 (talk | contribs) m (added template) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{doc subpage}} | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
{{Tl|About}} is a | {{Tl|About}} is a hatnote [http://en.wikipedia.org/wiki/Help:Template template] 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. This template has several formats, including: | ||
*<nowiki>{{About|USE1}}</nowiki> | *<nowiki>{{About|USE1}}</nowiki> → {{ns}}This page is about USE1. For other uses, see [[hyperlink|Pagename (disambiguation)]]. | ||
*<nowiki>{{About|USE1||PAGE2}}</nowiki> | *<nowiki>{{About|USE1||PAGE2}}</nowiki> → {{ns}}This page is about USE1. For other uses, see [[hyperlink|PAGE2]]. | ||
*<nowiki>{{About|USE1|USE2|PAGE2}}</nowiki> → {{ns}}This page is about USE1. For USE2, see [[hyperlink|PAGE2]]. | *<nowiki>{{About|USE1|USE2|PAGE2}}</nowiki> → {{ns}}This page is about USE1. For USE2, see [[hyperlink|PAGE2]]. | ||
*<nowiki>{{About|USE1|USE2|PAGE2|and|PAGE3}}</nowiki> → {{ns}}This page is about USE1. For USE2, see [[hyperlink|PAGE2]] and [[hyperlink|PAGE3]]. | *<nowiki>{{About|USE1|USE2|PAGE2|and|PAGE3}}</nowiki> → {{ns}}This page is about USE1. For USE2, see [[hyperlink|PAGE2]] and [[hyperlink|PAGE3]]. | ||
For more options, find "{About}" in the | For more options, find "{About}" in the [http://en.wikipedia.org/wiki/Template:About Wikipedia Template About] page. | ||
<!-- Template not ported from Wikipedia yet | |||
and documentation below. | |||
{{Hatnote templates documentation}} | {{Hatnote templates documentation}} | ||
--> | |||
==TemplateData== | ==TemplateData== | ||
{{TemplateDataHeader}} | {{TemplateDataHeader}} | ||
Line 48: | Line 50: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Other hatnote templates == | |||
{{Hatnote templates}} | |||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Disambiguation and redirection templates | [[Category:Disambiguation and redirection templates]] | ||
[[Category:Hatnote templates]] | [[Category:Hatnote templates]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Latest revision as of 00:28, 21 May 2017
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
{{About}} is a hatnote template 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. This template has several formats, including:
- {{About|USE1}} → This page is about USE1. For other uses, see Pagename (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}} → This page is about USE1. For USE2, see PAGE2 and PAGE3.
For more options, find "{About}" in the Wikipedia Template About page.
TemplateData
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)". | String | optional |
Other page 2 description | 4 | What the second other page is about. If unused or blank, defaults to "For other uses". | String | optional |
Other page 2 title | 5 | The title of the second other page. If unused, defaults to "[page title] (disambiguation)". To add more other pages, continue with this alternating pattern using increasing numbers, starting with 6 for the next page description. | String | optional |
Other hatnote templates
The following templates are considered part of the Hatnote template family, used typically at the top of a page, but can be used as needed.
- {{about}}: To differentiate this page from other similar topics or the disambiguation page of the same base page name.
- {{details}}: A derivative of
{{for}}
that forces the opening sentence to be displayed as "For more details..." - {{for}}: Enables any description to be given for the reason to want to link to up to four other pages.
- {{further}}: Mainly for linking to more detailed articles and pages typically places before the shortened description, but could be placed after if necessary.
- {{hatnote}}: This is the core of the other templates. It simply places text on the page in italics with a paragraph indent.
- {{See also}} (not yet copied from Wikipedia): It can be created manually with
{{hatnote}}
.