%MIMEICON{"filename"}%
Parameter | Description | Default |
---|---|---|
"filename" | filenam or file extension to display an icon for | required |
size="..." | icon size; available sizes are depending on the icon set; common sizes are: 16, 32, 48, 64, 128 | 48; when the size isn't found in the icon set a best fitting size available will be chosen automatically |
theme="oxygen,crystal,papirus" | name of the icon set to chose from; for now only these two are supported | papirus or defined in configure |
class="..." | css class to be applied to the img tag | |
format="..." | format string for the img tag ; | <img src='$url' class='$class' width='$size' height='$size' alt='$name' /> |
$name
: the name of the icon (alias: %NAME%
)
$size
: the requested icon size (alias: %URL%
)
$url
: the url to the icon (alias: %URL%
)
$class
: list of css classes applied to the img tag: foswikiIcon
, the $class
parameter as well as the theme name
Oxygen | Crystal | Papirus |
---|---|---|