Template:Link to article: Difference between revisions
Jump to navigation
Jump to search
add option to include article
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 | |||
} | } | ||
}, | }, |