Template:Wiki: Difference between revisions

Jump to navigation Jump to search
Make the "founder" field truly optional so that it does *not* render as an empty field if the value isn't specified.
(Full size for File:Private.png)
(Make the "founder" field truly optional so that it does *not* render as an empty field if the value isn't specified.)
 
(7 intermediate revisions by 2 users not shown)
Line 9: Line 9:
-->{{#if:{{{license|}}}|[[Category:Wiki {{ucfirst:{{{license}}}}}]]}}<!--
-->{{#if:{{{license|}}}|[[Category:Wiki {{ucfirst:{{{license}}}}}]]}}<!--
-->{{#if:{{{maintopic|}}}|[[Category:{{{maintopic}}}]]}}<!--
-->{{#if:{{{maintopic|}}}|[[Category:{{{maintopic}}}]]}}<!--
-->{{#if:{{{backupurl|}}}|[[Category:Wiki Backups]]}}<!--
-->{{#if:{{{backupurl|}}}|[[Category:Wiki database backup]]}}<!--
-->{{#if:{{{wikiFactor|}}}|[[Category:{{wikiFactorCatText|{{{wikiFactor}}}}}]][[wikiFactor::{{{wikiFactor|0}}}]]}}<!--
-->{{#if:{{{wikiFactor|}}}|[[Category:{{wikiFactorCatText|{{{wikiFactor}}}}}]][[wikiFactor::{{{wikiFactor|0}}}]]}}<!--
   Ending categorizing logic
   Ending categorizing logic
--></includeonly><!--
--></includeonly><!--
   Starting template code
   Starting template code
-->{{#set:Wiki status={{{status|}}}|Wiki engine={{{engine|}}}|Wiki edit mode={{{editmode|}}}|Main topic={{{maintopic|}}} }}
-->{{#set:|Wiki engine={{{engine|}}}|Main topic={{{maintopic|}}} }}
<div style="float:right; padding:2px; background:white; border:4px outset gray; margin-left:0.5em; margin-bottom:0.5em">
<div style="float:right; padding:2px; background:white; border:4px outset gray; margin-left:0.5em; margin-bottom:0.5em">
{|class=infobox cellpadding=3 style="width:26em; font-size:96%; text-align:left; line-height:1.5em; border:2px inset #A0A7B4"
{|class=infobox cellpadding=3 style="width:26em; font-size:96%; text-align:left; line-height:1.5em; border:2px inset #A0A7B4"
Line 37: Line 37:
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent&nbsp;changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode][[WikiNode URL::{{{wikinode URL|}}}| ]]<!--Semantic property--><br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{mobile URL<includeonly>|No</includeonly>}}} Mobile URL]</span>
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent&nbsp;changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode][[WikiNode URL::{{{wikinode URL|}}}| ]]<!--Semantic property--><br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{mobile URL<includeonly>|No</includeonly>}}} Mobile URL]</span>
}}<!--ENDIF-->
}}<!--ENDIF-->
|-
{{#if:{{{founder|}}}|
{{!}}-
!scope=row style=text-align:right{{!}}[[Founder|Founded by]]:
!scope=row style=text-align:right{{!}}[[Founder|Founded by]]:
|{{{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}}}]][[Wiki status::{{{status|}}}| ]]<!--Semantic property-->
|[[:Category:{{{status}}}|{{{status}}}]]{{#ifeq: {{{status|}}} |YourWikiStatus | |{{#set: Wiki status={{{status|}}} }} }}<!--Semantic property-->
|-
|-
!scope=row style=text-align:right|[[:Category:Wiki language|Language]]:
!scope=row style=text-align:right|[[:Category:Wiki language|Language]]:
|[[:Category:Wiki {{{language}}}|{{{language}}}]][[Wiki language::{{{language|}}}| ]]<!--Semantic property-->
|[[:Category:Wiki {{{language}}}|{{{language}}}]]{{#set: Wiki language={{{language|}}} }}<!--Semantic property-->
|-
|-
!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}}}]][[Wiki edit mode::{{{editmode|}}}| ]]<!--Semantic property-->
|[[:Category:{{{editmode}}}|{{{editmode}}}]]{{#ifeq: {{{editmode|}}} |YourWikiEditMode | |{{#set: Wiki edit mode={{{editmode|}}} }} }}<!--Semantic property-->
|-
|-
!scope=row style=text-align:right|[[:Category:Wiki engine|Wiki engine]]:
!scope=row style=text-align:right|[[:Category:Wiki engine|Wiki engine]]:
|[[:Category:{{{engine}}}|{{{engine}}}]][[Wiki engine::{{{engine|}}}| ]]<!--Semantic property-->
|[[:Category:{{{engine}}}|{{{engine}}}]]{{#set: Wiki engine={{{engine|}}} }}<!--Semantic property-->
|-
|-
!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}}}]]{{#ifeq: {{{license|}}} |YourWiki'sLicense | |{{#set: 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}}}]][[Main topic::{{{maintopic|}}}| ]]<!--Semantic property-->
|[[:Category:{{{maintopic}}}|{{{maintopic}}}]]{{#set: Main topic={{{maintopic|}}} }}<!--Semantic property-->
{{#if:{{{backupurl|}}}|
{{#if:{{{backupurl|}}}|
{{!}}-
{{!}}-
!scope=row style=text-align:right{{!}}[[:Category:Wiki Backups{{!}}Backups]]:
!scope=row style=text-align:right{{!}}[[:Category:Wiki database backup{{!}}Backups]]:
{{!}}[{{{backupurl|}}} {{{backupdate|unknown or dynamic date}}}][[Backup URL::{{{backupurl|}}}| ]][[Backup date::{{{backupdate|}}}| ]]<!--Semantic properties-->
{{!}}[{{{backupurl|}}} {{{backupdate|unknown or dynamic date}}}]{{#switch: {{{backupdate|}}} |unknown or dynamic date={{#set: Backup URL={{{backupurl|}}} }} |unknown date={{#set: Backup URL={{{backupurl|}}} }} |dynamic date={{#set: Backup URL={{{backupurl|}}} }} |#default={{#set: Backup URL={{{backupurl|}}} | Backup date={{{backupdate|}}} }} }}<!--Semantic properties-->
}}
}}
|}</div><!--
|}</div><!--
Bureaucrats, checkuser, interwiki, Administrators
168

edits

Navigation menu