Template:Theme image
Template page
More actions
(Redirected from Template:Thim)
[[File:{{{light}}}|300px|alt=|||]][[File:{{{dark}}}|300px|alt=|||]]
This documentation is transcluded from Template:Theme image/doc.
This template renders two versions of an image: one for light themes and one for dark themes. It relies on the theme-image-light and theme-image-dark CSS classes.
Usage
{{Theme image
| light = Logo light.svg
| dark = Logo dark.svg
| size = 300px
| alt = Description
}}
Parameters
light- image file shown in light mode
dark- image file shown in dark mode
size- image width (default 300px)
alt- alt text
link- link target;
link=disables the link