Bản_mẫu:IPA

{{{1}}}This template ensures proper display of a transcription in the International Phonetic Alphabet (IPA). It can also automatically provide a label indicating the language being transcribed and link to an explanatory guide. Its behavior changes drastically depending on whether more than one unnamed parameter is given. For broad transcriptions of English, use {{IPAc-en}} instead.The behavior of this template changes drastically depending on whether more than one unnamed parameter is given./ˌlɔːrəm ˈɪpsəm/laThe basic usage of this template is just to pass an IPA transcription as the first argument, as in:/ˌlɔːrəm ˈɪpsəm/Which might not look different from just the transcription without the template (/ˌlɔːrəm ˈɪpsəm/), but it actually outputs:That is, it addsAll IPA text should be placed in the template, even if it consists entirely of ASCII characters, as in {{IPA|/mi/}}. This allows users to format all examples of IPA text consistently, and software like screen readers to interpret them accurately. If a substantial portion of a page uses IPA, post notice of that fact with {{IPA notice}}.If the template is inside a wikilink, the link may not display correctly in certain namespaces (including the mainspace):[[Lorem ipsum|/ˌlɔːrəm ˈɪpsəm/]]This is because the template by default inserts a category. To prevent it, add |cat=no, as in:/ˌlɔːrəm ˈɪpsəm/If more than one unnamed parameter is given, the first one is recognized as a language code and the second as the transcription. The transcription is automatically linked to one of the language-specific keys if a corrseponding one exists, or to Help:IPA if not, and preceded by a label with the name of the language, as in {{lang-xx}}. Unlike in the basic mode, brackets are automatically added so need not be included in the input.lapt-BRkiundNotice the transcriptions are linked to language-specific keys in the first two examples, and to the generic guide in the rest. The language name and article link are automatically taken from Module:Language by passing the language tag, unless overridden in Module:IPA/data.The behavior in this mode mimics {{IPA-xx}} templates that were created for a number of languages. {{IPA}} consolidates those templates for better maintenance and consistency, and is now the recommended template.These are defined in Module:IPA/data.Lỗi kịch bản: Không tìm thấy mô đun “IPA/overview”.These parameters can be used in either mode.These are added only in Module:Category handler's default namespaces. If |debug=yes is given, the categories that would be added are shown as links, no matter the namespace. This is for testcases only.This template ensures proper display of transcriptions using the International Phonetic Alphabet (IPA). Its behavior changes drastically depending on whether more than one unnamed parameter is given. For dialect-neutral transcriptions of English, use IPAc-en instead.Tham số bản mẫuNên dùng bản mẫu này với các tham số đặt trên cùng một hàng.Transcription including brackets ([...] for a phonetic transcription and /.../ for a phonemic one) if this template is being used just for formatting. IETF language tag if used for linking the transcription to a language-specific key or introductory guide.Without brackets.Replaces the default label "[language name] pronunciation:" with another canned one. Leave it blank to have no label.Name of an audio file to accompany the transcription.Text that precedes the transcription. Unlike "Label code", this displays any wikitext as entered."yes" links the language name in the label to the article about the language."no" cancels the reduction of the label size."yes" links the transcription to [[Help:IPA]] instead of a language-specific key. Required if the transcription does not adhere to the conventions of the language-specific key."none" prevents wrapping anywhere in the transcription. "all" cancels the prevention of wrapping after non-space characters in the transcription.Additional HTML class(es) for the transcription.IETF language tag when the first parameter is a transcription.Tooltip to replace the default one with. Leave it blank to have no tooltip."no" cancels the categorization of the page into "Pages with [language name] IPA".Some language-specific templates allow you to enter ordinary letters (or conventional ASCII equivalents) in place of IPA characters, and convert them to the phonetic symbols used to transcribe the language.Some other conversion templates have also been created, but they haven't been vetted by the community and may not produce output complying with the respective keys.

Liên quan