Template:InvertibleImage: Difference between revisions

From PS3 Developer wiki
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)
(My previous edit broke something, i hope this edit fixes it)
Line 1: Line 1:
{{#if:{{{1|}}}
{{#if:{{{1|}}}
  | [[File:{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|class=invertible-image]]
  | [[File:{{{1}}}|class=invertible-image|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}]]
  | <span style="color:red;">Error: No image specified.</span>
  | <span style="color:red;">Error: No image specified.</span>
}}<noinclude>
}}<noinclude>

Revision as of 02:04, 13 June 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

Normal:

Logo PS2.png

InvertibleImage:

Logo PS2.png