Template:Link to article: Difference between revisions
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link | link | Target article
| Page name | required |
Text | text | Text that is shown to link to the article (optional)
| String | suggested |
Include article | include | Whether the linked article should be included
| Boolean | suggested |