Template:Wiki engine: Difference between revisions

do not annotate in case WikiEngineStatus was added
(Added 'Unknown' logo preload option, additional logo categories, improved 'alt' text)
(do not annotate in case WikiEngineStatus was added)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Wiki Engine]]</includeonly><div style="float:right; padding:2px; background:white; border:4px outset orange; margin-left:0.25em; margin-bottom:0.25em">
<includeonly>[[Category:Wiki engine]]</includeonly><div style="float:right; padding:2px; background:white; border:4px outset orange; margin-left:0.5em; margin-bottom:0.25em">
{|cellpadding=3 align=left border=1
{|cellpadding=3 align=left border=1
|
|
{|class=infobox cellpadding=3 style="width:23em; font-size:95%"
{|class=infobox cellpadding=3 style="width:23em; font-size:96%"
{{#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 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>
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|Wiki engine logo unknown (for variety of reasons), 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:UnknownWikiLogo]]|{{{logo}}}]</span>
}}
}}
{{!}}-
{{!}}-
{{!}}colspan=2 style=text-align:center{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|WikiFarmHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{changes URL|{{{changes URL}}}}}} Changes]</span>&nbsp;• <span style=white-space:nowrap>[{{{wikinode URL|No}}} WikiNode]</span>&nbsp;• <span style=white-space:nowrap>[{{{about URL|No}}} About]</span>&nbsp;• <span style=white-space:nowrap>[{{{documentation URL|No}}} Documentation]</span>
{{!}}colspan=2 style=text-align:center{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|WikiFarmHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{changes URL|{{{changes URL}}}}}} Changes]</span>&nbsp;• <span style=white-space:nowrap>[{{{wikinode URL|No}}} WikiNode]</span>&nbsp;• <span style=white-space:nowrap>[{{{about URL|No}}} About]</span>&nbsp;• <span style=white-space:nowrap>[{{{documentation URL|No}}} Documentation]</span>&nbsp;• <span style=white-space:nowrap>[{{{source code URL|No}}} Source code]</span>
|<!--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 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.]]
|No       =[[Category:No wiki logo]][[File:NoLogo.png|Wiki engine positively confirmed that it 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 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.]]
|NoLogoYet=[[Category:UnknownWikiLogo]][[File:No Logo Uploaded Yet.png|Possibly new engine, yet to create its own logo|alt=A square image with a graduated pale cream background, containing the words 'No Logo Uploaded Yet' in black text.]]
|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.]]
|Unknown =[[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki engine logo unknown (for variety of reasons), 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, containing the words 'Private Wiki' in black text.]]
|Upload   =[[Category:Wiki engine requiring logo upload]][[File:Upload logo.png|Wiki engine has a logo, but it needs uploading here on WikiIndex|alt=A square image with a graduated pale brown background, containing the words 'Please Upload Logo' in black text.]]
|Dead   =[[Category:Dead wiki engine]][[File:404.jpg|100px|Wiki engine is dead, and we can not find a logo :-((|alt= ]]
|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.]]
|#default={{{logo}}}
|Dead     =[[Category:Former wiki engine]][[File:404.jpg|100px|Wiki engine is dead, and we can not find a logo :-((|alt= ]]
|#default ={{{logo}}}
}}]</span>
}}]</span>
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|WikiEngineHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{changes URL|{{{changes URL}}}}}} Changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]<br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{documentation URL<includeonly>|No</includeonly>}}} Documentation]</span>
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|WikiEngineHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{changes URL|{{{changes URL}}}}}} Changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]<br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{documentation URL<includeonly>|No</includeonly>}}} Documentation]<br>[{{{source code URL<includeonly>|No</includeonly>}}} Source code]</span>
}}<!--ENDIF-->
}}<!--ENDIF-->
|-
|-
!style=text-align:right|[[:Category:Wiki Topic|Main topic]]:
!style=text-align:right|[[:Category:Wiki Topic|Main topic]]:
|[[:Category:{{{maintopic|{{{maintopic|Wiki Engine}}}}}}|{{{maintopic|{{{maintopic|Wiki Engine}}}}}}]]
|[[:Category:{{{maintopic|{{{maintopic|Wiki engine}}}}}}|{{{maintopic|{{{maintopic|Wiki engine}}}}}}]]
|-
|-
!style=text-align:right|[[Founder|Founded by]]:
!style=text-align:right|[[Founder|Founded by]]:
|{{{founder|Wiki engine founder}}}
|{{{founder|Wiki engine founder}}}
|-
|-
!style=text-align:right|[[Owner|Owner / CEO]]:
!style=text-align:right|[[Owner]] / {{Cambridge-Dictionary|chief-executive-officer|CEO}}:
|{{{CEO|Owner and/or CEO}}}
|{{{CEO|Owner and/or CEO}}}
|-
|-
!style=text-align:right|[[:Category:Wiki Language|Interface language]]:
!style=text-align:right|[[:Category:Wiki language|Interface language]]:
|[[:Category:Wiki {{{language|{{{language|Interface language}}}}}}|{{{language|{{{language|Interface language}}}}}}]]
|[[:Category:Wiki {{{language|{{{language|Interface language}}}}}}|{{{language|{{{language|Interface language}}}}}}]]
|-
|-
!style=text-align:right|[[:Category:Programming|Programming language]]:
!style=text-align:right|[[:Category:Programming|Programming language]]:
|[[:Category:{{{prog language|{{{prog language|WikiEngine ProgrammingLanguage}}}}}}|{{{prog language|{{{prog language|WikiEngine ProgrammingLanguage}}}}}}]]
|[[:Category:{{{prog language|{{{prog language|WikiEngine ProgrammingLanguage}}}}}}|{{{prog language|{{{prog language|WikiEngine ProgrammingLanguage}}}}}}]]{{#set: Programming language={{{prog language|}}} }}<!-- Semantic property -->
|-
|-
!style=text-align:right|[[:Category:License|Software license]]:
!style=text-align:right|[[:Category:License|Software license]]:
|[[:Category:{{{s/w license|{{{s/w license|YourSoftwareLicense}}}}}}|{{{s/w license|{{{s/w license|YourSoftwareLicense}}}}}}]]
|[[:Category:{{{s/w license|{{{s/w license|YourSoftwareLicense}}}}}}|{{{s/w license|{{{s/w license|YourSoftwareLicense}}}}}}]]{{#set: License={{{s/w license|}}}}}<!-- Semantic property -->
|-
|-
!style=text-align:right|[[:Category:Wiki engine status|Status]]:
!style=text-align:right|[[:Category:Wiki engine status|Status]]:
|[[:Category:{{{status|{{{status|Wiki engine status}}}}}}|{{{status|{{{status|Wiki engine status}}}}}}]]
|[[:Category:{{{status|{{{status|Wiki engine status}}}}}}|{{{status|{{{status|Wiki engine status}}}}}}]]{{#ifeq: {{{status|}}} |WikiEngineStatus | |{{#set: Engine status={{{status|}}} }} }}<!-- Semantic property -->{{#if:{{{status|}}}|{{#ifeq:{{{status|Dead}}}|[[Category:Former wiki engine]]}}}}
|}
|}
|}</div><!-- Starting categorising logic -->
|}</div><!-- Starting categorising logic -->
Line 47: Line 48:
{{#if:{{{prog language|{{{prog language|}}}}}}|[[Category:{{{prog language|{{{prog language}}}}}}]]}}
{{#if:{{{prog language|{{{prog language|}}}}}}|[[Category:{{{prog language|{{{prog language}}}}}}]]}}
{{#if:{{{s/w license|{{{s/w license|}}}}}}|[[Category:{{{s/w license|{{{s/w license}}}}}}]]}}<!--
{{#if:{{{s/w license|{{{s/w license|}}}}}}|[[Category:{{{s/w license|{{{s/w license}}}}}}]]}}<!--
{{#if:{{{status|{{{status|Wiki engine status}}}}}}|[[:Category:{{{status|Wiki engine status}}}|{{{status|Wiki engine status}}}}}}]]}}--><noinclude>{{clear}}[[:Category:Wiki Engine|Wiki Engine]] template [[Template:Wiki Engine boilerplate|boilerplate]]:
{{#if:{{{status|{{{status|Wiki engine status}}}}}}|[[:Category:{{{status|Wiki engine status}}}|{{{status|Wiki engine status}}}}}}]]}}--><noinclude>{{clear}}[[:Category:Wiki engine|Wiki engine]] template [[Template:Wiki engine boilerplate|boilerplate]]:
{{Wiki Engine boilerplate}}
{{Wiki engine boilerplate}}
[[Category:Wiki Engine|*]]
[[Category:Wiki engine|*]]
[[Category:Infobox templates|Engine]]</noinclude>
[[Category:Engine template| ]]
[[Category:Infobox template|Engine]]</noinclude>