「テンプレート:Languages/PageIsEnglish」の版間の差分

提供: wiki
移動先: 案内検索
(Adding Esperanto…)
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 03:44時点における最新版

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.