Difference between revisions of "Template:IPAc-pl"

From blackwiki
Jump to navigation Jump to search
imported>HJ Mitchell
m (Changed protection level of Template:IPAc-pl: restoring semi-protection per ANI discussion. Requests for changes of prot level to WP:RfPP. using TW ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)))
imported>WOSlinker
(move docs to subpage)
Line 1: Line 1:
 
<includeonly><span class="IPA" style="white-space:nowrap">[[Wikipedia:IPA for Polish|{{#switch:{{{1}}}|[-|[]|[]AUD=[|/-|//|//AUD=/|--|-]|-/|-]AUD|-/AUD=|[}}{{#switch:{{{1|}}}|[-|-]|[]|/-|-/|//|--|-]AUD|[]AUD|-/AUD|//AUD|AUD=|{{c-pl|{{{1}}}}}}}{{#if:{{{2|}}}|{{#switch:{{{1|}}}|-]AUD|[]AUD|-/AUD|//AUD|AUD=|{{c-pl|{{{2|}}}}}}}}}{{#if:{{{3|}}}|{{c-pl|{{{3}}}}}}}{{#if:{{{4|}}}|{{c-pl|{{{4}}}}}}}{{#if:{{{5|}}}|{{c-pl|{{{5}}}}}}}{{#if:{{{6|}}}|{{c-pl|{{{6}}}}}}}{{#if:{{{7|}}}|{{c-pl|{{{7}}}}}}}{{#if:{{{8|}}}|{{c-pl|{{{8}}}}}}}{{#if:{{{9|}}}|{{c-pl|{{{9}}}}}}}{{#if:{{{10|}}}|{{c-pl|{{{10}}}}}}}{{#if:{{{11|}}}|{{c-pl|{{{11}}}}}}}{{#if:{{{12|}}}|{{c-pl|{{{12}}}}}}}{{#if:{{{13|}}}|{{c-pl|{{{13}}}}}}}{{#if:{{{14|}}}|{{c-pl|{{{14}}}}}}}{{#if:{{{15|}}}|{{c-pl|{{{15}}}}}}}{{#if:{{{16|}}}|{{c-pl|{{{16}}}}}}}{{#if:{{{17|}}}|{{c-pl|{{{17}}}}}}}{{#if:{{{18|}}}|{{c-pl|{{{18}}}}}}}{{#if:{{{19|}}}|{{c-pl|{{{19}}}}}}}{{#if:{{{20|}}}|{{c-pl|{{{20}}}}}}}{{#if:{{{21|}}}|{{c-pl|{{{21}}}}}}}{{#if:{{{22|}}}|{{c-pl|{{{22}}}}}}}{{#if:{{{23|}}}|{{c-pl|{{{23}}}}}}}{{#if:{{{24|}}}|{{c-pl|{{{24}}}}}}}{{#if:{{{25|}}}|{{c-pl|{{{25}}}}}}}{{#if:{{{26|}}}|{{c-pl|{{{26}}}}}}}{{#if:{{{27|}}}|{{c-pl|{{{27}}}}}}}{{#if:{{{28|}}}|{{c-pl|{{{28}}}}}}}{{#if:{{{29|}}}|{{c-pl|{{{29}}}}}}}{{#if:{{{30|}}}|{{c-pl|{{{30}}}}}}}{{#if:{{{31|}}}|{{c-pl|{{{31}}}}}}}{{#if:{{{32|}}}|{{c-pl|{{{32}}}}}}}{{#if:{{{33|}}}|{{c-pl|{{{33}}}}}}}{{#switch:{{{1}}}|-]|[]|-]AUD|[]AUD=]|-/|//|\/AUD|//AUD=/|--|[-|/-=|]}}]]</span>{{#switch:{{{1}}}|-]AUD|[]AUD|-/AUD|//AUD|AUD=<small> ([[Image:Ltspkr.png|link=|alt=]] [[:Media:{{{2}}}|listen]])</small>}}</includeonly><noinclude>
 
<includeonly><span class="IPA" style="white-space:nowrap">[[Wikipedia:IPA for Polish|{{#switch:{{{1}}}|[-|[]|[]AUD=[|/-|//|//AUD=/|--|-]|-/|-]AUD|-/AUD=|[}}{{#switch:{{{1|}}}|[-|-]|[]|/-|-/|//|--|-]AUD|[]AUD|-/AUD|//AUD|AUD=|{{c-pl|{{{1}}}}}}}{{#if:{{{2|}}}|{{#switch:{{{1|}}}|-]AUD|[]AUD|-/AUD|//AUD|AUD=|{{c-pl|{{{2|}}}}}}}}}{{#if:{{{3|}}}|{{c-pl|{{{3}}}}}}}{{#if:{{{4|}}}|{{c-pl|{{{4}}}}}}}{{#if:{{{5|}}}|{{c-pl|{{{5}}}}}}}{{#if:{{{6|}}}|{{c-pl|{{{6}}}}}}}{{#if:{{{7|}}}|{{c-pl|{{{7}}}}}}}{{#if:{{{8|}}}|{{c-pl|{{{8}}}}}}}{{#if:{{{9|}}}|{{c-pl|{{{9}}}}}}}{{#if:{{{10|}}}|{{c-pl|{{{10}}}}}}}{{#if:{{{11|}}}|{{c-pl|{{{11}}}}}}}{{#if:{{{12|}}}|{{c-pl|{{{12}}}}}}}{{#if:{{{13|}}}|{{c-pl|{{{13}}}}}}}{{#if:{{{14|}}}|{{c-pl|{{{14}}}}}}}{{#if:{{{15|}}}|{{c-pl|{{{15}}}}}}}{{#if:{{{16|}}}|{{c-pl|{{{16}}}}}}}{{#if:{{{17|}}}|{{c-pl|{{{17}}}}}}}{{#if:{{{18|}}}|{{c-pl|{{{18}}}}}}}{{#if:{{{19|}}}|{{c-pl|{{{19}}}}}}}{{#if:{{{20|}}}|{{c-pl|{{{20}}}}}}}{{#if:{{{21|}}}|{{c-pl|{{{21}}}}}}}{{#if:{{{22|}}}|{{c-pl|{{{22}}}}}}}{{#if:{{{23|}}}|{{c-pl|{{{23}}}}}}}{{#if:{{{24|}}}|{{c-pl|{{{24}}}}}}}{{#if:{{{25|}}}|{{c-pl|{{{25}}}}}}}{{#if:{{{26|}}}|{{c-pl|{{{26}}}}}}}{{#if:{{{27|}}}|{{c-pl|{{{27}}}}}}}{{#if:{{{28|}}}|{{c-pl|{{{28}}}}}}}{{#if:{{{29|}}}|{{c-pl|{{{29}}}}}}}{{#if:{{{30|}}}|{{c-pl|{{{30}}}}}}}{{#if:{{{31|}}}|{{c-pl|{{{31}}}}}}}{{#if:{{{32|}}}|{{c-pl|{{{32}}}}}}}{{#if:{{{33|}}}|{{c-pl|{{{33}}}}}}}{{#switch:{{{1}}}|-]|[]|-]AUD|[]AUD=]|-/|//|\/AUD|//AUD=/|--|[-|/-=|]}}]]</span>{{#switch:{{{1}}}|-]AUD|[]AUD|-/AUD|//AUD|AUD=<small> ([[Image:Ltspkr.png|link=|alt=]] [[:Media:{{{2}}}|listen]])</small>}}</includeonly><noinclude>
{{pp-template|small=yes}}
+
{{documentation}}
This template is used to produce a phonetic or phonemic representation (using the [[IPA]] system) of Polish 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 Polish]]. Optionally, an audio file can also be specified.
 
 
 
===Usage===
 
The number of parameters is always limited to 33.
 
 
 
Normal usage:
 
*<tt><nowiki>{{IPAc-pl|'|w|r|o|c|ł|a|f}}</nowiki></tt> produces {{IPAc-pl|'|w|r|o|c|ł|a|f}}
 
*<tt><nowiki>{{IPAc-pl|s|e|m|'|p|u|l|n|o|-|k|r|a|'|j|e|ń|s|k|J|e}}</nowiki></tt> produces {{IPAc-pl|s|e|m|'|p|u|l|n|o|-|k|r|a|'|j|e|ń|s|k|J|e}}
 
 
 
With an audio file:
 
*<tt><nowiki>{{IPAc-pl|AUD|Pl-Wrocław-2.ogg|'|w|r|o|c|ł|a|f}}</nowiki></tt> produces {{IPAc-pl|AUD|Pl-Wrocław-2.ogg|'|w|r|o|c|ł|a|f}}
 
 
 
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-pl|[-|'|m|a|ć|e1|I|-|f|a|U|s|'|t|o|f|s|k|i}}</nowiki></tt> produces {{IPAc-pl|[-|'|m|a|ć|e1|I|-|f|a|U|s|'|t|o|f|s|k|i}}
 
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>
 
 
 
The following parameters represent their normal sounds in Polish:
 
*<tt>a ą b c ć cz d dz dź e ę f g h<tt> (or <tt>ch</tt>) <tt>i j k l ł m n ń o p r s ś sz t u<tt> (or <tt>ó</tt>) <tt>w y z ź ż</tt> (or <tt>rz</tt>)
 
 
 
The following parameters have special meanings:
 
*<tt>-</tt> (hyphen) for a space between words
 
*<tt>'</tt> (apostrophe) for a primary stress mark (placed before the stressed syllable)
 
*<tt>,</tt> (comma) for a secondary stress mark
 
*<tt>J</tt> for a superscript j (used after k and g)
 
*<tt>I</tt> for non-syllabic i (normally spelt ''j'' in words like ''gaj'')
 
*<tt>U</tt> for non-syllabic u (normally spelt ''ł'' in words like ''miał'')
 
*<tt>N</tt> for a sound like English ''ng'' (in words like ''bank'')
 
*<tt>e1</tt> for a more closed ''e'' sound (as when adjacent to soft consonants, in words like ''Maciej'')
 
 
 
Other values used as parameters will be displayed unconverted. (The conversion system is coded in [[Template:c-pl]].)
 
 
 
==See also==
 
*[[Template:Usage of IPA templates|Information on other IPA templates]]
 
*[[Wikipedia:IPA for Polish]]
 
*[[Wikipedia:WikiProject Poland/Conventions]]
 
*[[Polish phonology]]
 
 
 
[[Category:IPA templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revision as of 10:59, 5 October 2010

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

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

Usage

The number of parameters is always limited to 33.

Normal usage:

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

The following parameters represent their normal sounds in Polish:

  • a ą b c ć cz d dz dź e ę f g h (or ch) i j k l ł m n ń o p r s ś sz t u (or ó) w y z ź ż (or rz)

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
  • J for a superscript j (used after k and g)
  • I for non-syllabic i (normally spelt j in words like gaj)
  • U for non-syllabic u (normally spelt ł in words like miał)
  • N for a sound like English ng (in words like bank)
  • e1 for a more closed e sound (as when adjacent to soft consonants, in words like Maciej)

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

See also

ja:Template:IPAc-pl pt:Predefinição:IPAc-pl