Шаблон:Icon/common/doc
This template documentation is transcluded on all icon templates. Template:Icon/common does not exist.
For this documentation page, Template:Icon/desktop is used. However, the documentation will automatically detect the template page it is used on and adjust accordingly.
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.