Template:InvertibleImage: Difference between revisions
Jump to navigation
Jump to search
(There are other templates that requires to pass some more parameters, i replaced all the optionals by variables (up to 5 supported so far, not sure if are needed more) and left only the mandatory class=invertible-image) |
m (Text replacement - "color:red" to "color:red!important") |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{1|}}} | {{#if:{{{1|}}} | ||
| [[File:{{{1}}}|{{{2|}}}|{{{3|}}}| | | [[File:{{{1}}}|{{{2|}}}|{{{3|}}}|link=|alt=|frameless|class=invertible-image]] | ||
| <span style="color:red;">Error: No image specified.</span> | | <span style="color:red!important;">Error: No image specified.</span> | ||
}}<noinclude> | }}<noinclude> | ||
Provides a way to invert image colors in dark skin mode to avoid dark images on a dark background being an issue. This is specially intended for monochrome images. | Provides a way to invert image colors in dark skin mode to avoid dark images on a dark background being an issue. This is specially intended for monochrome images. | ||
Line 14: | Line 14: | ||
{{InvertibleImage|Logo_PS2.png}} | {{InvertibleImage|Logo_PS2.png}} | ||
</noinclude> | </noinclude> |
Latest revision as of 03:46, 1 July 2023
Error: No image specified. Provides a way to invert image colors in dark skin mode to avoid dark images on a dark background being an issue. This is specially intended for monochrome images.
Usage[edit source]
Normal:
InvertibleImage: