Template:Main: Difference between revisions

m
Undo revision 72543 by Ricewind (talk) Nvm
(Added templatedata)
m (Undo revision 72543 by Ricewind (talk) Nvm)
Tag: Undo
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
- ''Main article: [[{{{Reference}}}]]''
<includeonly><onlyinclude>- ''Main article: [[{{{Reference}}}{{#if:{{{Name|}}}|{{!}}{{{Name|}}}|}}]]''
</onlyinclude></includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 5: Line 6:
"params": {
"params": {
"Reference": {
"Reference": {
"required": true
"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": [
"paramOrder": [
"Reference"
"Reference",
]
"Name"
],
"description": "References the main page for a shorter page or section of a page.",
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
2,875

edits