テンプレート:Languages/PageIsEnglish
< テンプレート:Languages
2012年10月17日 (水) 01:51時点におけるwiki>Mont29による版 (Adding Esperanto…)
If the page where you put this template in (or the page supplied as first argument) is not English, this template returns nothing (it's important to return nothing).
If it's English, it just returns something (it's not important what it returns).
At this moment this is implemented for the following languages:
AR, BG, BR, CA, CZ, DE, DK, EL, ES, FA, FI, FR, ID, IT, JA, KO, MK, MN, NL, PL, PT, RO, RU, SR, SV, TH, TR, UK, ZH
Examples
Page you put this in | You type | You get |
---|---|---|
Doc:Manual | {{Languages/PageIsEnglish}} | this_page_is_english |
Doc:2.4/Manual | {{Languages/PageIsEnglish}} | this_page_is_english |
Doc:BR/Manual | {{Languages/PageIsEnglish}} | this_page_is_english |
Doc:BR/2.4/Manual | {{Languages/PageIsEnglish}} | this_page_is_english |
whichever | {{Languages/PageIsEnglish|Doc:Manual}} | this_page_is_english |
whichever | {{Languages/PageIsEnglish|Doc:2.4/Manual}} | this_page_is_english |
whichever | {{Languages/PageIsEnglish|Doc:BR/Manual}} | this_page_is_english |
whichever | {{Languages/PageIsEnglish|Doc:BR/2.4/Manual}} | this_page_is_english |
See also: List of ISO 639-1 codes
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.