このページは編集が保護されています。

Template:Lang

出典:ウィキメディア・コモンズ (Wikimedia Commons)
ナビゲーションに移動 検索に移動
{{{2}}}
Protected このテンプレートは 荒らしを防止するために編集保護されています。
トークページで変更を議論するか、保護解除を依頼してください。
テンプレートの解説閲覧 · 編集 · 履歴 · キャッシュ破棄 ]
This documentation is transcluded from Template:Lang/doc.

(説明文のこの部分は一部の言語のみで利用できます。)

This template is for example called from autotranslatable templates and is used to apply the "lang" and "xml:lang" attributes to the span tag containing the text. It also adds CSS classes, that for example allow CSS highlighting text that is in a specific language. For a list of language codes to use for parameter 1 see en:List of ISO 639-1 codes.

使用法

{{Lang |1= |2= }}

(説明文のこの部分は一部の言語のみで利用できます。)

For a variant to use in running text ("inline"), use {{LangS}}.

テンプレートパラメーター

パラメーター説明既定状態
1language codeempty必須
2textempty省略可能

追加情報

このテンプレートは、次の名前空間で使用されることを想定しています: すべての名前空間

このテンプレートは、次の利用者グループによって使用されることを想定しています: すべての利用者

参照

(説明文のこの部分は一部の言語のみで利用できます。)

  • {{multilingual link}}

ローカライズ

このテンプレートは、ローカル対応されることを想定していません。

for example called from autotranslatable templates and is used to apply the "lang" and "xml:lang" attributes to the span tag containing the text. It also adds CSS classes, that for example allow CSS highlighting text that is in a specific language

テンプレートパラメーター[テンプレートデータを編集]

このテンプレートは、パラメーターを1行で記述することが推奨されています。

パラメーター説明状態
language code1

説明なし

不明必須
text2

説明なし

不明省略可能