Template:Multilingual main: Difference between revisions
Hoof Hearted (talk | contribs) (name over-ride function) |
Hoof Hearted (talk | contribs) 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. | <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= | {|class=infobox cellpadding=3 style="width:23em; font-size:96%" | ||
!style=text-align:center|{{{logo}}} | {{#ifeq:{{{wide logo|}}}|y| | ||
<!--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> • <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 | !style=text-align:right|[[:Category:Wiki language|Language]]: | ||
| [[:Category:Wiki Multilingual|Multilingual]] | |[[:Category:Wiki Multilingual|Multilingual]] | ||
|- | |- | ||
!style=text-align:right|[[:Category:Wiki | !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 | !style=text-align:right|[[:Category:Wiki Topic|Main topic]]: | ||
| [[:Category:{{{maintopic}}}|{{{maintopic}}}]] | |[[:Category:{{{maintopic|{{{maintopic|YourWikiTopic}}}}}}|{{{maintopic|{{{maintopic|YourWikiTopic}}}}}}]] | ||
{{#if: {{{license|}}} |{{!}}- | {{#if: {{{license|}}}|{{!}}- | ||
!style= | !style=text-align:right {{!}} [[:Category:Wiki license{{!}}Wiki license]]: | ||
{{!}} [[:Category:Wiki {{{license}}}{{!}}{{{license}}}]] }} | {{!}}[[:Category:Wiki {{{license}}}{{!}}{{{license}}}]]}} | ||
|} | |} | ||
|}</div> | |}</div> | ||
{{#if: {{{license|}}} | [[Category:Wiki {{{license}}}]]}} | {{#if:{{{license|}}}|[[Category:Wiki {{{license}}}]]}}<noinclude>{{Clear}}[[:Category:Wiki Multilingual|Multilingual Wiki]] template [[Template:Multilingual main boilerplate|boilerplate]]: | ||
{{Multilingual main boilerplate}} | |||
[[Category:Wiki Multilingual| ]] | |||
[[Category:Portal| ]] | |||
{{ | [[Category:Infobox template]] | ||
{{ | [[Category:Language templates]]</noinclude> | ||
[[Category: | |||
[[Category: | |||
[[Category: |
Latest revision as of 23:19, 28 May 2023
|
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.
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.