This page is protected against editing.

Template:Main Page/Sister projects: Difference between revisions

From Wikidata
Jump to navigation Jump to search
Content deleted Content added
+ Doc
f
 
(39 intermediate revisions by 23 users not shown)
Line 1: Line 1:
<!-- Additional styles in MediaWiki:Common.css -->
<div style="padding: .8em; font-size: 90%; text-align: center">
<div class="wikidata-mainpage-sister-projects" style="padding: .8em; font-size: 90%;">
<span style="white-space: nowrap;">[[File:{{{wikipedia logo|Wikipedia-logo-v2.svg}}}|20px|link={{{wikipedia link|w:}}}|{{{wikipedia name|Wikipedia}}}|alt=]]&nbsp;[[{{{wikipedia link|w:}}}|{{{wikipedia name|Wikipedia}}}]]&nbsp;–&nbsp;{{{wikipedia motto|Encyclopedia}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikipedia logo|Wikipedia-logo-v2.svg}}}|20px|link={{{wikipedia link|w:}}}|{{{wikipedia name|Wikipedia}}}|alt=]]&nbsp;[[{{{wikipedia link|w:}}}|{{{wikipedia name|Wikipedia}}}]]&nbsp;–&nbsp;{{{wikipedia motto|Encyclopedia}}}</span> &nbsp;&nbsp;
<span class="plainlinks" style="white-space: nowrap;">[[File:{{{meta logo|Wikimedia Community Logo.svg}}}|20px|link={{{meta link|MetaWikiPedia:}}}|{{{meta name|Meta-Wiki}}}|alt=]]&nbsp;[[{{{meta link|MetaWikiPedia:}}}|{{{meta name|Meta-Wiki}}}]]&nbsp;–&nbsp;{{{meta motto|Wikimedia project coordination}}}</span> &nbsp;&nbsp;
<span class="plainlinks" style="white-space: nowrap;">[[File:{{{commons logo|Commons-logo.svg}}}|18px|link={{{commons link|Commons:}}}|{{{commons name|Wikimedia Commons}}}|alt=]]&nbsp;[[{{{commons link|Commons:}}}|{{{commons name|Wikimedia Commons}}}]]&nbsp;–&nbsp;{{{commons motto|Free media repository}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wiktionary logo|Wiktionary-logo-en.svg}}}|20px|link={{{wiktionary link|Wiktionary:Wiktionary:Main Page}}}|{{{wiktionary name|Wiktionary}}}|alt=]]&nbsp;[[{{{wiktionary link|Wiktionary:Wiktionary:Main Page}}}|{{{wiktionary name|Wiktionary}}}]]&nbsp;–&nbsp;{{{wiktionary motto|Dictionary and thesaurus}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wiktionary logo|Wiktionary-logo-en.svg}}}|20px|link={{{wiktionary link|Wiktionary:Wiktionary:Main Page}}}|{{{wiktionary name|Wiktionary}}}|alt=]]&nbsp;[[{{{wiktionary link|Wiktionary:Wiktionary:Main Page}}}|{{{wiktionary name|Wiktionary}}}]]&nbsp;–&nbsp;{{{wiktionary motto|Dictionary and thesaurus}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikibooks logo|Wikibooks-logo.svg}}}|21px|link={{{wikibooks link|b:}}}|{{{wikibooks name|Wikibooks}}}|alt=]]&nbsp;[[{{{wikibooks link|b:}}}|{{{wikibooks name|Wikibooks}}}]]&nbsp;–&nbsp;{{{wikibooks motto|Free textbooks and manuals}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikibooks logo|Wikibooks-logo.svg}}}|21px|link={{{wikibooks link|b:}}}|{{{wikibooks name|Wikibooks}}}|alt=]]&nbsp;[[{{{wikibooks link|b:}}}|{{{wikibooks name|Wikibooks}}}]]&nbsp;–&nbsp;{{{wikibooks motto|Textbooks, manuals, and cookbooks}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikinews logo|Wikinews-logo.svg}}}|26px|link={{{wikinews link|n:}}}|{{{wikinews name|Wikinews}}}|alt=]]&nbsp;[[{{{wikinews link|n:}}}|{{{wikinews name|Wikinews}}}]]&nbsp;–&nbsp;{{{wikinews motto|News}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikiquote logo|Wikiquote-logo.svg}}}|20px|link={{{wikiquote link|q:}}}|{{{wikiquote name|Wikiquote}}}|alt=]]&nbsp;[[{{{wikiquote link|q:}}}|{{{wikiquote name|Wikiquote}}}]]&nbsp;–&nbsp;{{{wikiquote motto|Collection of quotations}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikiquote logo|Wikiquote-logo.svg}}}|20px|link={{{wikiquote link|q:}}}|{{{wikiquote name|Wikiquote}}}|alt=]]&nbsp;[[{{{wikiquote link|q:}}}|{{{wikiquote name|Wikiquote}}}]]&nbsp;–&nbsp;{{{wikiquote motto|Collection of quotations}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikiversity logo|Wikiversity-logo.svg}}}|20px|link={{{wikiversity link|v:}}}|{{{wikiversity name|Wikiversity}}}|alt=]]&nbsp;[[{{{wikiversity link|v:}}}|{{{wikiversity name|Wikiversity}}}]]&nbsp;–&nbsp;{{{wikiversity motto|Free learning materials and activities}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikisource logo|Wikisource-logo.svg}}}|20px|link={{{wikisource link|s:}}}|{{{wikisource name|Wikisource}}}|alt=]]&nbsp;[[{{{wikisource link|s:}}}|{{{wikisource name|Wikisource}}}]]&nbsp;–&nbsp;{{{wikisource motto|Library}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikisource logo|Wikisource-logo.svg}}}|20px|link={{{wikisource link|s:}}}|{{{wikisource name|Wikisource}}}|alt=]]&nbsp;[[{{{wikisource link|s:}}}|{{{wikisource name|Wikisource}}}]]&nbsp;–&nbsp;{{{wikisource motto|Free-content library}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikiversity logo|Wikiversity-logo.svg}}}|20px|link={{{wikiversity link|v:}}}|{{{wikiversity name|Wikiversity}}}|alt=]]&nbsp;[[{{{wikiversity link|v:}}}|{{{wikiversity name|Wikiversity}}}]]&nbsp;–&nbsp;{{{wikiversity motto|Learning resources}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikinews logo|Wikinews-logo.svg}}}|26px|link={{{wikinews link|n:}}}|{{{wikinews name|Wikinews}}}|alt=]]&nbsp;[[{{{wikinews link|n:}}}|{{{wikinews name|Wikinews}}}]]&nbsp;–&nbsp;{{{wikinews motto|Free-content news}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikivoyage logo|Wikivoyage-Logo-v3-icon.svg}}}|23px|link={{{wikivoyage link|voy:}}}|{{{wikivoyage name|Wikivoyage}}}|alt=]]&nbsp;[[{{{wikivoyage link|voy:}}}|{{{wikivoyage name|Wikivoyage}}}]]&nbsp;–&nbsp;{{{wikivoyage motto|Travel guides}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikispecies logo|Wikispecies-logo.svg}}}|23px|link={{{wikispecies link|Wikispecies:}}}|{{{wikispecies name|Wikispecies}}}|alt=]]&nbsp;[[{{{wikispecies link|Wikispecies:}}}|{{{wikispecies name|Wikispecies}}}]]&nbsp;&nbsp;{{{wikispecies motto|Directory of species}}}</span>
<span style="white-space: nowrap;">[[File:{{{wikispecies logo|Wikispecies-logo.svg}}}|23px|link={{{wikispecies link|wikispecies:}}}|{{{wikispecies name|Wikispecies}}}|alt=]] [[{{{wikispecies link|wikispecies:}}}|{{{wikispecies name|Wikispecies}}}]] {{{wikispecies motto|Directory of species}}}</span> &nbsp;&nbsp;
<span style="white-space: nowrap;">[[File:{{{wikifunctions logo|Wikifunctions-logo.svg}}}|23px|link={{{wikifunctions link|f:}}}|{{{wikifunctions name|Wikifunctions}}}|alt=]] [[{{{wikifunctions link|f:}}}|{{{wikifunctions name|Wikifunctions}}}]] – {{{wikifunctions motto|Free software functions}}}</span> &nbsp;&nbsp;
</div><noinclude>__NOTOC__
<span class="plainlinks" style="white-space: nowrap;">[[File:{{{commons logo|Commons-logo.svg}}}|18px|link={{{commons link|commons:}}}|{{{commons name|Wikimedia Commons}}}|alt=]]&nbsp;[[{{{commons link|commons:}}}|{{{commons name|Wikimedia Commons}}}]]&nbsp;–&nbsp;{{{commons motto|Media repository}}}</span> &nbsp;&nbsp;
{| style="width: 100%; background-color:#ECFCF4; border:1px solid #aaaaaa" cellpadding="5"
<span class="plainlinks" style="white-space: nowrap;">[[File:{{{incubator logo|Incubator-logo.svg}}}|20px|link={{{incubator link|incubator:}}}|{{{incubator name|Wikimedia Incubator}}}|alt=]]&nbsp;[[{{{incubator link|incubator:}}}|{{{incubator name|Wikimedia Incubator}}}]]&nbsp;–&nbsp;{{{incubator motto|New language versions}}}</span> &nbsp;&nbsp;
|
<span class="plainlinks" style="white-space: nowrap;">[[File:{{{meta logo|Wikimedia Community Logo.svg}}}|20px|link={{{meta link|meta:}}}|{{{meta name|Meta-Wiki}}}|alt=]]&nbsp;[[{{{meta link|meta:}}}|{{{meta name|Meta-Wiki}}}]]&nbsp;–&nbsp;{{{meta motto|Wikimedia project coordination}}}</span> &nbsp;&nbsp;
== [[File:Template-info.png|50px|link=]] Template documentation ==
<span class="plainlinks" style="white-space: nowrap;">[[File:{{{mediawiki logo|MediaWiki-2020-icon.svg}}}|20px|link={{{mediawiki link|mw:}}}|{{{mediawiki name|MediaWiki}}}|alt=]]&nbsp;[[{{{mediawiki link|mw:}}}|{{{mediawiki name|MediaWiki}}}]]&nbsp;–&nbsp;{{{mediawiki motto|Software documentation}}}</span> &nbsp;&nbsp;
This template is used on the home page to internationalize and standardize home pages in all languages.
</div><noinclude>{{Documentation}}{{protected}}</noinclude>

=== Usage ===
<pre style="white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word">
{{Main Page/Frame
| title = Projets frères
| content = {{Main Page/Sister projects

| wikipedia link = w:fr:
| wikipedia motto = Encyclopédie

| wiktionary logo = Wiktionary small.svg
| wiktionary name = Wiktionnaire
| wiktionary link = wikt:fr:
| wiktionary motto = Dictionnaire et thésaurus

...

| wikinews motto = Actualités libres
| wikinews link = n:fr:
}}
</pre>

=== Syntax ===
; color : This chage the title box background color. Default: ECFCF4 (grey).
; title : The title of this frame in your language.
; content : The title of this frame in your language. the tags <tt><nowiki><div></div></nowiki></tt> are useful only if the first character is a bullet or a number-bullet.

=== See also ===
* [[Template:Main Page/Header]]
* [[Template:Main Page/Frame]]
|}
</noinclude>

Latest revision as of 23:28, 16 September 2023

 Wikipedia – Encyclopedia     Wiktionary – Dictionary and thesaurus     Wikibooks – Textbooks, manuals, and cookbooks     Wikinews – News     Wikiquote – Collection of quotations     Wikisource – Library     Wikiversity – Learning resources     Wikivoyage – Travel guides    Wikispecies – Directory of species    Wikifunctions – Free software functions     Wikimedia Commons – Media repository     Wikimedia Incubator – New language versions     Meta-Wiki – Wikimedia project coordination     MediaWiki – Software documentation   

Documentation icon Template documentation[view · edit · history · purge ]

This template is used on the home page to internationalize and standardize home pages in all languages.

Usage

Example with the French Main Page : Wikidata:Accueil principal

{{Main Page/Frame
 | title   = Projets frères
 | content = {{Main Page/Sister projects

 | wikipedia link    = w:fr:
 | wikipedia name    = Wikipédia
 | wikipedia motto   = Encyclopédie

 | wiktionary logo   = Wiktionary small.svg
 | wiktionary link   = wikt:fr:
 | wiktionary name   = Wiktionnaire
 | wiktionary motto  = Dictionnaire et thésaurus

 | wikibooks link    = b:fr:
 | wikibooks name    = Wikilivres
 | wikibooks motto   = Livres et manuels libres

 | wikinews link     = n:fr:
 | wikinews motto    = Actualités libres

 | wikiquote link    = q:fr:
 | wikiquote motto   = Collection de citations

 | wikisource link   = s:fr:
 | wikisource motto  = Bibliothèque de contenu libre

 | wikiversity link  = v:fr:
 | wikiversity name  = Wikiversité
 | wikiversity motto = Cours et supports libres

 | wikivoyage link   = wikivoyage:fr:
 | wikivoyage motto  = Guide de voyage libre

 | commons link      = commons:Accueil
 | commons motto     = Dépôt de médias libres

 | wikifunctions link      = f:Accueil
 | wikifunctions motto     = ''tbd''

 | incubator name    = l’Incubateur Wikimedia
 | incubator link    = incubator:Incubator:Main_Page/fr
 | incubator motto   = Pour de potentielles nouvelles langues

 | meta link         = meta:Accueil
 | meta motto        = Coordination des projets Wikimedia

 | mediawiki name    = MediaWiki
 | mediawiki link    = mw:MediaWiki/fr
 | mediawiki motto   = Documentation du logiciel MediaWiki
}}
}}

Syntax

color
This chage the title box background color. Default: ECFCF4 (grey).
title
The title of this frame in your language.
content
The title of this frame in your language. the tags <div></div> are useful only if the first character is a bullet or a number-bullet.

Note if one of the following parameter is not filled up, the default will be the English case.

wikipedia logo, wikipedia link, wikipedia name, wikipedia motto
Use these parameters to change something specific for your language version of Wikipedia.
meta logo, meta link, meta name, meta motto
Use these parameters to change something specific for your language version of Meta-Wiki.
commons logo, commons link, commons name, commons motto
Use these parameters to change something specific for your language version of Wikimedia Commons.
wiktionary logo, wiktionary link, wiktionary name, wiktionary motto
Use these parameters to change something specific for your language version of Wiktionary.
wikibooks logo, wikibooks link, wikibooks name, wikibooks motto
Use these parameters to change something specific for your language version of Wikibooks.
wikiquote logo, wikiquote link, wikiquote name, wikiquote motto
Use these parameters to change something specific for your language version of Wikiquote.
wikiversity logo, wikiversity link, wikiversity name, wikiversity motto
Use these parameters to change something specific for your language version of Wikiversity.
wikisource logo, wikisource link, wikisource name, wikisource motto
Use these parameters to change something specific for your language version of Wikisource.
wikinews logo, wikinews link, wikinews name, wikinews motto
Use these parameters to change something specific for your language version of Wikinews.
wikispecies logo, wikispecies link, wikispecies name, wikispecies motto
Use these parameters to change something specific for your language version of Wikispecies.
wikifunctions logo, wikifunctions link, wikifunctions name, wikifunctions motto
Use these parameters to change something specific for your language version of Wikifunctions.
wikivoyage logo, wikivoyage link, wikivoyage name, wikivoyage motto
Use these parameters to change something specific for your language version of Wikivoyage.

See also

Protected This template has been protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.