Template:Uselang/doc: Difference between revisions
Template page
More actions
Created page with '{{Documentation subpage}} Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise en. {{tdoc |i18n-method=mediawiki-msg |seeal...' |
No edit summary |
||
| (14 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise en. | |||
Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise "en" (default). | |||
{{tdoc | {{tdoc | ||
|i18n-method=mediawiki-msg | |i18n-method=mediawiki-msg | ||
|msg-id=lang | |||
|seealso=[[Help:System message#Branching based on the user language]] | |seealso=[[Help:System message#Branching based on the user language]] | ||
|relieson= | |relieson= | ||
| Line 10: | Line 12: | ||
}} | }} | ||
<includeonly> | <includeonly> | ||
[[Category: | |||
[[Category:User interface language dependent templates|Uselang]] | |||
</includeonly> | </includeonly> | ||