Template:Wiki engine: Difference between revisions

Added 'Unknown' logo preload option, additional logo categories, improved 'alt' text
(Fix issue of status not generating category)
(Added 'Unknown' logo preload option, additional logo categories, improved 'alt' text)
Line 5: Line 5:
{{#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 engine does not have a logo, a generic 'no logo' image is displayed]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span>
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|Wiki engine does not have a logo, a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]][[Category:NoWikiLogo]]|{{{logo}}}]</span>
}}
}}
{{!}}-
{{!}}-
Line 11: Line 11:
|<!--ELSE-->
|<!--ELSE-->
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
|No    =[[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki engine does not have a logo|alt=Small monochrome image with a white background, displaying the words black text 'no logo'.]]
|No    =[[Category:NoWikiLogo]][[File:NoLogo.png|Wiki engine does not have a logo, a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]]
|Upload =[[File:Upload logo.png|Wiki engine has a logo, but it needs uploading|alt=A square image with a graduated pale brown background, displaying the words black text 'Please Upload Logo'.]]
|Unknown=[[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki engine logo unknown, a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]]
|Private=[[Category:Private wiki engine]][[File:Private.png|100px|Wiki engine is private, and we can not verify if it has a logo|alt=A square image with a graduated pink/red background, displaying the words black text 'Private Wiki'.]]
|Upload =[[Category:Wiki engine requiring logo upload]][[File:Upload logo.png|Wiki engine has a logo, but it needs uploading|alt=A square image with a graduated pale brown background, containing the words 'Please Upload Logo' in black text.]]
|Private=[[Category:Private wiki engine]][[File:Private.png|100px|Wiki engine is private, and we can not verify if it has a logo|alt=A square image with a graduated pink/red background, containing the words 'Private Wiki' in black text.]]
|Dead  =[[Category:Dead wiki engine]][[File:404.jpg|100px|Wiki engine is dead, and we can not find a logo :-((|alt= ]]
|Dead  =[[Category:Dead wiki engine]][[File:404.jpg|100px|Wiki engine is dead, and we can not find a logo :-((|alt= ]]
|#default={{{logo}}}
|#default={{{logo}}}