Template:Icon link
Template page
More actions
Formats an icon and inline text as a single link. On touchscreens, the icon and text together are a tap target.
Parameters
- 1 (first unnamed parameter) (required)
- Page to link to.
- 2 (second unnamed parameter) (optional)
- Text to display. Default is same as first parameter, pipe-tricked, i.e. no namespace or disambiguation in parentheses.
- file (optional)
- Filename of the icon. Default is the contents of the first parameter followed by " icon.png".
Examples
Vegetable reagents such as {{icon link|Garlic}} can be obtained from agriculture.
Vegetable reagents such as
Garlic can be obtained from agriculture.
{{icon link|Reagent|''Allium sativum''|file=Garlic icon.png}}