|
|
| Line 41: |
Line 41: |
| To see a list of wikilinks to articles that contain this error message, see the maintenance category: [[:Category:Hatnote templates with errors]]. | | To see a list of wikilinks to articles that contain this error message, see the maintenance category: [[:Category:Hatnote templates with errors]]. |
|
| |
|
| ==TemplateData==
| | |
| {{Collapse top|TemplateData documentation used by VisualEditor and other tools}}
| |
| {{TemplateData header|noheader=1}}
| |
| <templatedata>
| |
| {
| |
| "description": "This template creates a hatnote to point to a small number of related pages. It is placed at the top of a section, directly underneath the section heading.",
| |
| "params": {
| |
| "1": {
| |
| "label": "Page 1",
| |
| "description": "The name of the first page that you want to link to.",
| |
| "type": "wiki-page-name",
| |
| "required": true,
| |
| "example": "Article name"
| |
| },
| |
| "2": {
| |
| "label": "Page 2",
| |
| "description": "The name of the second page that you want to link to.",
| |
| "type": "wiki-page-name",
| |
| "required": false
| |
| },
| |
| "3": {
| |
| "label": "Page 3",
| |
| "description": "The name of the third page that you want to link to. More pages can be added using the parameters \"4\", \"5\", \"6\", etc.",
| |
| "type": "wiki-page-name",
| |
| "required": false
| |
| },
| |
| "4": {
| |
| "label": "Page 4",
| |
| "description": "The name of the fourth page that you want to link to.",
| |
| "type": "wiki-page-name"
| |
| },
| |
| "5": {
| |
| "label": "Page 5",
| |
| "description": "The name of the fifth page that you want to link to.",
| |
| "type": "wiki-page-name"
| |
| },
| |
| "6": {
| |
| "label": "Page 6",
| |
| "description": "The name of the sixth page that you want to link to.",
| |
| "type": "wiki-page-name"
| |
| },
| |
| "label 1": {
| |
| "label": "Label 1",
| |
| "type": "string",
| |
| "description": "What the first linked article is to be displayed as. ",
| |
| "aliases": [
| |
| "l1"
| |
| ]
| |
| },
| |
| "label 2": {
| |
| "label": "Label 2",
| |
| "type": "string",
| |
| "description": "What the second linked article is to be displayed as.",
| |
| "aliases": [
| |
| "l2"
| |
| ]
| |
| },
| |
| "label 3": {
| |
| "aliases": [
| |
| "l3"
| |
| ],
| |
| "type": "string",
| |
| "label": "Label 3",
| |
| "description": "What the third linked article is to be displayed as. Other labels can be added by using increasing numbers (starting with \"label 4\" or \"l4\" for page 4) as parameter names."
| |
| },
| |
| "selfref": {
| |
| "type": "boolean",
| |
| "label": "Self reference",
| |
| "description": "Set to \"yes\" if the template is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site.",
| |
| "example": "yes",
| |
| "default": "no"
| |
| },
| |
| "category": {
| |
| "label": "Category",
| |
| "description": "Set to \"no\", \"n\", \"false\", or \"0\" to suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if no page names are specified.",
| |
| "type": "boolean",
| |
| "default": "yes",
| |
| "example": "no"
| |
| },
| |
| "label 4": {
| |
| "aliases": [
| |
| "l4"
| |
| ],
| |
| "label": "Label 4",
| |
| "description": "What the fourth linked article is to be displayed as. ",
| |
| "type": "string"
| |
| },
| |
| "label 5": {
| |
| "aliases": [
| |
| "l5"
| |
| ],
| |
| "label": "Label 5",
| |
| "description": "What the fifth linked article is to be displayed as. ",
| |
| "type": "string"
| |
| },
| |
| "label 6": {
| |
| "aliases": [
| |
| "l6"
| |
| ],
| |
| "label": "Label 6",
| |
| "description": "What the sixth linked article is to be displayed as. ",
| |
| "type": "string"
| |
| }
| |
| },
| |
| "format": "inline",
| |
| "paramOrder": [
| |
| "1",
| |
| "2",
| |
| "3",
| |
| "4",
| |
| "5",
| |
| "6",
| |
| "label 1",
| |
| "label 2",
| |
| "label 3",
| |
| "label 4",
| |
| "label 5",
| |
| "label 6",
| |
| "selfref",
| |
| "category"
| |
| ]
| |
| }
| |
| </templatedata>
| |
| {{Collapse bottom}} | | {{Collapse bottom}} |