Template:Main: Difference between revisions
From Melvor Idle
(Add optional Name parameter) |
m (Re-introduce newline in previous revision of this template) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>- ''Main article: [[{{{Reference}}}{{#if:{{{Name|}}}|{{!}}{{{Name|}}}|}}]]''</onlyinclude></includeonly> | <includeonly><onlyinclude>- ''Main article: [[{{{Reference}}}{{#if:{{{Name|}}}|{{!}}{{{Name|}}}|}}]]'' | ||
</onlyinclude></includeonly> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |
Revision as of 22:01, 18 March 2022
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 |