Template:For/doc
Jump to navigation
Jump to search
{
"params": {
"1": {
"label": "Topic",
"description": "The topic the following pages are about.",
"example": "more information",
"type": "line",
"required": true
},
"2": {
"label": "Related Page",
"description": "A related page.",
"example": "Related Page",
"type": "wiki-page-name",
"required": true
},
"3": {
"label": "Second Page",
"description": "A second related page.",
"example": "Second Related Page",
"type": "wiki-page-name"
},
"4": {
"label": "Third Page",
"description": "A third related page.",
"example": "Third Related Page",
"type": "wiki-page-name"
}
},
"description": "This hatnote template is meant to be used to show pages related to a topic the reader might want to visit.",
"paramOrder": [
"1",
"2",
"3",
"4"
],
"format": "inline"
}
Examples
| Code | Result |
|---|---|
| For more information, see Special:WantedPages, [[]] and [[]]. |
| For more information, see Special:WantedPages, Special:UncategorizedPages and [[]]. |
| For more information, see Special:WantedPages, Special:UncategorizedPages and Special:UncategorizedCategories. |
(Custom link label) | For more information, see Page 1, [[]] and [[]]. |
Dependencies
For this template to work properly, you need the following:- The
{{Hatnote}}base template. - The
.hatnoteclass, found in MediaWiki:Common.css.