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

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
m (Protected Module:IPAc-en/pronunciation: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
blackwiki>Mr. Stradivarius
(use ordered data for easier doc generation)
Line 2: Line 2:
  
 
return {
 
return {
['lang'] = {
+
{
 +
code = 'lang',
 
aliases = {'english'},
 
aliases = {'english'},
 
text = 'English'
 
text = 'English'
 
},
 
},
['pron'] = {
+
{
 +
code = 'pron',
 
aliases = {'pronunciation'},
 
aliases = {'pronunciation'},
 
text = 'pronunciation:'
 
text = 'pronunciation:'
 
},
 
},
['local'] = {
+
{
 +
code = 'local',
 
text = 'local'
 
text = 'local'
 
},
 
},
['ipa'] = {
+
{
 +
code = 'ipa',
 
text = '[[International Phonetic Alphabet|IPA]]'
 
text = '[[International Phonetic Alphabet|IPA]]'
 
},
 
},
['aus'] = {
+
{
 +
code = 'aus',
 
text = '[[Australian English|AU]]'
 
text = '[[Australian English|AU]]'
 
},
 
},
['ca'] = {
+
{
 +
code = 'ca',
 
text = '[[Canadian English|CA]]'
 
text = '[[Canadian English|CA]]'
 
},
 
},
['ie'] = {
+
{
 +
code = 'ie',
 
text = '[[Irish English|IE]]'
 
text = '[[Irish English|IE]]'
 
},
 
},
['nz'] = {
+
{
 +
code = 'nz',
 
text = '[[New Zealand English|NZ]]'
 
text = '[[New Zealand English|NZ]]'
 
},
 
},
['uk'] = {
+
{
 +
code = 'uk',
 
text = '[[British English|UK]]'
 
text = '[[British English|UK]]'
 
},
 
},
['us'] = {
+
{
 +
code = 'us',
 
text = '[[American English|US]]'
 
text = '[[American English|US]]'
 
},
 
},
['za'] = {
+
{
 +
code = 'za',
 
text = '[[South African English|ZA]]'
 
text = '[[South African English|ZA]]'
 
},
 
},
 
}
 
}

Revision as of 11:37, 19 June 2015

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

Code Aliases Output
lang english English
pron pronunciation pronunciation:
local local
ipa IPA
aus AU
ca CA
ie IE
nz NZ
uk UK
us US
za ZA

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

return {
	{
		code = 'lang',
		aliases = {'english'},
		text = 'English'
	},
	{
		code = 'pron',
		aliases = {'pronunciation'},
		text = 'pronunciation:'
	},
	{
		code = 'local',
		text = 'local'
	},
	{
		code = 'ipa',
		text = '[[International Phonetic Alphabet|IPA]]'
	},
	{
		code = 'aus',
		text = '[[Australian English|AU]]'
	},
	{
		code = 'ca',
		text = '[[Canadian English|CA]]'
	},
	{
		code = 'ie',
		text = '[[Irish English|IE]]'
	},
	{
		code = 'nz',
		text = '[[New Zealand English|NZ]]'
	},
	{
		code = 'uk',
		text = '[[British English|UK]]'
	},
	{
		code = 'us',
		text = '[[American English|US]]'
	},
	{
		code = 'za',
		text = '[[South African English|ZA]]'
	},
}