Template:Display Link: Difference between revisions
Template page
More actions
Undo revision 3513 by MTOnline69 (talk) Tag: Undo |
Added gif parameter |
||
Line 1: | Line 1: | ||
[[File:{{{1}}}.png|{{{size|32px}}}|link=]] {{#if: {{{nolink|}}}|{{{1}}}|[[{{{1}}}]]}}<noinclude> | [[File:{{{1}}}.{{#if: {{{gif|}}}|gif|png}}|{{{size|32px}}}|link=]] {{#if: {{{nolink|}}}|{{{1}}}|[[{{{1}}}]]}}<noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 20: | Line 20: | ||
"label": "Nolink", | "label": "Nolink", | ||
"description": "Use this parameter if a link is unwanted", | "description": "Use this parameter if a link is unwanted", | ||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
}, | |||
"gif": { | |||
"label": "Gif", | |||
"description": "Use this parameter if the icon to display is a gif", | |||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, |
Revision as of 16:09, 18 April 2024
[[File:{{{1}}}.png|32px|link=]] [[{{{1}}}]]
Adds a link with an icon to the page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | 1 | The item to be displayed and linked to | Page name | required |
Size | size | The size of the image | String | suggested |
Nolink | nolink | Use this parameter if a link is unwanted | String | optional |
Gif | gif | Use this parameter if the icon to display is a gif | String | optional |