テンプレート:Languages/Language

提供: wiki
< テンプレート:Languages
2011年9月20日 (火) 06:26時点におけるwiki>Mindronesによる版 (added/updated from newiki)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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.