Difference between revisions of "Module:IPAc-en/pronunciation"

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
(use ordered data for easier doc generation)
blackwiki>Izno
(per ter)
Line 4: Line 4:
 
{
 
{
 
code = 'lang',
 
code = 'lang',
aliases = {'english'},
+
text = 'English:'
text = 'English'
 
 
},
 
},
 
{
 
{
 
code = 'pron',
 
code = 'pron',
aliases = {'pronunciation'},
+
text = ''
text = 'pronunciation:'
 
 
},
 
},
 
{
 
{
 
code = 'local',
 
code = 'local',
text = 'local'
+
text = 'locally'
 
},
 
},
 
{
 
{
 
code = 'ipa',
 
code = 'ipa',
text = '[[International Phonetic Alphabet|IPA]]'
+
text = '[[International Phonetic Alphabet|IPA]]:'
 
},
 
},
 
{
 
{
code = 'aus',
+
code = 'uk',
text = '[[Australian English|AU]]'
+
text = '[[British English|UK]]:'
 
},
 
},
 
{
 
{
code = 'ca',
+
code = 'us',
text = '[[Canadian English|CA]]'
+
text = '[[American English|US]]:'
},
 
{
 
code = 'ie',
 
text = '[[Irish English|IE]]'
 
},
 
{
 
code = 'nz',
 
text = '[[New Zealand English|NZ]]'
 
 
},
 
},
 
{
 
{
code = 'uk',
+
code = 'uklang',
text = '[[British English|UK]]'
+
text = '[[British English]]:'
},
 
{
 
code = 'us',
 
text = '[[American English|US]]'
 
 
},
 
},
 
{
 
{
code = 'za',
+
code = 'uslang',
text = '[[South African English|ZA]]'
+
text = '[[American English]]:'
 
},
 
},
 
}
 
}

Revision as of 14:21, 13 June 2017

This module houses {{IPAc-en}}'s pronunciation labels.

Code Aliases Output
lang English:
pron
local locally
ipa IPA:
uk UK:
us US:
uklang British English:
uslang American English:

-- This module contains pronunciation-key data for [[Module:IPAc-en]].

return {
	{
		code = 'lang',
		text = 'English:'
	},
	{
		code = 'pron',
		text = ''
	},
	{
		code = 'local',
		text = 'locally'
	},
	{
		code = 'ipa',
		text = '[[International Phonetic Alphabet|IPA]]:'
	},
	{
		code = 'uk',
		text = '[[British English|UK]]:'
	},
	{
		code = 'us',
		text = '[[American English|US]]:'
	},
	{
		code = 'uklang',
		text = '[[British English]]:'
	},
	{
		code = 'uslang',
		text = '[[American English]]:'
	},
}