Module:en:Dialects

Wiktionary වෙතින්

This module provides labels to the templates {{alter}}/{{alt}}, {{descendant}}/{{desc}} as well as the templates derived from Module:nyms ({{synonyms}}/{{syn}} etc.).

How-to[සංස්කරණය]

Additions take this form. Remove < > and the stuff between them and replace with the label you would like to use, the form you would like it to display as, and the Wikipedia entry (if any) that the label should link to. If you do not want to link to a Wikipedia article, simply remove the link line altogether.

labels['<label>'] = {
	display = '<link text>',
	link = '<Wikipedia article>',
}

Blank form:

labels[''] = {
	display = '',
	link = '',

For alternative forms of the labels, use the following code:

aliases['<alternative form>'] = '<label with data table>'

aliases[''] = ''

local labels, aliases = {}, {}

labels['American'] = {
	link = 'American and British English spelling differences',
	display = 'American',
}
aliases['en-US'] = 'American'
aliases['US'] = 'American'

labels['British'] = {
		link = 'American and British English spelling differences',
		display = 'British',
}
aliases['UK'] = 'British'

labels['Commonwealth'] = {
	link = 'Commonwealth of Nations',
	display = 'Commonwealth',
}

labels['Early Modern'] = {
	link = 'Early Modern English',
	display = 'Early Modern',
}
aliases['EME'] = 'Early Modern'

labels['Oxford'] = {
	link = 'Oxford spelling',
	display = 'Oxford British English',
}
labels['non-Oxford'] = {
	link = 'Oxford spelling',
	display = 'non-Oxford British English',
}
aliases['en-GB-oxendict'] = 'Oxford'

return {
	labels = labels,
	aliases = aliases,
}
"https://si.wiktionary.org/w/index.php?title=Module:en:Dialects&oldid=55189" වෙතින් සම්ප්‍රවේශනය කෙරිණි