Template:Distinguish/doc
Jump to navigation
Jump to search
{
"params": {
"1": {
"label": "Alternative",
"description": "The alternative page.",
"example": "Alternative Page",
"type": "wiki-page-name",
"suggested": true
},
"2": {
"label": "Second Alternative",
"description": "A second alternative page.",
"example": "Second Alternative Page",
"type": "wiki-page-name"
},
"3": {
"label": "Third Alternative",
"description": "A third alternative page.",
"example": "Third Alternative Page",
"type": "wiki-page-name"
},
"text": {
"label": "Alternative Text",
"description": "Instead of using pages, you can provide a full alternative text. This parameter overrides other provided parameters.",
"example": "the alternative page, Alternative Page",
"type": "line"
}
},
"description": "This hatnote template is meant to be used to indicate possible alternatives to what the reader wants to find.",
"paramOrder": [
"1",
"2",
"3",
"text"
],
"format": "inline"
}
Examples
| Code | Result |
|---|---|
| Not to be confused with Special:Uncategorizedpages, [[]] or [[]]. |
| Not to be confused with Special:Uncategorizedpages, Special:Uncategorizedfiles or [[]]. |
| Not to be confused with Special:Uncategorizedpages, Special:Uncategorizedfiles or Special:Uncategorizedcategories. |
(Custom link label) | Not to be confused with Page 1, [[]] or [[]]. |
| }} Not to be confused with {{#if:Page 1, another name for Special:Uncategorizedpages. |
Dependencies
For this template to work properly, you need the following:- The
{{Hatnote}}base template. - The
.hatnoteclass, found in MediaWiki:Common.css.