Modèle:Autres projets/Documentation/en
The template {{Autres projets}}
(in English: Other projects) creates a box of links to other Wikimedia projects (Commonscat, Commons, Wiktionary, Wikibooks, Wikisource, Wikiquote, Wikinews,...). According to the decision on interproject links, Autres projets
replaces Commonscat
(and Commons, Wiktionary, Wikibooks, Wikisource, Wikiquote, Wikinews,...) that should no longer be used in the article namespace.
In brief: How to convert Commonscat
to Autres projets
modifier
{{Commonscat|category}}
→{{Autres projets|commons=Category:category}}
{{Commonscat|category|title}}
→{{Autres projets|commons=Category:category|commons titre=title}}
Syntax of the template
modifierYou can add this template to an article, usually at the end, by using the following syntax.
Simple syntax
modifierYou can copy and paste the following example. The title of each link will be the name of the page in which the template is included.
{{Autres projets | commons = <!-- Commons --> | wikispecies = <!-- Wikispecies --> | wiktionary = <!-- Wiktionary --> | wikiversity = <!-- Wikiversity --> | wikibooks = <!-- Wikibooks --> | wikisource = <!-- Wikisource --> | wikiquote = <!-- Wikiquote --> | wikinews = <!-- Wikinews --> | meta = <!-- Metawiki --> | outreach = <!-- Outreach --> | wikidata = <!-- Wikidata --> | wikivoyage = <!-- Wikivoyage --> }}
Advanced syntax
modifierFull version. You can customize the title of each link.
{{Autres projets | commons = <!-- Commons --> | commons titre = <!-- Caption of the link to Commons --> | commons2 = <!-- Commons --> | commons titre2 = <!-- Caption of the link to Commons --> | commons3 = <!-- Commons --> | commons titre3 = <!-- Caption of the link to Commons --> | wikispecies = <!-- Wikispecies --> | wikispecies titre = <!-- Caption of the link to Wikispecies --> | wikispecies2 = <!-- Wikispecies --> | wikispecies titre2 = <!-- Caption of the link to Wikispecies --> | wikispecies3 = <!-- Wikispecies --> | wikispecies titre3 = <!-- Caption of the link to Wikispecies --> | wiktionary = <!-- Wiktionary --> | wiktionary titre = <!-- Caption of the link to Wiktionary --> | wiktionary2 = <!-- Wiktionary --> | wiktionary titre2 = <!-- Caption of the link to Wiktionary --> | wikiversity = <!-- Wikiversity --> | wikiversity titre = <!-- Caption of the link to Wikiversity --> | wikibooks = <!-- Wikibooks --> | wikibooks titre = <!-- Caption of the link to Wikibooks --> | wikisource = <!-- Wikisource --> | wikisource titre = <!-- Caption of the link to Wikisource --> | wikisource2 = <!-- Wikisource --> | wikisource titre2 = <!-- Caption of the link to Wikisource --> | wikiquote = <!-- Wikiquote --> | wikiquote titre = <!-- Caption of the link to Wikiquote --> | wikinews = <!-- Wikinews --> | wikinews titre = <!-- Caption of the link to Wikinews --> | meta = <!-- Metawiki --> | meta titre = <!-- Caption of the link to Metawiki --> | outreach = <!-- Wikimedia outreach projects --> | outreach titre = <!-- Caption of the link to Outreach --> | wikidata = <!-- Wikidata --> | wikidata titre = <!-- Caption of the link to Wikidata --> | wikivoyage = <!-- Wikivoyage --> | wikivoyage titre = <!-- Caption of the link to Wikivoyage --> }}
- Remarks
- All parameters are optional, but at least one should be given.
- Pay attention to the fact that some projects are sensitive to the case of the first letter of the title.
Examples
modifierExample 1 : Simple syntax
{{Autres projets | commons = Plants | wikispecies = Plantae | wiktionary = botanique }}
Example 2 : Advanced syntax (custom link text)
{{Autres projets | wikibooks = Biocarburants : plantes | wikibooks titre = Biocarburants | wikisource = Je plante en ta faveur cet arbre de Cybèle | wikisource titre = Je plante en ta faveur cet arbre de Cybèle }}
Example 3 : Link to a category on Wikimedia Commons
{{Autres projets | commons = Category:Plants }}
Example 4 : Link to a different language
Add the lang code before the title of the page.
{{Autres projets | wikiquote = en:Isaac Newton | wikiquote titre = Citations d'Isaac Newton (en anglais) }}