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
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{text|}}}|{{{text}}}|<span style="font-size: 105%;">''Full article: '''[[{{{link}}}]]''' ''</span>}}{{#if: {{{include|}}} |{{:{{{link}}}}} }}<noinclude>
<p style="font-size: 105%;">''Full article: '''[[{{{link}}}]]''' ''</p>{{#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>

Latest revision as of 17:07, 12 October 2019

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