قالب:Dark mode invert
{{Dark mode invert}} inverts the color of the contents its given when dark mode is enabled. It uses skin-invert and skin-invert-image.
Usage
{{Dark mode invert|<content>}}
Do not use on section headers as doing so breaks automatic links in edit comments.
Parameters
|1=- The content to invert when dark mode is enabled.|block=- Set to yes to wrap the output with<div>...</div>instead of a<span>...</span>.|image=- Set to yes to only invert images.
Example
Text
{{Dark mode invert}}
Error: expandTemplate: template "Dark mode invert/sandbox" does not exist
Icon
{{Dark mode invert}}
Error: expandTemplate: template "Dark mode invert/sandbox" does not exist
Image with caption
{{Dark mode invert}}
Error: expandTemplate: template "Dark mode invert/sandbox" does not exist
{{Dark mode invert}}
Error: expandTemplate: template "Dark mode invert/sandbox" does not exist
Block
{{Dark mode invert}}
Error: expandTemplate: template "Dark mode invert/sandbox" does not exist
| The above documentation is transcluded from قالب:Dark mode invert/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |