Template:In other languages/doc: Difference between revisions
More actions
←Created page with '{{TemplateBox |name=In other languages |desc={{LangSwitch |en=Basic translation-of-a-phrase template. Inputs a language code, outputs either the text translated into that language, or the English, with an option to add a translation. |fr=Modèle de traduction d’une phrase. }} |namespace=all |usergroup=all |placement= |usage-notes= |type= |example= |i18n-method=switch |i18n-desc= |seealso= |setscats= |lines= |shorthand= |relieson= }}' |
+ cat |
||
| (One intermediate revision by one other user not shown) | |||
| Line 8: | Line 8: | ||
|usergroup=all | |usergroup=all | ||
|placement= | |placement= | ||
|usage-notes= | |usage-notes=<code><nowiki>lang={{{lang|}}}</nowiki></code> parameter is required | ||
|type= | |type= | ||
|example= | |example= | ||
| Line 14: | Line 14: | ||
|i18n-desc= | |i18n-desc= | ||
|seealso= | |seealso= | ||
|setscats= | |setscats=[[Category:Internationalised marker templates|{{PAGENAME}}]] | ||
|lines= | |lines= | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson= | ||
}} | }} | ||
Latest revision as of 18:31, 11 December 2021
Basic translation-of-a-phrase template. Inputs a language code, outputs either the text translated into that language, or the English, with an option to add a translation.
The template automatically sets the following categories:
Usage
{{In other languages}}
lang={{{lang|}}} parameter is required
The template takes no parameters.
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)