Template:About/doc: Difference between revisions
*>DePiep mNo edit summary |
*>Jay8g Add TemplateData |
||
| Line 4: | Line 4: | ||
For reference, see [[Wikipedia:hatnotes]] and documentation below. | For reference, see [[Wikipedia:hatnotes]] and documentation below. | ||
{{Hatnote templates documentation}} | {{Hatnote templates documentation}} | ||
==TemplateData== | |||
<templatedata> | |||
{ | |||
"description": "This template is a hatnote in the format \"This page is about … For other uses …\".", | |||
"params": { | |||
"1": { | |||
"label": "Page description", | |||
"type": "string", | |||
"required": true, | |||
"description": "What the page this template is placed on is about (\"This page is about …\")" | |||
}, | |||
"2": { | |||
"label": "Other page 1 description", | |||
"type": "string", | |||
"description": "What the first other page is about. If unused or blank, defaults to \"For other uses\"." | |||
}, | |||
"3": { | |||
"label": "Other page 1 title", | |||
"type": "string", | |||
"description": "The title of the first other page. If unused, defaults to \"[page title] (disambiguation)\"." | |||
}, | |||
"4": { | |||
"label": "Other page 2 description", | |||
"type": "string", | |||
"description": "What the second other page is about. If unused or blank, defaults to \"For other uses\"." | |||
}, | |||
"5": { | |||
"label": "Other page 1 title", | |||
"type": "string", | |||
"description": "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." | |||
} | |||
} | |||
} | |||
</templatedata> | |||
<includeonly> | <includeonly> | ||
Revision as of 00:48, 25 July 2013
{{About}} is a commonly used hatnote on Wikipedia, and so should be placed at the top of an article, linking the reader to articles with similar titles or concepts that they may have been seeking instead.
For reference, see Wikipedia:hatnotes and documentation below. Template:Hatnote templates documentation
TemplateData
<templatedata> { "description": "This template is a hatnote in the format \"This page is about … For other uses …\".", "params": { "1": { "label": "Page description", "type": "string", "required": true, "description": "What the page this template is placed on is about (\"This page is about …\")" }, "2": { "label": "Other page 1 description", "type": "string", "description": "What the first other page is about. If unused or blank, defaults to \"For other uses\"." }, "3": { "label": "Other page 1 title", "type": "string", "description": "The title of the first other page. If unused, defaults to \"[page title] (disambiguation)\"." }, "4": { "label": "Other page 2 description", "type": "string", "description": "What the second other page is about. If unused or blank, defaults to \"For other uses\"." }, "5": { "label": "Other page 1 title", "type": "string", "description": "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." } } } </templatedata>