Difference between revisions of "Template:IPAc-hu/doc"

From blackwiki
Jump to navigation Jump to search
imported>OwenBlacker
(Bypassed redirect to Help:IPA for Hungarian)
Line 8: Line 8:
  
 
Normal usage:
 
Normal usage:
*<tt><nowiki>{{IPAc-hu|'|l|á|sz|l|ó|-|'|t|ő|k|é|s}}</nowiki></tt> produces {{IPAc-hu|'|l|á|sz|l|ó|-|'|t|ő|k|é|s}}
+
*<code><nowiki>{{IPAc-hu|'|l|á|sz|l|ó|-|'|t|ő|k|é|s}}</nowiki></code> produces {{IPAc-hu|'|l|á|sz|l|ó|-|'|t|ő|k|é|s}}
  
 
Geminated consonants shall be written together and assimilations shall be written as pronounced:
 
Geminated consonants shall be written together and assimilations shall be written as pronounced:
*<tt><nowiki>{{IPAc-hu|'|b|á|tty|a}}</nowiki></tt> produces {{IPAc-hu|'|b|á|tty|a}}
+
*<code><nowiki>{{IPAc-hu|'|b|á|tty|a}}</nowiki></code> produces {{IPAc-hu|'|b|á|tty|a}}
*<tt><nowiki>{{IPAc-hu|'|f|u|d|b|a|ll}}</nowiki></tt> produces {{IPAc-hu|'|f|u|d|b|a|ll}}
+
*<code><nowiki>{{IPAc-hu|'|f|u|d|b|a|ll}}</nowiki></code> produces {{IPAc-hu|'|f|u|d|b|a|ll}}
  
 
Some nasal place assimilations should be written together '''(nf, mf, nv, mv, nk, ng, nty, ngy)'''
 
Some nasal place assimilations should be written together '''(nf, mf, nv, mv, nk, ng, nty, ngy)'''
*<tt><nowiki>{{IPAc-hu|'|k|ü|l|ö|nf|é|l|e}}</nowiki></tt> produces {{IPAc-hu|'|k|ü|l|ö|nf|é|l|e}}
+
*<code><nowiki>{{IPAc-hu|'|k|ü|l|ö|nf|é|l|e}}</nowiki></code> produces {{IPAc-hu|'|k|ü|l|ö|nf|é|l|e}}
*<tt><nowiki>{{IPAc-hu|'|p|i|nty}}</nowiki></tt> produces {{IPAc-hu|'|p|i|nty}}
+
*<code><nowiki>{{IPAc-hu|'|p|i|nty}}</nowiki></code> produces {{IPAc-hu|'|p|i|nty}}
  
 
With an audio file:
 
With an audio file:
*<tt><nowiki>{{IPAc-hu|AUD|Hu-Budapest.ogg|'|b|u|d|a|p|e|s|t}}</nowiki></tt> produces {{IPAc-hu|AUD|Hu-Budapest.ogg|'|b|u|d|a|p|e|s|t}}
+
*<code><nowiki>{{IPAc-hu|AUD|Hu-Budapest.ogg|'|b|u|d|a|p|e|s|t}}</nowiki></code> produces {{IPAc-hu|AUD|Hu-Budapest.ogg|'|b|u|d|a|p|e|s|t}}
  
 
To change the delimiters (for example, if several instances of the template need to be strung together because of the limit on the number of parameters):
 
To change the delimiters (for example, if several instances of the template need to be strung together because of the limit on the number of parameters):
*<tt><nowiki>{{IPAc-hu|[-|'|b|u|d|a|p|e|s|t}}</nowiki></tt> produces {{IPAc-hu|[-|'|b|u|d|a|p|e|s|t}}
+
*<code><nowiki>{{IPAc-hu|[-|'|b|u|d|a|p|e|s|t}}</nowiki></code> produces {{IPAc-hu|[-|'|b|u|d|a|p|e|s|t}}
  
 
The full range of special values for the first parameter (changing the delimiters and/or specifying that the next parameter is an audio file) is as follows:
 
The full range of special values for the first parameter (changing the delimiters and/or specifying that the next parameter is an audio file) is as follows:
*<tt>-- [- -] // /- -/ AUD -]AUD //AUD -/AUD</tt>
+
*<code>-- [- -] // /- -/ AUD -]AUD //AUD -/AUD</code>
  
 
Hungarian letters and di/trigraphs will be converted into the corresponding IPA symbols. The following parameters have special meanings:
 
Hungarian letters and di/trigraphs will be converted into the corresponding IPA symbols. The following parameters have special meanings:
*<tt>-</tt> (hyphen) for a space between words
+
*<code>-</code> (hyphen) for a space between words
*<tt>'</tt> (apostrophe) for a primary stress mark (placed before the stressed syllable)
+
*<code>'</code> (apostrophe) for a primary stress mark (placed before the stressed syllable)
*<tt>,</tt> (comma) for a secondary stress mark
+
*<code>,</code> (comma) for a secondary stress mark
  
 
Other values used as parameters will be displayed unconverted. (The conversion system is coded in [[Template:c-hu]].)
 
Other values used as parameters will be displayed unconverted. (The conversion system is coded in [[Template:c-hu]].)

Revision as of 13:49, 30 May 2016

This template is used to produce a phonetic or phonemic representation (using the IPA system) of Hungarian words or sounds, using natural spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to Help:IPA for Hungarian. Optionally, an audio file can also be specified.

Usage

The number of parameters is always limited to 33.

Normal usage:

Geminated consonants shall be written together and assimilations shall be written as pronounced:

Some nasal place assimilations should be written together (nf, mf, nv, mv, nk, ng, nty, ngy)

With an audio file:

To change the delimiters (for example, if several instances of the template need to be strung together because of the limit on the number of parameters):

The full range of special values for the first parameter (changing the delimiters and/or specifying that the next parameter is an audio file) is as follows:

  • -- [- -] // /- -/ AUD -]AUD //AUD -/AUD

Hungarian letters and di/trigraphs will be converted into the corresponding IPA symbols. The following parameters have special meanings:

  • - (hyphen) for a space between words
  • ' (apostrophe) for a primary stress mark (placed before the stressed syllable)
  • , (comma) for a secondary stress mark

Other values used as parameters will be displayed unconverted. (The conversion system is coded in Template:c-hu.)

See also