Template:InvertibleImage: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(My previous edit fixed the wrapping problem :) this template is nice btw, good work)
(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)
Line 1: Line 1:
{{#if:{{{1|}}}
{{#if:{{{1|}}}
  | [[File:{{{1}}}|{{{2|}}}|link=|alt=|frameless|class=invertible-image]]
  | [[File:{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|class=invertible-image]]
  | <span style="color:red;">Error: No image specified.</span>
  | <span style="color:red;">Error: No image specified.</span>
}}<noinclude>
}}<noinclude>

Revision as of 00:59, 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