Module:de: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['Austria'] = {
	display = 'Austria',
	link = 'Austrian German',
}
aliases['at'] = 'Austria'
aliases['Austrian'] = 'Austria'

labels['Liechtenstein'] = {
	display = 'Liechtenstein',
	link = 'Liechtenstein German',
}
aliases['li'] = 'Liechtenstein'

labels['Luxembourg'] = {
	display = 'Luxembourg',
	link = 'Luxembourgian German',
}
aliases['lu'] = 'Luxembourg'
aliases['Luxembourgian'] = 'Luxembourg'

labels['Switzerland'] = {
	display = 'Switzerland',
		link = 'Swiss German',
}
aliases['ch'] = 'Switzerland'
aliases['Swiss'] = 'Switzerland'

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