Template:Wiki engine: Difference between revisions

do not annotate in case WikiEngineStatus was added
(fix new About url parameter so it doesn't show as error on engine articles not yet updated with new field)
(do not annotate in case WikiEngineStatus was added)
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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%"
!style=text-align:right| {{{logo|{{{logo}}}}}}
{{#ifeq:{{{wide logo|}}}|y|
| '''<span style=font-size:16px>[{{{URL|{{{URL}}}}}} {{{name|{{{name|{{PAGENAME}}}}}}}}]</span>'''<br>[{{{changes URL|{{{changes URL}}}}}} Changes]<br>[{{{wikinode URL|{{{wikinode URL}}}}}} WikiNode]<br><span style=white-space:nowrap>[{{{about URL<includeonly>|No</includeonly>}}} About]</span>
<!--THEN-->
!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>&nbsp;• <span style=white-space:nowrap>[{{{source code URL|No}}} Source code]</span>
|<!--ELSE-->
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
|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.]]
|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.]]
|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.]]
|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.]]
|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:Former wiki engine]][[File:404.jpg|100px|Wiki engine is dead, and we can not find a logo :-((|alt= ]]
|#default ={{{logo}}}
}}]</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-->
|-
|-
!style=text-align:right| [[:Category:Wiki Status|Status]]:
!style=text-align:right|[[:Category:Wiki Topic|Main topic]]:
| [[:Category:{{{status|{{{status}}}}}}|{{{status|{{{status}}}}}}]]
|[[:Category:{{{maintopic|{{{maintopic|Wiki engine}}}}}}|{{{maintopic|{{{maintopic|Wiki engine}}}}}}]]
|-  
|-
!style=text-align:right| [[:Category:Wiki Language|Interface language]]:
!style=text-align:right|[[Founder|Founded by]]:
| [[:Category:Wiki {{{language|{{{language}}}}}}|{{{language|{{{language}}}}}}]]
|{{{founder|Wiki engine founder}}}
|-  
|-
!style=text-align:right| [[:Category:Wiki Topic|Main topic]]:
!style=text-align:right|[[Owner]] / {{Cambridge-Dictionary|chief-executive-officer|CEO}}:
| [[:Category:{{{maintopic|{{{maintopic|Wiki Engine}}}}}}|{{{maintopic|{{{maintopic|Wiki Engine}}}}}}]]
|{{{CEO|Owner and/or CEO}}}
|-  
|-
!style=text-align:right| [[:Category:Programming|Programming language]]:
!style=text-align:right|[[:Category:Wiki language|Interface language]]:
| [[:Category:{{{prog language|{{{prog language}}}}}}|{{{prog language|{{{prog language}}}}}}]]
|[[:Category:Wiki {{{language|{{{language|Interface language}}}}}}|{{{language|{{{language|Interface language}}}}}}]]
|-  
|-
!style=text-align:right| [[:Category:License|Software license]]:
!style=text-align:right|[[:Category:Programming|Programming language]]:
| [[:Category:{{{s/w license|{{{s/w license}}}}}}|{{{s/w license|{{{s/w license}}}}}}]]
|[[: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]]:
|[[: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]]:
|[[: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>
|}</div><!-- Starting categorising logic -->
<!-- Starting categorizing logic -->
{{#if:{{{maintopic|{{{maintopic|}}}}}}|[[Category:{{{maintopic|{{{maintopic|}}}}}}]]}}
{{#if:{{{maintopic|{{{maintopic|}}}}}}|[[Category:{{{maintopic|{{{maintopic|}}}}}}]]}}
{{#if:{{{language|{{{language|}}}}}}|[[Category:Wiki {{{language|{{{language}}}}}}]]}}
{{#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}}}}}}]]}}<!--
<includeonly>[[Category:Wiki Engine]]</includeonly>
{{#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]]:
<noinclude>{{clear}}[[:Category:Wiki Engine|Wiki Engine]] template [[Template:Wiki Engine boilerplate|boilerplate]]:
{{Wiki engine boilerplate}}
{{Wiki Engine boilerplate}}
[[Category:Wiki engine|*]]
 
[[Category:Engine template| ]]
[[Category:Wiki Engine| ]]
[[Category:Infobox template|Engine]]</noinclude>
[[Category:Infobox templates|Engine]]</noinclude>