Шаблон:Ipa

Матеріал з Terraria Wiki
Перейти до навігації Перейти до пошуку
Цей шаблон i18n-ready, що означає, що його легко локалізувати для різних мов. Будь ласка, ознайомтеся з i18n та l10n для шаблонів, щоб дізнатися більше.
Див. «Шаблон:Ipa/l10n» для локалізації цього шаблону.
Template-info.svg Документація Наведена нижче документація запозичена з «Шаблон:Ipa/doc». (редагувати | історія)
Для більш повної чи актуальної інформації ви можете переглянути документацію англійською.

This template is used to display characters of the International Phonetic Alphabet (IPA).

Usage

{{ ipa | <IPA characters> | <language> | before = <custom string in the front> | listen = <link to sound file> }}

First unnamed parameter

The IPA string. It can be entered from the "Special characters" section in the editor toolbar or via other utilities like IPA i-charts, IPA character picker 19, TypeIt, or IPA Chart keyboard.

Second unnamed parameter

The language of the string; defaults to English. Enter the ISO 639-1 code of the language, e.g. ja for Japanese. This will modify the default text in the front and adjust the link to the IPA table on Wikipedia.

before

By default, the IPA characters are preceded with a mention of the language of the string. Use this parameter to customize that.

listen

Provide a link to a sound file with a pronunciation of the string.

Examples

Code Result
{{ipa|kəˈθuːluː}} Ukrainian: /kəˈθuːluː/
{{ipa|kəˈθuːluː|before=}} /kəˈθuːluː/
{{ipa|k(ʃ)t̪u.lu|fr}} French: [k(ʃ)t̪u.lu]
[[Pho]]:
{{ipa|fʌ, foʊ|before={{wikipedia|American English|US}}}}, 
{{ipa|fɜː|before={{wikipedia|British English|UK}}}}, 
{{ipa|fɑː|before=Canada}}; 
{{ipa|fəː˧˩˧|vi|listen=https://upload.wikimedia.org/wikipedia/commons/b/be/Ph%E1%BB%9F.oga}}

Pho:
US: /fʌ, foʊ/,
UK: /fɜː/,
Canada: /fɑː/;
Vietnamese: [fəː˧˩˧] (listen)