Template:Main: Difference between revisions
From Melvor Idle
(Italics) |
Tag: Undo |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
- ''Main article: [[{{{ | <includeonly><onlyinclude>- ''Main article: [[{{{Reference}}}{{#if:{{{Name|}}}|{{!}}{{{Name|}}}|}}]]'' | ||
</onlyinclude></includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Reference": { | |||
"required": true, | |||
"description": "Name of a page or section within a page", | |||
"type": "string" | |||
}, | |||
"Name": { | |||
"description": "Name to display if not the same as Reference", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"Reference", | |||
"Name" | |||
], | |||
"description": "References the main page for a shorter page or section of a page.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 23:17, 16 June 2024
References the main page for a shorter page or section of a page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Reference | Reference | Name of a page or section within a page | String | required |
Name | Name | Name to display if not the same as Reference | String | optional |