Template:Link to article: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
mNo edit summary
imported>Leoetlino
No edit summary
Line 1: Line 1:
<span style="font-size: 105%;">''Full article: '''[[{{{link}}}]]''' ''</span>{{#if: {{{include|}}} |{{:{{{link}}}}} }}<noinclude>
{{#if: {{{text|}}}|{{{text}}}|<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:29, 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
Texttext

Text that is shown to link to the article (optional)

Default
Full article: [[{{{link}}}]
Stringsuggested
Include articleinclude

Whether the linked article should be included

Default
false
Booleansuggested