Template:Main: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<onlyinclude> <div style="font-size: 12px; font-style: italic; color: grey; padding: 5px; margin: 10px 0;"> <span style="background-color: #f0f0f0; padding: 2px;"> '''Main article:''' [[{{{1}}}]] </span> </div> </onlyinclude> <noinclude> <templatedata> { "description": "Template to reference the main article for a section.", "params": { "1": { "label": "Page name", "description": "Name of the main article to link to...") |
No edit summary |
||
(3 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 24: | 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