Jump to content

Template:If dark/testcases

From Wikipedia, the free encyclopedia
span tags
{{If dark|This is dark|This is light
}}

{{If dark}}

This is light This is dark


{{If dark/sandbox}}

This is light This is dark

div tags
{{If dark|{{{1}}}
|1=<div class="switcher-container"><div>[[File:AFZ (9481892377).jpg|100px]]<span class="switcher-label" style="display:none" >Show dark version of file</span></div><div>[[File:Flashlight (Wuzur).jpg|100px]]<span class="switcher-label" style="display:none" >Show light version of file</span></div></div> |tag=div}}

{{If dark}}

{{{1}}}


{{If dark/sandbox}}

{{{1}}}