テンプレート:Languages/Language

提供: wiki
< テンプレート:Languages
2018年6月29日 (金) 03:42時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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.