Template:Wiki: Difference between revisions

full logo switching for wide logo option
(full logo switching for wide logo option)
Line 19: Line 19:
{{#ifeq:{{{wide logo|}}}|y|
{{#ifeq:{{{wide logo|}}}|y|
<!--THEN-->
<!--THEN-->
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|alt=Wiki doesn't have a logo]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span>
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
|No    = [[Category:UnknownWikiLogo]][[File:NoLogo.png|alt=Wiki doesn't have a logo]]
|Upload = [[Category:PleaseUploadLogo]][[File:Upload logo.png|alt=Wiki has a logo, but it needs uploading]]
|Private= [[Category:Private]][[File:Private.png|100px|alt=Wiki is private]]
|Dead  = [[Category:Dead]][[File:404.jpg|100px|alt=Wiki is dead :-((]]
|#default= {{{logo}}}
}}]</span>
}}
}}
{{!}}-
{{!}}-