Template:Wiki: Difference between revisions

Make the "founder" field truly optional so that it does *not* render as an empty field if the value isn't specified.
(Fix improper value annotations for backup dates, this is assuming that a value is only annotated if a backup is available)
(Make the "founder" field truly optional so that it does *not* render as an empty field if the value isn't specified.)
 
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]]:
Bureaucrats, checkuser, interwiki, Administrators
168

edits