User:Relyk/sandbox/icon

From Guild Wars 2 Wiki
Jump to: navigation, search

[[File:{{{1}}}.png|20px|link=|]]

Usage[edit]

This template is used to generate a generic icon based on an article name. An generic icon requires an article name, a file if one doesn't exist, a size, a link, and text to display in the tooltip. This is a generic icon template and can be implemented in specific icon templates.

Parameters[edit]

Unnamed parameter 1
Required. Name of article you want icon to link to.
Unnamed parameter 2
Optional. Tooltip
icon
Optional. File name for icon image. Defaults to {{{1}}}.png.
size
Optional. Size of image. Default is 20.

Example[edit]

General article
{{User:Relyk/sandbox/icon|skill challenge}}

Skill challenge.png

Effect infobox
{{User:Relyk/sandbox/icon|bleeding}}

Bleeding.png

Effect infobox
{{User:Relyk/sandbox/icon|bleeding}}

Bleeding.png