テンプレート:Languages/Language/doc
< テンプレート:Languages | Language
This template is used to get the language of the page where you put it in.
If the page where you put this template is in English, the template returns nothing. If the page where you put this template is not in English, the template returns the language of the page.
Examples
Page you put this in | You type | You get |
---|---|---|
Doc:Manual | {{Languages/Language}} | |
Doc:2.4/Manual | {{Languages/Language}} | |
Doc:BR/Manual | {{Languages/Language}} | |
Doc:BR/2.4/Manual | {{Languages/Language}} | |
whichever | {{Languages/Language|page=Doc:Manual}} | |
whichever | {{Languages/Language|page=Doc:2.4/Manual}} | |
whichever | {{Languages/Language|page=Doc:BR/Manual}} | |
whichever | {{Languages/Language|page=Doc:BR/2.4/Manual}} |
For english pages, if you provide an argument if will be the output instead of nothing.
For non-english pages, the first argument will be ignored.
Page you put this in | You type | You get |
---|---|---|
Doc:Manual | {{Languages/Language|EN}} | EN |
Doc:BR/Manual | {{Languages/Language|EN}} | EN |
This template is part of the blend-doc repository. We use categories to retrieve templates in order to commit it in that repository: please don't remove the categorization from this template.