Template:Link to article: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
No edit summary
imported>Leoetlino
(Undo revision 988 by Leoetlino (talk))
Line 1: Line 1:
{{#if: {{{text|}}}|{{{text}}}|<span style="font-size: 105%;">''Full article: '''[[{{{link}}}]]''' ''</span>}}{{#if: {{{include|}}} |{{:{{{link}}}}} }}<noinclude>
<span style="font-size: 105%;">''Full article: '''[[{{{link}}}]]''' ''</span>{{#if: {{{include|}}} |{{:{{{link}}}}} }}<noinclude>
[[Category:ZeldaMods templates]]
[[Category:ZeldaMods templates]]
<templatedata>
<templatedata>
Line 16: Line 16:
"type": "boolean",
"type": "boolean",
"default": "false",
"default": "false",
"suggested": true
},
"text": {
"label": "Text",
"description": "Text that is shown to link to the article (optional)",
"type": "string",
"default": "Full article: [[{{{link}}}]",
"suggested": true
"suggested": true
}
}
},
},
"description": "Used to add a link to the full article for a section",
"description": "Used to add a link to the full article for a section"
"paramOrder": [
"link",
"text",
"include"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 12:30, 9 September 2018

Full article: [[{{{link}}}]]

Used to add a link to the full article for a section

Template parameters

ParameterDescriptionTypeStatus
Linklink

Target article

Example
Software libraries
Page namerequired
Include articleinclude

Whether the linked article should be included

Default
false
Booleansuggested