<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lore.gnoblin.cc/history/Template:GetFirstPhoneme?feed=atom</id>
	<title>Template:GetFirstPhoneme - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lore.gnoblin.cc/history/Template:GetFirstPhoneme?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://lore.gnoblin.cc/history/Template:GetFirstPhoneme"/>
	<updated>2026-05-09T08:27:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://lore.gnoblin.cc/index.php?title=Template:GetFirstPhoneme&amp;diff=850&amp;oldid=prev</id>
		<title>Elias: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://lore.gnoblin.cc/index.php?title=Template:GetFirstPhoneme&amp;diff=850&amp;oldid=prev"/>
		<updated>2024-08-07T08:14:17Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:14, 7 August 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Elias</name></author>
	</entry>
	<entry>
		<id>https://lore.gnoblin.cc/index.php?title=Template:GetFirstPhoneme&amp;diff=849&amp;oldid=prev</id>
		<title>fr&gt;Lhynard: +1 2-syllable</title>
		<link rel="alternate" type="text/html" href="https://lore.gnoblin.cc/index.php?title=Template:GetFirstPhoneme&amp;diff=849&amp;oldid=prev"/>
		<updated>2023-01-23T02:04:48Z</updated>

		<summary type="html">&lt;p&gt;+1 2-syllable&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#vardefine:char1|{{#sub:{{{1}}}|0|1}}}}{{#vardefine:char2|{{#sub:{{{1}}}|1|1}}}}{{#vardefine:char3|{{#sub:{{{1}}}|2|1}}}}&amp;lt;!--The largest phoneme is 3 letters.--&amp;gt;&lt;br /&gt;
{{#switch:{{#var:char1}}&lt;br /&gt;
&amp;lt;!----&amp;gt;|y=&amp;lt;!--y is unique in that it can be used as either a consonant or a vowel in re-spellings; we are going to only allow it as a vowel if it is the last phoneme of a syllable.--&amp;gt;{{#if:{{#var:char2}}&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--THEN--&amp;gt;|y&amp;lt;!--It&amp;#039;s a consonant.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--ELSE--&amp;gt;|eye&amp;lt;!--It&amp;#039;s a vowel.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;}}&lt;br /&gt;
&amp;lt;!----&amp;gt;|@|æ|b|f|h|j|m|0|p|r|+|v|x={{#var:char1}}&amp;lt;!--These characters are always a phoneme by themselves (unless terminal, like h or y).--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;|#default={{#if:{{#var:char2}}&amp;lt;!--Otherwise, get 2nd character, if it exists.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--THEN--&amp;gt;|{{#switch:{{#var:char1}}{{#var:char2}}&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;|ah|aw|ay|ch|ck|dh|eh|ər|gh|ie|ih|kh|ll|ng|nk|nn|og|oh|on|ox|oy|ss|sh|th|ue|uh|ul|wh|zh={{#var:char1}}{{#var:char2}}&amp;lt;!--These 2-character phonemes are complete.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;|#default={{#if:{{#var:char3}}&amp;lt;!--Otherwise, get 3rd character, if it exists.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;&amp;lt;!--THEN--&amp;gt;|{{#switch:{{#var:char1}}{{#var:char2}}{{#var:char3}}&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;|air|ale|ane|are|arr|ass|ead|eer|err|ewr|eye|igh|ire|irr|ite|oar|ock|oir|oor|ore|orr|owr|tch|uke|urr={{#var:char1}}{{#var:char2}}{{#var:char3}}&amp;lt;!--These 3-character phonemes are complete.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;|#default={{#switch:{{#var:char1}}{{#var:char2}}|ar|ee|ew|oo|oi|or|ow|ur={{#var:char1}}{{#var:char2}}|#default={{#switch:{{#var:char1}}|a|c|d|e|ə|g|i|k|l|n|o|s|t|u|w|z={{#var:char1}}|#default=?}}}}&amp;lt;!--Otherwise, we need to go back and check for shorter, 2-character or 1-character phonemes.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;}}&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;&amp;lt;!--ELSE--&amp;gt;|{{#switch:{{#var:char1}}{{#var:char2}}|ar|ee|ew|oo|oi|or|ow|ur={{#var:char1}}{{#var:char2}}|#default={{#switch:{{#var:char1}}|a|c|d|e|ə|g|i|k|l|n|o|s|t|u|w|z={{#var:char1}}|#default=?}}}}&amp;lt;!--We are at the end of the 2-character syllable, but we need to go back and check for shorter, 2-character or 1-character phonemes.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;&amp;lt;!----&amp;gt;}}&amp;lt;!--END IF 3 CHARACTERS--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--------&amp;gt;}}&lt;br /&gt;
&amp;lt;!----&amp;gt;&amp;lt;!--ELSE--&amp;gt;|{{#var:char1}}&amp;lt;!--We are at the end of the syllable, so the phoneme is ended also.--&amp;gt;&lt;br /&gt;
&amp;lt;!----&amp;gt;}}&amp;lt;!--END IF 2 CHARACTERS--&amp;gt;&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{Esoteric}}This template scans through a small string one character at a time to determines what the first phoneme is. Acceptable phonemes are listed with at [[Template:Pronunciation table]]. &amp;#039;&amp;#039;&amp;#039;Do not use this template directly; it is intended for use within {{Tl|GetIPASyllable}}.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The template only accepts lower-case letters. It is assumed that the returned phoneme will have a maximum of three letters.&lt;br /&gt;
&lt;br /&gt;
If there is an error and/or the code is not able to determine a valid phoneme, the template will output &amp;quot;?&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|ændrohsfinks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|ændrohsfinks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|ndrohsfinks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|ndrohsfinks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|drohsfinks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|drohsfinks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|rohsfinks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|rohsfinks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|ohsfinks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|ohsfinks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|sfinks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|sfinks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|finks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|finks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|inks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|inks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|nks}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|nks}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|s}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|s}}++&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;++{{GetFirstPhoneme|xx}}++&amp;lt;/pre&amp;gt;&lt;br /&gt;
++{{GetFirstPhoneme|xx}}++[[Category:Helper templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>fr&gt;Lhynard</name></author>
	</entry>
</feed>