User:Shewmake/Template:Icon

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

User:Shewmake/Template:Icon constructs a framed icon with characteristics dependent upon the parameters. Here's how this works: if you're lucky, the name of an in-game aspect will have identical names with its article and its corresponding file's name. In this case, you'd just need to provide parameter i as the name of this in-game aspect and optionally, a size. In the worst case scenario, parameters f and l override the default image and link. If, however, you don't want to link to an article, provide f instead of i.

Usage[edit]

{{User:Shewmake/Template:Icon
| e =
| f =
| i =
| l =
| s =
| p =
| t =
}}

Parameters[edit]

e
File extension. Defaults to png.
f
File name. Defaults to parameter i.
i
Icon name. Defaults to skill with regard to the image and defaults to nothing with regard to the link.
l
Link. Defaults to i.
s
Icon size (small, med, large, or custom).
p
Pixels. Use this parameter when s = custom.
t
Title text. Defaults to nothing.

Examples[edit]

User Shewmake icon-border-s.png
Virtue of Justice.png
User Shewmake icon-border-m.png
Hammer of Wisdom.png
User Shewmake icon-border-l.png
Biography Subterfuge.png