Template:Link to article: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(add templatedata)
imported>Leoetlino
(add option to include article)
Line 1: Line 1:
<div style="border: 1px solid #d2d2d2; padding: 5px 10px; border-left: 5px solid #f28500;">Full article: '''{{{link}}}'''</div>
<div style="border: 1px solid #d2d2d2; padding: 5px 10px; border-left: 5px solid #f28500;">Full article: '''{{{link}}}'''</div>
{{#if: {{{include}}} | {{:{{{link}}}}} }}
<noinclude>[[Category:ZeldaMods templates]]<templatedata>
<noinclude>[[Category:ZeldaMods templates]]<templatedata>
{
{
Line 9: Line 10:
"required": true,
"required": true,
"type": "wiki-page-name"
"type": "wiki-page-name"
},
"include": {
"label": "Include article",
"description": "Whether the linked article should be included",
"type": "boolean",
"default": "false",
"suggested": true
}
}
},
},

Revision as of 08:21, 8 September 2018

Full article: {{{link}}}

{{:{{{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