Difference between revisions of "Template:IPA symbol"

From blackwiki
Jump to navigation Jump to search
(even better)
imported>Nardog
(done)
 
(278 intermediate revisions by 33 users not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
+
<includeonly>{{#invoke:IPA symbol|main|symbol={{{1|}}}|errortext={{{2|}}}|output={{{output|}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
| 114
 
| m = bilabial nasal
 
| 115
 
| ɱ = labiodental nasal
 
| n̪  = dental nasal
 
| 116
 
| n = alveolar nasal
 
| 117
 
| ɳ = retroflex nasal
 
| 118
 
| ɲ = palatal nasal
 
| 119
 
| ŋ = velar nasal
 
| 120
 
| ɴ = uvular nasal
 
| 101
 
| p = voiceless bilabial plosive
 
| 102
 
| b = voiced bilabial plosive
 
| p̪  = voiceless labiodental plosive
 
| b̪  = voiced labiodental plosive
 
| t̪  = voiceless dental plosive
 
| d̪  = voiced dental plosive
 
| 103
 
| t = voiceless alveolar plosive
 
| 104
 
| d = voiced alveolar plosive
 
| 105
 
| ʈ = voiceless retroflex plosive
 
| 106
 
| ɖ = voiced retroflex plosive
 
| 107
 
| c = voiceless palatal plosive
 
| 108
 
| ɟ = voiced palatal plosive
 
| 109
 
| k = voiceless velar plosive
 
| 110
 
| ɡ = voiced velar plosive
 
| 111
 
| q = voiceless uvular plosive
 
| 112
 
| ɢ = voiced uvular plosive
 
| 173
 
| ʡ = epiglottal plosive
 
| 113
 
| ʔ = glottal stop
 
| 126
 
| ɸ = voiceless bilabial fricative
 
| 127
 
| β = voiced bilabial fricative
 
| 128
 
| f = voiceless labiodental fricative
 
| 129
 
| v = voiced labiodental fricative
 
| 130
 
| θ = voiceless dental fricative
 
| 131
 
| ð = voiced dental fricative
 
| 132
 
| s = voiceless alveolar fricative
 
| 133
 
| z = voiced alveolar fricative
 
| 134
 
| ʃ = voiceless postalveolar fricative
 
| 135
 
| ʒ = voiced postalveolar fricative
 
| 136
 
| ʂ = voiceless retroflex fricative
 
| 137
 
| ʐ = voiced retroflex fricative
 
| 138
 
| ç = voiceless palatal fricative
 
| 139
 
| ʝ = voiced palatal fricative
 
| 140
 
| x = voiceless velar fricative
 
| 141
 
| ɣ = voiced velar fricative
 
| 142
 
| χ = voiceless uvular fricative
 
| 143
 
| ʁ = voiced uvular fricative
 
| 144
 
| ħ = voiceless pharyngeal fricative
 
| 145
 
| ʕ = voiced pharyngeal fricative
 
| 172
 
| ʜ = voiceless epiglottal fricative
 
| 174
 
| ʢ = voiced epiglottal fricative
 
| 146
 
| h = voiceless glottal fricative
 
| 147
 
| ɦ = voiced glottal fricative
 
| β̞  = bilabial approximant
 
| 150
 
| ʋ = labiodental approximant
 
| 151
 
| ɹ = alveolar approximant
 
| 152
 
| ɻ = retroflex approximant
 
| 153
 
| j = palatal approximant
 
| 154
 
| ɰ = velar approximant
 
| 121
 
| ʙ = bilabial trill
 
| 122
 
| r = alveolar trill
 
| 123
 
| ʀ = uvular trill
 
| я = epiglottal trill
 
| ⱱ̟ = bilabial flap
 
| 184
 
| ⱱ = labiodental flap
 
| 124
 
| ɾ = alveolar tap
 
| 125
 
| ɽ = retroflex flap
 
| 148
 
| ɬ = voiceless alveolar lateral fricative
 
| 149
 
| ɮ = voiced alveolar lateral fricative
 
|  = voiceless retroflex lateral fricative
 
|  = voiceless palatal lateral fricative
 
|  = voiceless velar lateral fricative
 
| 155
 
| l = alveolar lateral approximant
 
| 156
 
| ɭ = retroflex lateral approximant
 
| 157
 
| ʎ = palatal lateral approximant
 
| 158
 
| ʟ = velar lateral approximant
 
| 176
 
| ʘ = bilabial clicks
 
| 177
 
| ǀ = dental clicks
 
| 178
 
| ǃ = alveolar clicks
 
| 179
 
| ǂ = palatal clicks
 
| 180
 
| ǁ = lateral clicks
 
| 160
 
| ɓ = voiced bilabial implosive
 
| 162
 
| ɗ = voiced alveolar implosive
 
| ᶑ = voiced retroflex implosive
 
| 164
 
| ʄ = voiced palatal implosive
 
| 166
 
| ɠ = voiced velar implosive
 
| 168
 
| ʛ = voiced uvular implosive
 
| 101 + 401
 
| pʼ = bilabial ejective
 
| 165
 
| 103 + 401
 
| tʼ = alveolar ejective
 
| 109 + 401
 
| kʼ = velar ejective
 
| 111 + 401
 
| qʼ = uvular ejective
 
| 132 + 401
 
| sʼ = alveolar ejective fricative
 
| t͡ɬʼ
 
| tɬʼ = alveolar lateral ejective affricate
 
| tʃʼ
 
| t͡ʃʼ = postalveolar ejective affricate
 
| pf
 
| p̪f
 
| p͡f
 
| p̪͡f = voiceless labiodental affricate
 
| 103 (132)
 
| 103 132
 
| ʦ
 
| ts
 
| t͡s = voiceless alveolar affricate
 
| ʣ
 
| dz
 
| d͡z = voiced alveolar affricate
 
| 103 (134)
 
| 103 134
 
| ʧ
 
| tʃ
 
| t͡ʃ = voiceless postalveolar affricate
 
| 104 (135)
 
| 104 135
 
| ʤ
 
| dʒ
 
| d͡ʒ = voiced postalveolar affricate
 
| 215
 
| ʨ
 
| tɕ
 
| t͡ɕ = voiceless alveolo-palatal affricate
 
| 216
 
| ʥ
 
| dʑ
 
| d͡ʑ = voiced alveolo-palatal affricate
 
| 105 (136)
 
| 105 136
 
| ʈʂ
 
| t͡ʂ
 
| tʂ
 
| ʈ͡ʂ = voiceless retroflex affricate
 
| 106 (137)
 
| 106 137
 
| ɖʐ
 
| dʐ
 
| d͡ʐ
 
| ɖ͡ʐ = voiced retroflex affricate
 
| 108 (139)
 
| 108 139
 
| ɟ͡ʝ
 
| ɟʝ = voiced palatal affricate
 
| 107 (138)
 
| 107 138
 
| c͡ç
 
| cç = voiceless palatal affricate
 
| 103 (148)
 
| 103 148
 
| ƛ
 
| tɬ
 
| t͜ɬ
 
| t͡ɬ = voiceless alveolar lateral affricate
 
| 104 (149)
 
| 104 149
 
| dɮ
 
| d͡ɮ = voiced alveolar lateral affricate
 
| c͡ʎ̥
 
| cʎ̥
 
| c͡ʎ
 
| cʎ
 
| c
 
| c͡ʎ̥˔
 
| cʎ̥˔
 
| c͡ = voiceless palatal lateral affricate
 
| 181
 
| ɺ = alveolar lateral flap
 
|  = retroflex lateral flap
 
| 209
 
| ɫ = velarized alveolar lateral approximant
 
| 182
 
| ɕ = voiceless alveolo-palatal fricative
 
| 183
 
| ʑ = voiced alveolo-palatal fricative
 
| 175
 
| ɧ = voiceless palatal-velar fricative
 
| 169
 
| hw
 
| ʍ = voiceless labio-velar approximant
 
| 170
 
| w = voiced labio-velar approximant
 
| 171
 
| ɥ = labial-palatal approximant
 
| 109 (101)
 
| 109 101
 
| kp
 
| k͡p = voiceless labial-velar plosive
 
| 110 (102)
 
| 110 102
 
| ɡb
 
| ɡ͡b = voiced labial-velar plosive
 
| 119 (114)
 
| 119 114
 
| ŋm
 
| ŋ͡m = labial-velar nasal
 
| 301
 
| i
 
| iː = close front unrounded vowel
 
| 309
 
| y
 
| yː = close front rounded vowel
 
| 317
 
| ɨ
 
| ɨː = close central unrounded vowel
 
| 318
 
| ʉ
 
| ʉː = close central rounded vowel
 
| 316
 
| ɯ = close back unrounded vowel
 
| 308
 
| u
 
| uː = close back rounded vowel
 
| 319
 
| ɪ = near-close near-front unrounded vowel
 
| 320
 
| ʏ = near-close near-front rounded vowel
 
| 321
 
| ʊ = near-close near-back rounded vowel
 
| 302
 
| e
 
| eː = close-mid front unrounded vowel
 
| 310
 
| ø
 
| øː = close-mid front rounded vowel
 
| 397
 
| ɘ = close-mid central unrounded vowel
 
| 323
 
| ɵ = close-mid central rounded vowel
 
| 315
 
| ɤ = close-mid back unrounded vowel
 
| 307
 
| o
 
| oː = close-mid back rounded vowel
 
| 322
 
| ə = mid central vowel
 
| 303
 
| ɛ
 
| ɛː = open-mid front unrounded vowel
 
| 311
 
| œ
 
| œː = open-mid front rounded vowel
 
| 326
 
| ɜ = open-mid central unrounded vowel
 
| 395
 
| ɞ = open-mid central rounded vowel
 
| 314
 
| ʌ
 
| ʌː = open-mid back unrounded vowel
 
| 306
 
| ɔ
 
| ɔː = open-mid back rounded vowel
 
| 325
 
| æ
 
| æː = near-open front unrounded vowel
 
| 324
 
| ɐ = near-open central vowel
 
| 304
 
| a
 
| aː = open front unrounded vowel
 
| 312
 
| ɶ = open front rounded vowel
 
| 305
 
| ɑ
 
| ɑː = open back unrounded vowel
 
| 313
 
| ɒ = open back rounded vowel
 
| 401
 
| ʼ = ejective consonant
 
| 424
 
| ̃
 
| ɑ̃
 
| ɛ̃
 
| œ̃
 
| ɔ̃
 
| ã
 
| ẽ
 
| ĩ
 
| õ
 
| ũ
 
| ɐ̃
 
| ỹ = nasal vowel
 
| 419
 
| ɚ
 
| ɝ
 
| ɝː = R-colored vowel
 
| 404
 
| ʰ = aspiration (phonetics)
 
| 405
 
| ʱ = breathy voice
 
| 420
 
| ʷ = labialisation
 
| 421
 
| ʲ = palatalization
 
| 422
 
| ˠ = velarization
 
| 423
 
| ˀ = pharyngealization
 
| 501
 
| ˈ = stress (linguistics)
 
| 502
 
| ˌ = secondary stress
 
| 503
 
| 504
 
| ˑ
 
| ː = length (phonetics)
 
| 505
 
|  ̆
 
| ə̆ = extra-short
 
| ˩
 
| ˨
 
| ˧
 
| ˦
 
| ˥ = tone letter
 
| 517
 
| ꜜ = downstep (phonetics)
 
| 518
 
| ꜛ = upstep (phonetics)
 
| #default = {{{2|<span class="error">Template:IPAsym - Error: Entry not found</span>}}}
 
}}<noinclude>
 
 
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 

Latest revision as of 23:54, 30 January 2019

Template documentation[view] [edit] [history] [purge]

This template provides a simple conversion table from an IPA symbol to a Wikipedia article name. Its direct use is probably not too meaningful, but it can be useful inside other templates, e.g. {{IPA link}}. It is a meta-template.

The resulting article name should exist. The input symbol may be multiple characters.

Usage

This template has one parameter that is mandatory. The parameter must be an IPA symbol or a sequence of IPA symbols. A formatting template like {{IPA}} is not necessary.

  • {{IPA symbol|m}} → Voiced bilabial nasal
  • {{IPA symbol|ɡ͡b}} → Voiced labial–velar plosive

Use output= to specify the type of the output: "name", "symbol", "article", or "audio".

  • {{IPA symbol|t̪|output=name}} → Voiceless dental plosive
  • {{IPA symbol|t̪|output=article}} → Voiceless dental plosive
  • {{IPA symbol|t̪|output=audio}} → Voiceless dental stop.ogg
  • {{IPA symbol|w̥|output=symbol}} → ʍ (returns the primarily defined symbol)

Certain symbols such as the tie bars, length marks, and dotted circle in the input are ignored so long as the rest of the input matches a definition, so that the below do not result in errors even though these individual combinations are not defined in the data.

  • {{IPA symbol|aː}} → Open front unrounded vowel
  • {{IPA symbol|◌ʰ}} → Aspirated consonant

If no direct match is found, the template will then look for the earliest instance of a diacritic in the input string.

  • {{IPA symbol|pʰ}} → Aspirated consonant
  • {{IPA symbol|pʰæ̃}} → Aspirated consonant
  • {{IPA symbol|pæ̃}} → Nasal vowel

A two-character diacritic takes precedence over a one-character one should they be found at the same position.

  • {{IPA symbol|ʰa}} → Aspirated consonant
  • {{IPA symbol|ʰpa}} → Preaspiration

Some symbols in the input are automatically replaced by the more suitable counterparts.

Data

The data is stored at Module:IPA symbol/data. It is divided into two groups: "sounds" and "diacritics". If no "article" is specified, the value for "name" will substitute it. A diacritic must be one or two Unicode characters. The data also stores substitution patterns for the input string.

Errors

If the input matches no definition in the data, an error message is returned and the page will be categorized into Category:International Phonetic Alphabet pages needing attention.

  • {{IPA symbol|xyz}}Error using {{IPA symbol}}: "xyz" not found in list

Optionally, an error text can be altered from the default message to any text by using the second parameter (if set to blank, the message will not appear at all). This cancels the addition of the error category.

  • {{IPA symbol|xyz|unknown}} → unknown
  • {{IPA symbol|xyz|blank}}

See also

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
Input symbol1

no description

Example
'm'
Stringrequired
Error text2

no description

Example
blank
Stringoptional
Output typeoutput

no description

Example
audio
Stringoptional