Difference between revisions of "Template:Multilingual"

From Pirate Party Belgium
Jump to: navigation, search
(english description)
(how to use this template?)
Line 1: Line 1:
 
<noinclude>__NOTOC__
 
<noinclude>__NOTOC__
 
{{Multilingual
 
{{Multilingual
| en = We recommand you to define multilingual titles, in order to not overload the table of content.
+
| en = This template make it possible to show a wiki page in several languages.
  
You can just follow this template:  
+
At the moment, there are only three languages available (English, Français and Nederlands). When the traduction for a given language is not available yet, we ask you to let the corresponding section empty. Indeed, this template will create a category that indicates the page requires a translation in the missing language. For instance, if there is no English translation yet, the category [[:Category:To translate]] will be automatically generated.
| fr = Il est conseillé de définir des titres de sections multilingues, afin de ne pas surcharger la table des matières.
 
  
Il suffit alors de suivre le modèle suivant :
+
We strongly recommand you to define multilingual titles, in order to not overload the table of content. The current convention is to use this template for each page's section. This also allows translators and future contributors to more easily modify the page.
| nl = Er wordt aangeraden de kopjes meertalig te schrijven zodat de inhoudstafel leesbaar blijft.
 
  
Volg dan de volgende patroon :
+
| fr = Ce modèle permet d'afficher une page du wiki dans plusieurs langues.
 +
 
 +
Pour le moment, seuls trois langues sont disponibles (English, Français et Nederlands). Lorsque la traduction pour une langue n'est pas disponible, nous vous demandons de laisser vide la section correspondante. En effet, le modèle crée une catégorie indiquant que la page nécessite une traduction dans la langue manquante. Ainsi, si la section française ne possède pas encore de traduction, une catégorie [[:Category:À traduire]] sera automatiquement générée.
 +
 
 +
Nous vous recommandons fortement de définir des titres de sections multilingues, afin de ne pas surcharger la table des matières. La convention actuelle est donc d'utiliser ce modèle pour chaque section de la page. Ceci permet également aux traducteurs et futurs contributeurs de modifier la page plus aisément.
 +
 
 +
| nl =
 
}}
 
}}
  <nowiki>
+
 
== Title 1 / Titre 1 / Titel 1 ==
+
= Usage =
 +
 
 +
You can just copy/paste this code and fill up the section for which you have a translation. Don't be afraid to leave the other sections empty!
 +
 
 +
  <nowiki>{{Multingual
 +
| en =
 +
| fr =
 +
| nl =
 +
}}</nowiki>
 +
 
 +
= Example =
 +
 
 +
<nowiki>== Title 1 / Titre 1 / Titel 1 ==
 +
 
 
{{Multilingual
 
{{Multilingual
 
| en = Paragraph in English.
 
| en = Paragraph in English.
Line 18: Line 35:
 
| nl = Paragraaf in het Nederlands
 
| nl = Paragraaf in het Nederlands
 
}}</nowiki>
 
}}</nowiki>
 +
 +
= Result =
  
 
== Title 1 / Titre 1 / Titel 1 ==
 
== Title 1 / Titre 1 / Titel 1 ==
 +
 
{{Multilingual
 
{{Multilingual
 
| en = Paragraph in English.
 
| en = Paragraph in English.

Revision as of 12:55, 5 November 2016


English


This template make it possible to show a wiki page in several languages.

At the moment, there are only three languages available (English, Français and Nederlands). When the traduction for a given language is not available yet, we ask you to let the corresponding section empty. Indeed, this template will create a category that indicates the page requires a translation in the missing language. For instance, if there is no English translation yet, the category Category:To translate will be automatically generated.

We strongly recommand you to define multilingual titles, in order to not overload the table of content. The current convention is to use this template for each page's section. This also allows translators and future contributors to more easily modify the page.

Français


Ce modèle permet d'afficher une page du wiki dans plusieurs langues.

Pour le moment, seuls trois langues sont disponibles (English, Français et Nederlands). Lorsque la traduction pour une langue n'est pas disponible, nous vous demandons de laisser vide la section correspondante. En effet, le modèle crée une catégorie indiquant que la page nécessite une traduction dans la langue manquante. Ainsi, si la section française ne possède pas encore de traduction, une catégorie Category:À traduire sera automatiquement générée.

Nous vous recommandons fortement de définir des titres de sections multilingues, afin de ne pas surcharger la table des matières. La convention actuelle est donc d'utiliser ce modèle pour chaque section de la page. Ceci permet également aux traducteurs et futurs contributeurs de modifier la page plus aisément.

Nederlands


Te vertalen

Usage

You can just copy/paste this code and fill up the section for which you have a translation. Don't be afraid to leave the other sections empty!

{{Multingual
| en = 
| fr = 
| nl = 
}}

Example

== Title 1 / Titre 1 / Titel 1 ==

{{Multilingual
| en = Paragraph in English.
| fr = Paragraphe en français.
| nl = Paragraaf in het Nederlands
}}

Result

Title 1 / Titre 1 / Titel 1

English


Paragraph in English.

Français


Paragraphe en français.

Nederlands


Paragraaf in het Nederlands