Template:Wiki: Difference between revisions

Jump to navigation Jump to search
wikilink to founder, trim out redundant/duplicated coding, add File:404.jpg and Category:Dead
(rv plainlinks didn't look correct, so reinstated)
(wikilink to founder, trim out redundant/duplicated coding, add File:404.jpg and Category:Dead)
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}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|alt=Wiki doesn't have a logo]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span>
}}
}}
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center" {{!}} '''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent&nbsp;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>[{{{mobile URL|No}}} Mobile URL]</span>
{{!}}colspan="2" style="text-align:center"{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent&nbsp;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>[{{{mobile URL|No}}} Mobile URL]</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:UnknownWikiLogo]] [[File:NoLogo.png|alt=Wiki doesn't have a logo]]
|No     = [[Category:UnknownWikiLogo]][[File:NoLogo.png|alt=Wiki doesn't have a logo]]
|Inactive = [[File:Inactive.png|100px|alt=Wiki is inactive]]
|Inactive= [[File:Inactive.png|100px|alt=Wiki is inactive]]
|Private = [[File:Private.png|100px|alt=Wiki is private]]
|Private = [[Category:Private]][[File:Private.png|100px|alt=Wiki is private]]
|#default = {{{logo}}}
|Dead    = [[Category:Dead]][[File:404.jpg|100px|alt=Wiki is dead :-((]]
|#default= {{{logo}}}
}}]</span>
}}]</span>
{{!}} '''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent&nbsp;changes]</span><br><span style=white-space:nowrap>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]</span><br><span style=white-space:nowrap>[{{{about URL<includeonly>|No</includeonly>}}} About]</span><br><span style=white-space:nowrap>[{{{mobile URL<includeonly>|No</includeonly>}}} Mobile URL]</span>
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent&nbsp;changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]<br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{mobile URL<includeonly>|No</includeonly>}}} Mobile URL]</span>
}}<!--ENDIF-->
}}<!--ENDIF-->
{{#if: {{{founder|}}}|
{{#if: {{{founder|}}}|
{{!}}-
{{!}}-
!scope="row" style="text-align:right"{{!}} Founded by:
!scope="row" style="text-align:right"{{!}}[[Founder|Founded by]]:
{{!}} [[{{{founder}}}{{!}}{{{founder}}}]]
{{!}}[[{{{founder}}}{{!}}{{{founder}}}]]
}}
}}
|-
|-
!scope="row" style="text-align:right"| [[:Category:Wiki Status|Status]]:
!scope="row" style="text-align:right"|[[:Category:Wiki Status|Status]]:
| [[:Category:{{{status}}}|{{{status}}}]]
|[[:Category:{{{status}}}|{{{status}}}]]
|-
|-
!scope="row" style="text-align:right"| [[:Category:Wiki Language|Language]]:
!scope="row" style="text-align:right"|[[:Category:Wiki Language|Language]]:
| [[:Category:Wiki {{{language}}}|{{{language}}}]]
|[[:Category:Wiki {{{language}}}|{{{language}}}]]
|-
|-
!scope="row" style="text-align:right"| [[:Category:Wiki Edit Mode|Edit mode]]:
!scope="row" style="text-align:right"|[[:Category:Wiki Edit Mode|Edit mode]]:
| [[:Category:{{{editmode}}}|{{{editmode}}}]]
|[[:Category:{{{editmode}}}|{{{editmode}}}]]
|-
|-
!scope="row" style="text-align:right"| [[:Category:Wiki Engine|Wiki engine]]:
!scope="row" style="text-align:right"|[[:Category:Wiki Engine|Wiki engine]]:
| [[:Category:{{alt engine|{{{engine}}}}}|{{alt engine|{{{engine}}}}}]][[engine::{{{engine|}}}| ]]<!-- Semantic property -->
|[[:Category:{{alt engine|{{{engine}}}}}|{{alt engine|{{{engine}}}}}]][[engine::{{{engine|}}}| ]]<!-- Semantic property -->
{{#if: {{{license|}}}|
{{#if: {{{license|}}}|
{{!}}-
{{!}}-
!scope="row" style="text-align:right"{{!}} [[:Category:Wiki License{{!}}Wiki license]]:
!scope="row" style="text-align:right"{{!}}[[:Category:Wiki License{{!}}Wiki license]]:
{{!}} [[:Category:Wiki {{{license}}}{{!}}{{{license}}}]][[Wiki License::{{{license|}}}| ]]<!-- Semantic property -->
{{!}}[[:Category:Wiki {{{license}}}{{!}}{{{license}}}]][[Wiki License::{{{license|}}}| ]]<!-- Semantic property -->
}}
}}
|-
|-
!scope="row" style="text-align:right"| [[:Category:Wiki Topic|Main topic]]:
!scope="row" style="text-align:right"|[[:Category:Wiki Topic|Main topic]]:
| [[:Category:{{{maintopic}}}|{{{maintopic}}}]]
|[[:Category:{{{maintopic}}}|{{{maintopic}}}]]
{{#if: {{{backupurl|}}}|
{{#if: {{{backupurl|}}}|
{{!}}-
{{!}}-
!scope="row" style="text-align:right"{{!}} [[:Category:Wiki Backups{{!}}Backups]]:
!scope="row" style="text-align:right"{{!}}[[:Category:Wiki Backups{{!}}Backups]]:
{{!}} [{{{backupurl|}}} {{{backupdate|unknown date}}}]
{{!}}[{{{backupurl|}}} {{{backupdate|unknown date}}}]
[[backupurl::{{{backupurl|}}}| ]][[backupdate::{{{backupdate|}}}| ]]:<!-- Semantic property -->
[[backupurl::{{{backupurl|}}}| ]][[backupdate::{{{backupdate|}}}| ]]:<!-- Semantic property -->
}}
}}

Navigation menu