قالب:Dark mode invert/doc
| هذه صفحة توثيق فرعية لـ قالب: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