Template:Multilingual main: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(name over-ride function)
m (Fix red link following category rename)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float:right; padding:2px; background:white; border:4px outset pink; margin-left:0.25em; margin-bottom:0.25em">
<includeonly>[[Category:Wiki Multilingual]][[Category:{{{engine}}}]][[Category:{{{maintopic}}}]]</includeonly><div style="float:right; padding:2px; background:white; border:4px outset pink; 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:center|{{{logo}}}
{{#ifeq:{{{wide logo|}}}|y|
| '''<span style=font-size:14px>[{{{URL|{{{URL}}}}}} {{{name|{{{name|{{PAGENAME}}}}}}}}]</span>'''
<!--THEN-->
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|Wiki portal  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:20px">{{#ifeq:{{{URL}}}|Portal URL|'''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:No wiki logo]][[File:NoLogo.png|Wiki portal 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 wiki portal, 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 portal 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 site requiring logo upload]][[File:Upload logo.png|Wiki portal 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]][[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, containing the words 'Private Wiki' in black text.]]
|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:20px">{{#ifeq:{{{URL}}}|Portal URL|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode]<br>[{{{about URL<includeonly>|No</includeonly>}}} About]
}}<!--ENDIF-->
|-
|-
!style=text-align:right|[[:Category:Wiki Language|Language]]:
!style=text-align:right|[[:Category:Wiki language|Language]]:
| [[:Category:Wiki Multilingual|Multilingual]]  
|[[:Category:Wiki Multilingual|Multilingual]]
|-
|-
!style=text-align:right|[[:Category:Wiki Engine|Engine]]:
!style=text-align:right|[[:Category:Wiki engine|Engine]]:
| [[:Category:{{{engine|{{{engine|YourWikiEngine}}}}}}|{{{engine|{{{engine|YourWikiEngine}}}}}}]]
|[[:Category:{{{engine|{{{engine|YourWikiEngine}}}}}}|{{{engine|{{{engine|YourWikiEngine}}}}}}]]
|-
|-
!style=text-align:right|[[:Category:Wiki Topic|Main Topic]]:
!style=text-align:right|[[:Category:Wiki Topic|Main topic]]:
| [[:Category:{{{maintopic}}}|{{{maintopic}}}]]
|[[:Category:{{{maintopic|{{{maintopic|YourWikiTopic}}}}}}|{{{maintopic|{{{maintopic|YourWikiTopic}}}}}}]]
{{#if: {{{license|}}} |{{!}}-  
{{#if: {{{license|}}}|{{!}}-
!style="text-align:right" {{!}} [[:Category:Wiki License{{!}}Wiki License]]:
!style=text-align:right {{!}} [[:Category:Wiki license{{!}}Wiki license]]:
{{!}} [[:Category:Wiki {{{license}}}{{!}}{{{license}}}]] }}
{{!}}[[:Category:Wiki {{{license}}}{{!}}{{{license}}}]]}}
|}
|}
|}</div>
|}</div>
{{#if: {{{license|}}} | [[Category:Wiki {{{license}}}]]}}<includeonly>
{{#if:{{{license|}}}|[[Category:Wiki {{{license}}}]]}}<noinclude>{{Clear}}[[:Category:Wiki Multilingual|Multilingual Wiki]] template [[Template:Multilingual main boilerplate|boilerplate]]:
[[Category:All]]
{{Multilingual main boilerplate}}
[[Category:Wiki Multilingual]]
[[Category:Wiki Multilingual| ]]
[[Category:{{{maintopic}}}]]</includeonly><noinclude>
[[Category:Portal| ]]
{{clear}}[[:Category:Wiki Multilingual|Multilingual Wiki]] template [[Template:MultilingualMain boilerplate|boilerplate]]:
[[Category:Infobox template]]
{{MultilingualMain boilerplate}}
[[Category:Language templates]]</noinclude>
[[Category:Infobox templates]]
[[Category:Language templates]]
[[Category:Wiki Multilingual| ]]</noinclude>

Latest revision as of 23:19, 28 May 2023

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

Multilingual Wiki template boilerplate:

Use this template for generating an infobox in the 'mother' or 'parent' article or category; which covers (providing an overview of) a identical series (or collection) of separate wiki sites on the same subject matter which are available in differing wiki languages; such as Encyclopædiæ Pokémonis, JurisPedia, Metapedia, openSUSE, Touhou Wiki, Uncyclopedia, wikiHow, WikiMANNia, Wikipedia, Wiktionary (and other multilingual projects of separate wiki sites from the Wikimedia Foundation), Wikitravel, etc. The collective description for all of the separate wiki sites may be classified or named as a 'project' by their creator and / or owner; here on WikiIndex, will be categorised within 'Wiki Multilingual'.

This infobox template should also be used on an article or category page for a wiki site portal page; its URL typically (though not always) prefixed with 'www', such as www.Wikiversity.org (instead of its language identifier sub-domain, e.g. de.Wikiversity.org).

All external URLs in an infobox field must start with http:// or https://, whereas external links within the prose description may also use any existing interwiki link for external sites, along with conventional 'internal' wikilinks.

{{Multilingual main <!--see 'Template:Multilingual main' for full detail and hidden help advice-->
|name        = WikiPortalName –<br><small>''tagline''</small><!--if portal name differs from category name, and/or has tagline; otherwise, DELETE this field-->
|URL         = Portal URL<!--start with http:// or https:// e.g. https://www.WikiPortalURL.org-->
|logo        = [[File:NoLogo.png|Description of portal logo image|alt=]]<!--you may upload and wikilink, or hotlink to a URL-->
|wide logo   = <!--insert 'y' when the logo is too wide AND / OR the title is too long-->
|wikinode URL= No<!--https://www.WikiPortalURL.org/WikiNode, if none, use 'No'-->
|about URL   = No<!--https://www.WikiPortalURL.org/PORTALNAMESPACE:About, if none, use 'No'-->
|engine      = YourWikiEngine<!--software which all the wiki sites run on, e.g. Wikia, MediaWiki, Wikidot.com; see Category:Wiki engine-->
|maintopic   = YourWikiTopic<!--specific primary main topic of the project; e.g. Food, Law, How to, Parody, Encyclopaedia, Travel guide, etc-->
|license     = Portal license<!--optional, see Category:Wiki license, if NO license, use 'No license'-->
|parent      = <!--full legal name of parent company or owner, e.g. Wikimedia Foundation, Inc.-->
}}<!--{{Language versions|}}--><!--list alphabetically by ISO two-(or more) letter language prefix IF articles use 'Wiki site (en)' naming scheme-->

{{Project navigation template|cat=no}}<!--e.g. {{Uncyclopedia|cat=no}}, {{Wikipedia|cat=no}}, etc-->
[[Category:Portal]]<!--ONLY if URL is a portal; see www.Wikipedia.org for example-->
Please add the year of founding of the wiki portal, or first wiki in the series, like so...
[[Category:Founded in YYYY]]<!--https://www.WikiPortalURL.org/index.php?title=Special:AncientPages-->

Select and highlight the text above in the blue/grey 'boilerplate', select copy the highlighted text (Ctrl-c, or -c on your keyboard), and then paste (Ctrl-c or -v) it at the top of the edit box of the relevant portal category, then amend the fields to the right of the = sign with the requested information on the specific wiki portal or series. Don't forget to click on the 'Show preview' button (alt-p (PC) or shift-esc-p (Mac) on your keyboard) to verify your edited detail is correct before saving (alt-s [PC] or shift-esc-s [Mac]).

Related templates
  • Template: Language versions may also be used to generate a textual navigation top banner with wikilinks to all sub-language versions (IF articles use 'Wiki site (en)' scheme);
  • Template: Wiki is used to generate the standard wiki article infobox;
  • Template: WikiApiary-farm is used to show readers here on this WikiIndex wiki site that there is an article page of the same, or similar name on the WikiApiary wiki site, listing those MediaWiki-powered wiki sites that are hosted on a specific wiki farm.