Template:Wiki: Difference between revisions

alt text for screenshot example of rendered infobox, improve alt text for logo preload options
(alt=)
(alt text for screenshot example of rendered infobox, improve alt text for logo preload options)
Line 1: Line 1:
<noinclude>[[File:StructuredDataGraph.png|frameless|left|585px|An example of our default wiki article infobox, and how we use [[WikiIndex:StructuredData|structured data]] here on WikiIndex|alt= ]]</noinclude><includeonly>[[Category:All]]<!--
<noinclude>[[File:StructuredDataGraph.png|frameless|left|585px|An example of our default wiki article infobox, and how we use [[WikiIndex:StructuredData|structured data]] here on WikiIndex|alt=Image shows a screenshot of the rendered display of the infobox for the WikiIndex article.  It also includes 18 'balloon'-type areas containing descriptions of the various elements of the actual rendered infobox.]]</noinclude><includeonly>[[Category:All]]<!--
   Starting categorizing logic
   Starting categorizing logic
-->{{#if:{{{status|}}}|[[Category:{{{status}}}]]}}<!--
-->{{#if:{{{status|}}}|[[Category:{{{status}}}]]}}<!--
Line 20: Line 20:
{{#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|Wiki site does not have a logo|alt=Small rectangular monochrome image with a white background, displaying the words 'no logo' in black text.]][[Category:NoWikiLogo]]|{{{logo}}}]</span>
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|Wiki site 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 26: Line 26:
|<!--ELSE-->
|<!--ELSE-->
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
|No    = [[Category:NoWikiLogo]][[File:NoLogo.png|Wiki site does not have a logo|alt=Small rectangular monochrome image with a white background, displaying the words 'no logo' in black text.]]
|No    =[[Category:NoWikiLogo]][[File:NoLogo.png|Wiki site 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.]]
|Unknown= [[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki site logo unknown|alt=Small rectangular monochrome image with a white background, displaying the words 'no logo' in black text.]]
|Unknown=[[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki site 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.]]
|Upload = [[Category:Wiki site requiring logo upload]][[File:Upload logo.png|Wiki site has a logo, but it needs uploading|alt=A square image with a graduated pale brown background, displaying the words 'Please Upload Logo' in black text.]]
|Upload =[[Category:Wiki site requiring logo upload]][[File:Upload logo.png|Wiki site 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]][[File:Private.png|100px|Wiki site 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 'Private Wiki' in black text.]]
|Private=[[Category:Private]][[File:Private.png|100px|Wiki site 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]][[File:404.jpg|100px|Wiki site is dead :-((|alt= ]]
|Dead  =[[Category:Dead]][[File:404.jpg|100px|Wiki site is dead, and we can not find a logo :-((|alt= ]]
|#default= {{{logo}}}
|#default= {{{logo}}}
}}]</span>
}}]</span>