コンテンツにスキップ

テンプレート:音声

出典: フリー多機能辞典『ウィクショナリー日本語版(Wiktionary)』
(ファイル)
[編集] [キャッシュ破棄] テンプレートの解説
この解説は、 テンプレート:音声/doc 編集 | 履歴から呼び出されています。
このテンプレートには、サンドボックステストケースもありません。(解説

用法

[編集]

This template links to an audio file for quick listening, either in the "Pronunciation" section of an entry to indicate how a term is pronounced, or elsewhere to provide an audio recording that is relevant to the entry.

引数

[編集]

このテンプレートでは以下の引数を使用している:

  • |1=必須: 言語コードを用いて言語を示す。
  • |2=必須: 音声ファイル名
  • |3=省略可能: 音声ファイルの前に表示するテキスト。
  • |a=省略可能: 音声ファイルの前に表示するテキスト。引数3と違い、「テンプレート:accent/data」のデータを使用する。
  • |a2=省略可能: aに続いて表示するテキスト。
  • |a3=省略可能: a2に続いて表示するテキスト。
  • |format= – if using the template to provide a relevant audio recording, use |format=1.

[編集]
以下のようにして語の発音を示す。
ファイル名は [language code]-[dialect if any]-[term] のようにする必要がある。
To link to a relevant audio recording
Visit klaxon to see how the template is used.

参照

[編集]
  • {{audio-IPA}} – a version of the template to be used with IPA transcriptions

テンプレートデータ

[編集]

テンプレート:TemplateDataHeader

An audio file to assist readers pronouncing the word. Labeled with language and possibly dialect.

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

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

パラメーター説明状態
言語1

言語コードを入力

en
必須
音声ファイル2 file clip

再生する音声ファイルを貼る

en-US pronunciation of "antishinto".ogg
ファイル必須
表示するテキスト3 text context

「音声(容認発音)」のようなテキストを表示する。

音声(RP)
省略可能
表示するテキストa text context

「音声(容認発音)」のようなテキストを表示する。テンプレート:accent/dataと連携している

RP
省略可能