Template:Main: Difference between revisions

From Melvor Idle
(Removed leading space)
m (Re-introduce newline in previous revision of this template)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
- Main: [[{{{1}}}]]
<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>

Latest revision as of 22:01, 18 March 2022


References the main page for a shorter page or section of a page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
ReferenceReference

Name of a page or section within a page

Stringrequired
NameName

Name to display if not the same as Reference

Stringoptional