Template:Main Page/Sister projects: Difference between revisions
+ 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%; |
<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=]] [[{{{wikipedia link|w:}}}|{{{wikipedia name|Wikipedia}}}]] – {{{wikipedia motto|Encyclopedia}}}</span> |
<span style="white-space: nowrap;">[[File:{{{wikipedia logo|Wikipedia-logo-v2.svg}}}|20px|link={{{wikipedia link|w:}}}|{{{wikipedia name|Wikipedia}}}|alt=]] [[{{{wikipedia link|w:}}}|{{{wikipedia name|Wikipedia}}}]] – {{{wikipedia motto|Encyclopedia}}}</span> |
||
⚫ | <span class="plainlinks" style="white-space: nowrap;">[[File:{{{meta logo|Wikimedia Community Logo.svg}}}|20px|link={{{meta link| |
||
⚫ | <span class="plainlinks" style="white-space: nowrap;">[[File:{{{commons logo|Commons-logo.svg}}}|18px|link={{{commons link| |
||
<span style="white-space: nowrap;">[[File:{{{wiktionary logo|Wiktionary-logo-en.svg}}}|20px|link={{{wiktionary link|Wiktionary:Wiktionary:Main Page}}}|{{{wiktionary name|Wiktionary}}}|alt=]] [[{{{wiktionary link|Wiktionary:Wiktionary:Main Page}}}|{{{wiktionary name|Wiktionary}}}]] – {{{wiktionary motto|Dictionary and thesaurus}}}</span> |
<span style="white-space: nowrap;">[[File:{{{wiktionary logo|Wiktionary-logo-en.svg}}}|20px|link={{{wiktionary link|Wiktionary:Wiktionary:Main Page}}}|{{{wiktionary name|Wiktionary}}}|alt=]] [[{{{wiktionary link|Wiktionary:Wiktionary:Main Page}}}|{{{wiktionary name|Wiktionary}}}]] – {{{wiktionary motto|Dictionary and thesaurus}}}</span> |
||
<span style="white-space: nowrap;">[[File:{{{wikibooks logo|Wikibooks-logo.svg}}}|21px|link={{{wikibooks link|b:}}}|{{{wikibooks name|Wikibooks}}}|alt=]] [[{{{wikibooks link|b:}}}|{{{wikibooks name|Wikibooks}}}]] – {{{wikibooks motto| |
<span style="white-space: nowrap;">[[File:{{{wikibooks logo|Wikibooks-logo.svg}}}|21px|link={{{wikibooks link|b:}}}|{{{wikibooks name|Wikibooks}}}|alt=]] [[{{{wikibooks link|b:}}}|{{{wikibooks name|Wikibooks}}}]] – {{{wikibooks motto|Textbooks, manuals, and cookbooks}}}</span> |
||
<span style="white-space: nowrap;">[[File:{{{wikinews logo|Wikinews-logo.svg}}}|26px|link={{{wikinews link|n:}}}|{{{wikinews name|Wikinews}}}|alt=]] [[{{{wikinews link|n:}}}|{{{wikinews name|Wikinews}}}]] – {{{wikinews motto|News}}}</span> |
|||
<span style="white-space: nowrap;">[[File:{{{wikiquote logo|Wikiquote-logo.svg}}}|20px|link={{{wikiquote link|q:}}}|{{{wikiquote name|Wikiquote}}}|alt=]] [[{{{wikiquote link|q:}}}|{{{wikiquote name|Wikiquote}}}]] – {{{wikiquote motto|Collection of quotations}}}</span> |
<span style="white-space: nowrap;">[[File:{{{wikiquote logo|Wikiquote-logo.svg}}}|20px|link={{{wikiquote link|q:}}}|{{{wikiquote name|Wikiquote}}}|alt=]] [[{{{wikiquote link|q:}}}|{{{wikiquote name|Wikiquote}}}]] – {{{wikiquote motto|Collection of quotations}}}</span> |
||
<span style="white-space: nowrap;">[[File:{{{ |
<span style="white-space: nowrap;">[[File:{{{wikisource logo|Wikisource-logo.svg}}}|20px|link={{{wikisource link|s:}}}|{{{wikisource name|Wikisource}}}|alt=]] [[{{{wikisource link|s:}}}|{{{wikisource name|Wikisource}}}]] – {{{wikisource motto|Library}}}</span> |
||
<span style="white-space: nowrap;">[[File:{{{ |
<span style="white-space: nowrap;">[[File:{{{wikiversity logo|Wikiversity-logo.svg}}}|20px|link={{{wikiversity link|v:}}}|{{{wikiversity name|Wikiversity}}}|alt=]] [[{{{wikiversity link|v:}}}|{{{wikiversity name|Wikiversity}}}]] – {{{wikiversity motto|Learning resources}}}</span> |
||
<span style="white-space: nowrap;">[[File:{{{ |
<span style="white-space: nowrap;">[[File:{{{wikivoyage logo|Wikivoyage-Logo-v3-icon.svg}}}|23px|link={{{wikivoyage link|voy:}}}|{{{wikivoyage name|Wikivoyage}}}|alt=]] [[{{{wikivoyage link|voy:}}}|{{{wikivoyage name|Wikivoyage}}}]] – {{{wikivoyage motto|Travel guides}}}</span> |
||
<span style="white-space: nowrap;">[[File:{{{wikispecies logo|Wikispecies-logo.svg}}}|23px|link={{{wikispecies link| |
<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> |
||
<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> |
|||
</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=]] [[{{{commons link|commons:}}}|{{{commons name|Wikimedia Commons}}}]] – {{{commons motto|Media repository}}}</span> |
||
{| 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=]] [[{{{incubator link|incubator:}}}|{{{incubator name|Wikimedia Incubator}}}]] – {{{incubator motto|New language versions}}}</span> |
|||
| |
|||
⚫ | <span class="plainlinks" style="white-space: nowrap;">[[File:{{{meta logo|Wikimedia Community Logo.svg}}}|20px|link={{{meta link|meta:}}}|{{{meta name|Meta-Wiki}}}|alt=]] [[{{{meta link|meta:}}}|{{{meta name|Meta-Wiki}}}]] – {{{meta motto|Wikimedia project coordination}}}</span> |
||
== [[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=]] [[{{{mediawiki link|mw:}}}|{{{mediawiki name|MediaWiki}}}]] – {{{mediawiki motto|Software documentation}}}</span> |
|||
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
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
The above documentation is transcluded from Template:Main Page/Sister projects/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |
This template has been protected from editing to prevent vandalism. Please discuss changes on the talk page or request unprotection. |