模板:Icon/common/doc
跳至導覽
跳至搜尋
Displays the linked icon shown above. To display multiple icons, use {{icon}}.
Usage
All parameters are optional.
{{ icon/desktop | small = y | nl = y | size = <size in px> | width = <width in px> | height = <height in px> | scale = <scale ratio> }}
- small
Reduces the size of the icon to 75%; evaluated after
, $width
, and $height
. Equal to $size
|scale=0.75
; overridden by
.
$scale
- nl
Removes the link from the icon. It is linked by default.
- size
Size in px; sets
and $width
to the passed value. The image will be resized to fit within the given size. Note that it will always retain its aspect ratio.
$height
- width / height
Overrides
in the horizontal/vertical dimension.
$size
- scale
Scale ratio; width and height of the image will be multiplied with this value. Default is 1.