Template:Item+icon
(Redirected from Template:Crafter+icon)
Jump to navigation
Jump to search
Similar templates: {{Item}} | {{Item+icon}} | {{Item+iconright}} | {{Item+iconbig}}
Examples:
{{Item+icon| Paintings/Flower Vase }}
=>Flower Vase
{{Item+icon| Glider | 40px }}
=>Glider
{{Item+icon| Craftspeople | icon= Blacksmith | 40px }}
=>Craftspeople
{{Item+icon| Glider | 40px | text= Squirrel Suit }}
=>Squirrel Suit
{{Item+icon| Glider | 40px | class= nowrap | text= Very long text that will stay on one line no matter how far it overflows the allotted space in the content area. Very long text that will stay on one line no matter how far it overflows the allotted space in the content area. }}
=>Very long text that will stay on one line no matter how far it overflows the allotted space in the content area. Very long text that will stay on one line no matter how far it overflows the allotted space in the content area.
Usage: Link to the item in the parameter. Show the item's icon before the link. The link's text is the last part of the pagename, parent folders are cut.
Parameter:
- 1 = page to link
- 2 = icon size (optional, default: 20px)
- size = icon size (optional, default: 20px)
- icon = custom icon without
File:
and.png
(optional, default: same as page) - text = custom link text (optional)
- class = html class attribute (CSS classes) to apply to wrapping element (optional)