Difference between revisions of "Template:Icon"
From Akvopedia
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly>{{#if:{{{file|{{{1|}}}}}}| | <includeonly>{{#if:{{{file|{{{1|}}}}}}| | ||
<span class="akvopedia-icon">[[File:{{{file|{{{1}}}}}}{{#if:{{{alt|{{{2|}}}}}}| | <span class="akvopedia-icon">[[File:{{{file|{{{1}}}}}}{{#if:{{{alt|{{{2|}}}}}}| |
Revision as of 19:12, 15 August 2020
The Icon template generates an icon using an uploaded image.
Usage
Examples
{{Icon | file=Icon_image.png | link=Example}}
Parameters
- filename
- The name of the uploaded file.
- alt
- The text use as alt text for the image element. (optional)
- width
- The image width of the rendered icon. (optional)
- link
- A wiki page to link the image to. (optional)