Template:Multilingual main: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(whoops)
(wide logo switch option)
Line 1: Line 1:
<includeonly>
<includeonly>[[Category:All]]
[[Category:All]]
[[Category:Wiki Multilingual]]
[[Category:Wiki Multilingual]]
[[Category:{{{engine}}}]]
[[Category:{{{engine}}}]]
Line 6: Line 5:
{|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:95%"
!style=text-align:right|{{#switch:{{{logo}}}
{{#ifeq:{{{wide logo|}}}|y|
|No    =[[Category:UnknownWikiLogo]][[File:NoLogo.png|alt=Wiki portal doesn't have a logo]]
<!--THEN-->
|Private=[[Category:Private]][[File:Private.png|100px|alt=Wiki portal is private]]
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|alt=Wiki portal does not have a logo, a generic 'no logo' image is displayed]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span>
|Dead  =[[Category:Dead]][[File:404.jpg|100px|alt=Wiki portal is dead :-((]]
}}
|#default= {{{logo}}} }}
{{!}}-
|'''<span style=font-size:18px>[{{{URL|{{{URL}}}}}} {{{name|{{{name|{{PAGENAME}}}}}}}}]</span>'''<br><span style=white-space:nowrap>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]<br>[{{{about URL<includeonly>|No</includeonly>}}} About]</span>
{{!}}colspan=2 style=text-align:center{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|WikiPortalURL|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{wikinode URL|No}}} WikiNode]</span>&nbsp;• <span style=white-space:nowrap>[{{{about URL|No}}} About]</span>
|<!--ELSE-->
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
|No    =[[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki portal does not have a logo|alt=Small monochrome image with a white background, displaying the words black text 'no logo'.]]
|Upload =[[File:Upload logo.png|Wiki portal has a logo, but it needs uploading|alt=A square image with a graduated pale brown background, displaying the words black text 'Please Upload Logo'.]]
|Private=[[Category:Private]][[File:Private.png|100px|Wiki portal is private, and we can not verify if it has a logo|alt=A square image with a graduated pink/red background, displaying the words black text 'Private Wiki'.]]
|Dead  =[[Category:Dead]][[File:404.jpg|100px|Wiki portal is dead, and we can not find a logo :-((|alt= ]]
|#default={{{logo}}}
}}]</span>
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|WikiPortalURL|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]<br><span style=white-space:nowrap>[{{{about URL<includeonly>|No</includeonly>}}} About]</span>
}}<!--ENDIF-->
|-
|-
!style=text-align:right|[[:Category:Wiki Language|Language]]:
!style=text-align:right|[[:Category:Wiki Language|Language]]:

Revision as of 18:51, 14 December 2019

[{{{URL}}} {{{logo}}}] [{{{URL}}} Multilingual main]
[{{{wikinode URL}}} WikiNode]
[{{{about URL}}} About]
Language: Multilingual
Engine: YourWikiEngine
Main topic: YourWikiTopic

Multilingual Wiki template boilerplate:

Template:MultilingualMain boilerplate