Template:IconLink
Appearance
This documentation is transcluded from Template:IconLink/doc.
This template renders a link with an icon specified.
Usage
| Wikitext | Output |
|---|---|
{{IconLink|Main Page|icon=General randomitem icon.png}}
|
|
{{IconLink|link=Main Page|text=Maybe main page|icon=General randomitem icon.png}}
|
|
{{IconLink|Main Page|icon=General randomitem icon.png|size=16px}}
|
TemplateData
Renders a link with an icon specified.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Link | 1 link | Page to link to | Page name | required |
| Icon | icon | no description | File | required |
| Text | text | Link text | String | suggested |
| Size | size | Size of the icon
| String | optional |
See also
- Template:IconText - Similar template but does not require a link