Module:pt: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['Brazilian'] = {
	link = 'Brazilian Portuguese',
	display = 'Brazilian',
}
aliases['br'] = 'Brazilian'
aliases['Brazil'] = 'Brazilian'

labels['European'] = {
	link = 'European Portuguese',
	display = 'European',
}
aliases['pt'] = 'European'
aliases['Portugal'] = 'European'
aliases['Portuguese'] = 'European'

labels['Angolan'] = {
	link = 'Angolan Portuguese',
	display = 'Angolan',
}
aliases['ao'] = 'Angolan'
aliases['Angola'] = 'Angolan'

labels['Cabo Verdean'] = {
	link = 'Cape Verdean Portuguese',
	display = 'Cabo Verdean',
}
aliases['cv'] = 'Cabo Verdean'
aliases['Cape Verdean'] = 'Cabo Verdean'
aliases['Verdean'] = 'Cabo Verdean'
aliases['Cape Verde'] = 'Cabo Verdean'

labels['Timorese'] = {
	link = 'Timorese Portuguese',
	display = 'Timorese',
}
aliases['tl'] = 'Timorese'
aliases['Timor Leste'] = 'Timorese'
aliases['Timor-Leste'] = 'Timorese'
aliases['Timor'] = 'Timorese'
aliases['East Timor'] = 'Timorese'

labels['Guinea-Bissau'] = {
	link = 'Guinea-Bissau Portuguese',
	display = 'Guinea-Bissau',
}
aliases['gw'] = 'Guinea-Bissau'
aliases['Guinean'] = 'Guinea-Bissau'
aliases['Guinea-Bissauan'] = 'Guinea-Bissau'

labels['Mozambican'] = {
	link = 'Mozambican Portuguese',
	display = 'Mozambican',
}
aliases['mz'] = 'Mozambican'
aliases['Mozambique'] = 'Mozambican'

labels['São Tomé and Príncipe'] = {
	link = 'São Tomé and Príncipe Portuguese',
	display = 'São Tomé and Príncipe',
}
aliases['st'] = 'São Tomé and Príncipe'
aliases['Sao Tome and Principe'] = 'São Tomé and Príncipe'
aliases['Sao Tome'] = 'São Tomé and Príncipe'
aliases['São Tomé'] = 'São Tomé and Príncipe'

labels['Macau'] = {
	link = 'Macau Portuguese',
	display = 'Macau',
}
aliases['mo'] = 'Macau'
aliases['Macao'] = 'Macau'
aliases['Macanese'] = 'Macau'

labels['Goa'] = {
	link = 'Goan Portuguese',
	display = 'Goa',
}
aliases['Goan'] = 'Goa'
aliases['Indian'] = 'Goa'

labels["pre-1990"] = {
	display = "pre-1990 spelling",
	link = "Portuguese Language Orthographic Agreement of 1990",
}
aliases['pre-1990 spelling'] = 'pre-1990'
aliases['pre-AO90'] = 'pre-1990'
aliases['AO45'] = 'pre-1990'

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