Template:Display Link: Difference between revisions
Template page
More actions
m added size parameter |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:{{{1}}}.png|{{{size|32px}}}|link=]] [[{{{1}}}]]<noinclude> | [[File:{{{1}}}.png|{{{size|32px}}}|link=]] {{#if: {{{nolink}}}||[[{{{1}}}]]}}<noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 16: | Line 16: | ||
"required": false, | "required": false, | ||
"suggested": true | "suggested": true | ||
}, | |||
"nolink": { | |||
"label": "Nolink", | |||
"description": "Use this parameter if a link is unwanted", | |||
"type": "string", | |||
"required": false, | |||
"suggested": false | |||
} | } | ||
}, | }, | ||
"description": "Adds a link with an icon to the page" | "description": "Adds a link with an icon to the page." | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 12:22, 18 April 2024
[[File:{{{1}}}.png|32px|link=]]
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 |