m (Reverted edits by 2A00:23C8:8232:B201:E178:BD9C:F176:56AE (talk) to last version by ENeRZet) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description | "description": "This template is used to display a note directing users to the main article about a subject. This should be used at the top of a section, usually directly below a section heading.", | ||
"format": "inline", | "format": "inline", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label | "label": "Page 1", | ||
"description": "Page name of related article. It includes Special:MyLanguage prefix.", | |||
"description | |||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | }, | ||
"2": { | "2": { | ||
"label | "label": "Page 2", | ||
"type": "wiki-page-name" | |||
"type": "wiki-page-name" | |||
}, | }, | ||
"3": { | "3": { | ||
"label | "label": "Page 3", | ||
"type": "wiki-page-name" | |||
"type": "wiki-page-name" | |||
}, | }, | ||
"l1": { | "l1": { | ||
"label | "label": "Label 1", | ||
"description": "Custom label for the link to Page 1.", | |||
"description | |||
"type": "string", | "type": "string", | ||
"default | "default": "Defaults to the name of Page 1." | ||
}, | }, | ||
"l2": { | "l2": { | ||
"label | "label": "Label 2", | ||
"type": "string", | "type": "string", | ||
"default": "Defaults to the name of Page 2." | |||
"default | |||
}, | }, | ||
"l3": { | "l3": { | ||
"label | "label": "Label 3", | ||
"type": "string", | "type": "string", | ||
"default": "Defaults to the name of Page 3." | |||
"default | |||
} | } | ||
}, | }, | ||
Line 123: | Line 50: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | <!-- Categories below this line; interwikis at Wikidata --> | ||
[[Category:Templates | [[Category:Templates]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 21:32, 13 July 2023
File:Edit-copy green.svg | Template:Strong for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Main
This template is used to display a note directing users to the main article about a subject. This should be used at the top of a section, usually directly below a section heading.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page 1 | 1 | Page name of related article. It includes Special:MyLanguage prefix. | Page name | required |
Label 1 | l1 | Custom label for the link to Page 1.
| String | optional |
Page 2 | 2 | no description | Page name | optional |
Label 2 | l2 | no description
| String | optional |
Page 3 | 3 | no description | Page name | optional |
Label 3 | l3 | no description
| String | optional |