Template:Ja
.mw-parser-output .documentation,.mw-parser-output .documentation-metadata{border:1px solid var(--border-color-base,#a2a9b1);background-color:#ecfcf4;color:inhe…
| このテンプレートは2,000以上のページで使われています。 余計な混乱やサーバーへの負荷を避けるために、どんな変更でも最初はテンプレートのサンドボックス・サブページ、テストケース・サブページもしくはあなた自身の利用者スペースのページで試すべきです。そうすれば、試した変更を1度の編集でこのテンプレートに加えることができます。しかし、最初にあなたの提案した変更を、この項目のノートで議論するようにお願いします。 |
これは言語を指定するテンプレートです。{{lang}}テンプレートを介して、IETF言語タグにおけるlang属性をjaに指定します。このことにより、コンピュータは特定の言語(日本語)であると解釈します。
技術的な指定であり、指定する理由の一つとして、言語を指定しないと表示されない特殊文字がありますが、2006年以降のOSの状況では既に多くの場合に指定する必要がありません。本テンプレートを使用してフォントの表示が変わるようであれば、あなたの環境ではブラウザがその言語を表示するためにフォントを指定しているためなので、その表示は全ての閲覧環境に反映されるものではありません。スタイルの指定など他の方法を用いてください。
(この文は共通テンプレート Template:Lang-tec/docから呼び出されています)
使用法
{{Ja|文字列}}
文字列の部分に言語を指定したい文字列を入れます。
注意
2014年4月9日にマイクロソフトによるWindows XPのサポートが切れており、Windows Vistaなどそれ以降のOSでは、標準的に多くのフォントが用意されています。Help:特殊文字やHelp:MediaWikiに適応するブラウザを参照してください。
関連項目
- Category:言語タグテンプレートに各言語用の一覧があります。
- {{lang-ja}} 言語名と共に表示する。
- {{Ja icon}} 外部リンクの言語を示す言語アイコン。
日本語以外の言語の文字列を適切なフォントや書字方式で表示します
| パラメーター | 説明 | 型 | 状態 | |
|---|---|---|---|---|
| 表示文字 | 1 | 表示させたい文字を入力します
| 文字列 | 必須 |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.