Difference between revisions of "Template:Languages"
Jump to navigation
Jump to search
m |
(doc) |
||
Line 7: | Line 7: | ||
{{Languages/Lang|fr|{{{1|}}}|}} | {{Languages/Lang|fr|{{{1|}}}|}} | ||
{{Languages/Lang|nl|{{{1|}}}|}} | {{Languages/Lang|nl|{{{1|}}}|}} | ||
− | </td></tr></table></div></onlyinclude> | + | </td></tr></table></div></onlyinclude><noinclude> |
+ | ==Syntax== | ||
+ | <nowiki>{{Languages|PageName}}</nowiki> | ||
+ | |||
+ | PageName (optional) - name of the page on which we would like to show the language links. | ||
+ | * Leave blank on the main page. For example, on [[Common Problems]] we use simply <nowiki>{{Languages}}</nowiki>. | ||
+ | * Put the name of the page itself on language sub-pages. For example, on [[Common Problems/fr]] we must use <nowiki>{{Languages|Common Problems}}</nowiki>. | ||
+ | |||
+ | ==Usage== | ||
+ | * Place only pages that exist in more than one language | ||
+ | * Place in the same location on each translation of the page | ||
+ | |||
+ | * The English version of a page is always the main version | ||
+ | * Using the appropriate language code in the format "pagenamehere/language_code" | ||
+ | |||
+ | For example, see above. | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Revision as of 06:13, 14 August 2013
Languages: |
|
Syntax
{{Languages|PageName}}
PageName (optional) - name of the page on which we would like to show the language links.
- Leave blank on the main page. For example, on Common Problems we use simply {{Languages}}.
- Put the name of the page itself on language sub-pages. For example, on Common Problems/fr we must use {{Languages|Common Problems}}.
Usage
- Place only pages that exist in more than one language
- Place in the same location on each translation of the page
- The English version of a page is always the main version
- Using the appropriate language code in the format "pagenamehere/language_code"
For example, see above.