Template:Main: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
:''{{{2|Main article:}}} [[{{{1}}}]]'' | |||
</onlyinclude> | </onlyinclude> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Template to reference | "description": "Template to reference a related article.", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Page name", | "label": "Page name", | ||
"description": "Name of the | "description": "Name of the article to link to.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"2": { | |||
"label": "Type", | |||
"description": "Type of related article (e.g., Main article, Further information, See also). Defaults to Main article if not specified.", | |||
"type": "string", | |||
"required": false | |||
} | } | ||
} | } | ||
Line 22: | Line 25: | ||
example | example | ||
{{main| | {{main|Admin Shack|Further information:}} |
Latest revision as of 07:16, 27 June 2024
- Main article: [[{{{1}}}]]
Template to reference a related article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | Name of the article to link to. | String | required |
Type | 2 | Type of related article (e.g., Main article, Further information, See also). Defaults to Main article if not specified. | String | optional |
example
- Further information: Admin Shack