Template:Main: Difference between revisions

Created page with "<templatedata> { "description": "This template is used after the heading of a section, to link to a sub-article (or sub-articles) that is entirely about the topic of the section. The template will display, in italics, \"Main article: Article 1, Article 2 and Article 3\"", "params": { "1": { "label": "Page 1", "description": "The name of the first page that you want to link to. If this is not specified, the current page name (with no namespace prefix) is used in..."
 
Replaced content with "Main page: {{1}}"
Line 1: Line 1:
<templatedata>
Main page: {{1}}
{
"description": "This template is used after the heading of a section, to link to a sub-article (or sub-articles) that is entirely about the topic of the section. The template will display, in italics, \"Main article: Article 1, Article 2 and Article 3\"",
"params": {
"1": {
"label": "Page 1",
"description": "The name of the first page that you want to link to. If this is not specified, the current page name (with no namespace prefix) is used instead. ",
"type": "wiki-page-name",
"required": true,
"suggested": true
},
"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\", 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"
},
"l1": {
"type": "string",
"label": "Label 1",
"description": "What the first linked page is to be displayed as.",
"aliases": [
"label 1"
]
},
"l2": {
"label": "Label 2",
"description": "What the second linked page is to be displayed as.",
"type": "string",
"aliases": [
"label 2"
]
},
"l3": {
"label": "Label 3",
"description": "What the third linked page is to be displayed as. Other labels can be added by using increasing numbers (starting with \"l4\" for page 4) as parameter names.",
"type": "string",
"aliases": [
"label 3"
]
},
"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."
},
"l4": {
"aliases": [
"label 4"
],
"label": "Label 4",
"description": "What the fourth linked page is to be displayed as.",
"type": "string"
},
"l5": {
"aliases": [
"label 5"
],
"label": "Label 5",
"description": "What the fifth linked page is to be displayed as.",
"type": "string"
}
},
"paramOrder": [
"1",
"2",
"3",
"4",
"5",
"l1",
"l2",
"l3",
"l4",
"l5",
"selfref"
],
"format": "{{_|_ = _}}\n"
}
</templatedata>