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

From blackwiki
Jump to navigation Jump to search
imported>Χ
(Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is used to produce a phonemic representation (u...')
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(10 intermediate revisions by 9 users not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
This template is used to produce a phonemic representation (using the [[IPA]] system) of Arabic words or sounds, using natural spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to [[Wikipedia:IPA for Arabic]]. Optionally, an audio file can also be specified.  
+
This template is used to produce a phonemic representation (using the [[International Phonetic Alphabet|IPA]] system) of Arabic 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 Arabic]]. Optionally, an audio file can also be specified.
  
 
===Usage===
 
===Usage===
Line 8: Line 8:
  
 
Normal usage:
 
Normal usage:
*<tt><nowiki>{{IPAc-ar|sh|u|k|r|a|n}}</nowiki></tt> produces {{IPAc-ar|sh|u|k|r|a|n}}
+
*<code><nowiki>{{IPAc-ar|sh|u|k|r|a|n}}</nowiki></code> produces {{IPAc-ar|sh|u|k|r|a|n}}
*<tt><nowiki>{{IPAc-ar|S|a|d|ii|q|ii}}</nowiki></tt> produces {{IPAc-ar|S|a|d|ii|q|ii}}
+
*<code><nowiki>{{IPAc-ar|S|a|d|ii|q|ii}}</nowiki></code> produces {{IPAc-ar|S|a|d|ii|q|ii}}
  
 
<!-- TO BE REPLACED
 
<!-- TO BE REPLACED
 
With an audio file:
 
With an audio file:
*<tt><nowiki>{{IPAc-fr|AUD|FR-Québec.ogg|qu|e|b|E|c}}</nowiki></tt> produces {{IPAc-fr|AUD|FR-Québec.ogg|qu|e|b|E|c}}
+
*<code><nowiki>{{IPAc-fr|AUD|FR-Québec.ogg|qu|e|b|E|c}}</nowiki></code> produces {{IPAc-fr|AUD|FR-Québec.ogg|qu|e|b|E|c}}
 
-->
 
-->
 
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-ar|[-|2|a|l|l|u|gh|a|t_}}</nowiki></tt> produces {{IPAc-ar|[-|2|a|l|l|u|gh|a|t_}}
+
*<code><nowiki>{{IPAc-ar|[-|2|a|l|l|u|gh|a|t_}}</nowiki></code> produces {{IPAc-ar|[-|2|a|l|l|u|gh|a|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>
  
 
{{Collapse top|List of characters accepted for template input}}
 
{{Collapse top|List of characters accepted for template input}}
{{col-begin}}
+
{| class="wikitable" multicol" role="presentation" style=" border-collapse: collapse; padding: 0; border: 0; margin:0; background: transparent; width: 100%
{{col-4}}
+
| style="width:25%; text-align: left}}};vertical-align: top;" |
*<tt>2</tt> = ʔ
+
*<code>2</code> &rarr; {{IPAc-ar|2}}
*<tt>b</tt> = b
+
*<code>b</code> &rarr; {{IPAc-ar|b}}
*<tt>t</tt> = t
+
*<code>t</code> &rarr; {{IPAc-ar|t}}
*<tt>th</tt> = θ
+
*<code>th</code> &rarr; {{IPAc-ar|th}}
*<tt>j</tt> = d͡ʒ
+
*<code>j</code> &rarr; {{IPAc-ar|j}}
*<tt>H</tt> = ħ
+
*<code>H</code> &rarr; {{IPAc-ar|H}}
*<tt>kh</tt> = x
+
*<code>kh</code> &rarr; {{IPAc-ar|kh}}
*<tt>d</tt> = d
+
*<code>d</code> &rarr; {{IPAc-ar|d}}
*<tt>dh</tt> = ð
+
*<code>dh</code> &rarr; {{IPAc-ar|dh}}
*<tt>r</tt> = r
+
*<code>r</code> &rarr; {{IPAc-ar|r}}<!--
{{col-4}}
+
{{col-4}}-->
*<tt>z</tt> = z
+
| style="width:25%; text-align: left}}};vertical-align: top;" |
*<tt>s</tt> = s
+
*<code>z</code> &rarr; {{IPAc-ar|z}}
*<tt>sh</tt> = ʃ
+
*<code>s</code> &rarr; {{IPAc-ar|s}}
*<tt>S</tt> = sˤ
+
*<code>sh</code> &rarr; {{IPAc-ar|sh}}
*<tt>D</tt> = dˤ
+
*<code>S</code> &rarr; {{IPAc-ar|S}}
*<tt>T</tt> = tˤ
+
*<code>D</code> &rarr; {{IPAc-ar|D}}
*<tt>Z</tt> = ðˤ
+
*<code>T</code> &rarr; {{IPAc-ar|T}}
*<tt>3</tt> = ʕ
+
*<code>Z</code> &rarr; {{IPAc-ar|Z}}
*<tt>gh</tt> = ɣ
+
*<code>3</code> &rarr; {{IPAc-ar|3}}
*<tt>f</tt> = f
+
*<code>gh</code> &rarr; {{IPAc-ar|gh}}
{{col-4}}
+
*<code>f</code> &rarr; {{IPAc-ar|f}}
*<tt>q</tt> = q
+
| style="width:25%; text-align: left}}};vertical-align: top;" |
*<tt>k</tt> = k
+
*<code>q</code> &rarr; {{IPAc-ar|q}}
*<tt>l</tt> = l
+
*<code>k</code> &rarr; {{IPAc-ar|k}}
*<tt>m</tt> = m
+
*<code>l</code> &rarr; {{IPAc-ar|l}}
*<tt>n</tt> = n
+
*<code>m</code> &rarr; {{IPAc-ar|m}}
*<tt>h</tt> = h
+
*<code>n</code> &rarr; {{IPAc-ar|n}}
*<tt>w</tt> = w
+
*<code>h</code> &rarr; {{IPAc-ar|h}}
*<tt>y</tt> = j
+
*<code>w</code> &rarr; {{IPAc-ar|w}}
*<tt>t_</tt> = t‿
+
*<code>y</code> &rarr; {{IPAc-ar|y}}
{{col-4}}
+
*<code>t_</code> &rarr; {{IPAc-ar|t_}}
*<tt>a</tt> = a
+
| style="width:25%; text-align: left}}};vertical-align: top;" |
*<tt>aa</tt> = aː
+
*<code>a</code> &rarr; {{IPAc-ar|a}}
*<tt>i</tt> = i
+
*<code>aa</code> &rarr; {{IPAc-ar|aa}}
*<tt>ii</tt> = iː
+
*<code>i</code> &rarr; {{IPAc-ar|i}}
*<tt>u</tt> = u
+
*<code>ii</code> &rarr; {{IPAc-ar|ii}}
*<tt>uu</tt> = uː
+
*<code>u</code> &rarr; {{IPAc-ar|u}}
{{col-end}}
+
*<code>uu</code> &rarr; {{IPAc-ar|uu}}
 +
|}
 +
 
 
{{Collapse bottom}}
 
{{Collapse bottom}}
  
 
The following parameters have special meanings:
 
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 (placed before the stressed syllable)
+
*<code>,</code> (comma) for a secondary stress mark (placed before the stressed syllable)-->
*<tt>.</tt> (period) for a syllable break
+
*<code>.</code> (period) for a syllable break
 
<!--more needed here-->
 
<!--more needed here-->
  
Line 74: Line 76:
  
 
==See also==
 
==See also==
*[[Template:Usage of IPA templates|Information on other IPA templates]]
+
* [[Template:Usage of IPA templates|Information on other IPA templates]]
*[[Wikipedia:IPA for Arabic]]
+
* [[Help:IPA for Arabic]]
*[[Arabic phonology]]
+
* [[Arabic phonology]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:IPA templates|{{PAGENAME}}]]
+
[[Category:IPA language templates|c]]
</includeonly>
+
[[ja:Template:IPAc-ar]]
 +
[[pt:Predefinição:IPAc-ar]]
 +
}}</includeonly>

Latest revision as of 22:15, 25 April 2020

This template is used to produce a phonemic representation (using the IPA system) of Arabic 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 Arabic. Optionally, an audio file can also be specified.

Usage

The number of parameters is always limited to 50.

Normal usage:

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
List of characters accepted for template input

The following parameters have special meanings:

  • - (hyphen) for a space between words
  • ' (apostrophe) for a primary stress mark (placed before the stressed syllable)
  • . (period) for a syllable break

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

See also