Wiktionary gdwiktionary https://gd.wiktionary.org/wiki/Pr%C3%AComh-Dhuilleag MediaWiki 1.47.0-wmf.14 case-sensitive Meadhan Sònraichte Deasbaireachd Cleachdaiche Deasbaireachd a' chleachdaiche Wiktionary An deasbaireachd aig Wiktionary Faidhle Deasbaireachd an fhaidhle MediaWiki Deasbaireachd MediaWiki Teamplaid Deasbaireachd na teamplaid Cobhair Deasbaireachd na cobharach Roinn-seòrsa Deasbaireachd na roinn-seòrsa TimedText TimedText talk Mòideal Deasbaireachd mòideil Event Event talk Mòideal:kw-common 828 18066 89149 2026-08-12T10:35:42Z Altronic 4137 Chaidh duilleag le "local export = {} function export.mutate(term) local ret = { normal = term, soft = term, aspirate = term, hard = term, mixed = term, th = term } local lower = mw.ustring.lower(term) -- soft if mw.ustring.find(lower, "^[bm]") then ret.soft = mw.ustring.gsub(lower, "^(.)", "v") elseif mw.ustring.find(lower, "^c[^h]") then ret.soft = mw.ustring.gsub(lower, "^(.)", "g") elseif mw.ustring.find(lower, "^ch") then ret.soft = mw.ustring.gsub(lower..." a chruthachadh 89149 Scribunto text/plain local export = {} function export.mutate(term) local ret = { normal = term, soft = term, aspirate = term, hard = term, mixed = term, th = term } local lower = mw.ustring.lower(term) -- soft if mw.ustring.find(lower, "^[bm]") then ret.soft = mw.ustring.gsub(lower, "^(.)", "v") elseif mw.ustring.find(lower, "^c[^h]") then ret.soft = mw.ustring.gsub(lower, "^(.)", "g") elseif mw.ustring.find(lower, "^ch") then ret.soft = mw.ustring.gsub(lower, "^(..)", "j") elseif mw.ustring.find(lower, "^d") then ret.soft = mw.ustring.gsub(lower, "^(.)", "%1h") elseif mw.ustring.find(lower, "^g[ou]") then ret.soft = mw.ustring.gsub(lower, "^(.)", "w") elseif mw.ustring.find(lower, "^gr[ou]") then ret.soft = mw.ustring.gsub(lower, "^(.)", "w") elseif mw.ustring.find(lower, "^g[^rou]") then ret.soft = mw.ustring.gsub(lower, "^(.)", "") elseif mw.ustring.find(lower, "^k") then ret.soft = mw.ustring.gsub(lower, "^(.)", "g") elseif mw.ustring.find(lower, "^p") then ret.soft = mw.ustring.gsub(lower, "^(.)", "b") elseif mw.ustring.find(lower, "^t") then ret.soft = mw.ustring.gsub(lower, "^(.)", "d") end -- hard if mw.ustring.find(lower, "^b") then ret.hard = mw.ustring.gsub(lower, "^(.)", "p") elseif mw.ustring.find(lower, "^d") then ret.hard = mw.ustring.gsub(lower, "^(.)", "t") elseif mw.ustring.find(lower, "^g") then ret.hard = mw.ustring.gsub(lower, "^(.)", "k") end -- aspiration if mw.ustring.find(lower, "^c[^h]") then ret.aspirate = mw.ustring.gsub(lower, "^(.)", "h") elseif mw.ustring.find(lower, "^k[^lnrw]") then ret.aspirate = mw.ustring.gsub(lower, "^(.)", "h") elseif mw.ustring.find(lower, "^p") then ret.aspirate = mw.ustring.gsub(lower, "^(.)", "f") elseif mw.ustring.find(lower, "^t[^h]") then ret.aspirate = mw.ustring.gsub(lower, "^(.)", "%1h") end -- mixed if mw.ustring.find(lower, "^b") then ret.mixed = mw.ustring.gsub(lower, "^(.)", "f") ret.th = mw.ustring.gsub(lower, "^(.)", "v") elseif mw.ustring.find(lower, "^g[ou]") then ret.mixed = mw.ustring.gsub(lower, "^(.)", "hw") ret.th = mw.ustring.gsub(lower, "^(.)", "w") elseif mw.ustring.find(lower, "^gr[ou]") then ret.mixed = mw.ustring.gsub(lower, "^(.)", "hw") ret.th = mw.ustring.gsub(lower, "^(.)", "w") elseif mw.ustring.find(lower, "^g[^lh]") then ret.mixed = mw.ustring.gsub(lower, "^(.)", "h") end return ret end return export 4pg4m7huy034nsw7wys6y2f3d01juk9 Mòideal:kw-mutation 828 18067 89150 2026-08-12T10:42:49Z Altronic 4137 basic test version 89150 Scribunto text/plain local lang = require("Module:languages").getByCode("kw") local links = require("Module:links") local export = {} local function repl(forms, param) if param ~= "normal" and forms[param] == forms["normal"] then return "''chan urrainn dheth''" end local ret = links.full_link({ lang = lang, term = forms[param] }) return ret end local wikicode = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mxied}}} ]=] function export.drawtable(frame) local args = require("Module:parameters").process(frame:getParent().args, { [1] = true }) local title = require("Module:headword/data").pagename local forms = require("Module:kw-common").mutate(title) if args[1] ~= nil then title = args[1] end local result = frame:expandTemplate{ title = "inflection-table-top", args = { title = "Mùthadh dhe " .. links.full_link({ lang = lang, alt = title }, 'term'), palette = 'amber' } } local notes = '<p style="font-size:85%;"><i>An Aire:</i> Chan urrainn dheth a h-uile cruth sèimhichte a chruthachadh anns a\' Chòrnais stannardach.<br>Chaidh a h-uile cruthan \'s a ghabhas a shealltainn an-seo.</p>' if forms.th ~= forms.normal then notes = notes .. "</br>* le " .. links.full_link({lang = lang, alt = "th'"}, 'term') wikicode = wikicode .. "</br>{{th}}" end result = result .. '\n' result = result .. mw.ustring.gsub(wikicode, "{{{([a-z0-9_]+)}}}", function(param) return repl(forms, param) end) result = result .. frame:expandTemplate{ title = 'inflection-table-bottom', args = { notes = notes } } return result end return export 6w871e40pq45o9hysdr0ju5urtgfl7o 89151 89150 2026-08-12T10:44:43Z Altronic 4137 fix 89151 Scribunto text/plain local lang = require("Module:languages").getByCode("kw") local links = require("Module:links") local export = {} local function repl(forms, param) if param ~= "normal" and forms[param] == forms["normal"] then return "''chan urrainn dheth''" end local ret = links.full_link({ lang = lang, term = forms[param] }) return ret end local wikicode = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}} ]=] function export.drawtable(frame) local args = require("Module:parameters").process(frame:getParent().args, { [1] = true }) local title = args[1] or require("Module:headword/data").pagename local forms = require("Module:kw-common").mutate(title) local result = frame:expandTemplate{ title = "inflection-table-top", args = { title = "Mùthadh dhe " .. links.full_link({ lang = lang, alt = title }, 'term'), palette = 'amber' } } local notes = '<p style="font-size:85%;"><i>An Aire:</i> Chan urrainn dheth a h-uile cruth sèimhichte a chruthachadh anns a\' Chòrnais stannardach.<br>Chaidh a h-uile cruthan \'s a ghabhas a shealltainn an-seo.</p>' if forms.th ~= forms.normal then notes = notes .. "</br>* le " .. links.full_link({lang = lang, alt = "th'"}, 'term') wikicode = wikicode .. "</br>{{th}}" end result = result .. '\n' result = result .. mw.ustring.gsub(wikicode, "{{{([a-z0-9_]+)}}}", function(param) return repl(forms, param) end) result = result .. frame:expandTemplate{ title = 'inflection-table-bottom', args = { notes = notes } } return result end return export jznyt4tsa1jqkj67qrri9oy5bkh4njr 89153 89151 2026-08-12T10:50:25Z Altronic 4137 89153 Scribunto text/plain local lang = require("Module:languages").getByCode("kw") local links = require("Module:links") local export = {} local function repl(forms, param) if param ~= "normal" and forms[param] == forms["normal"] then return "''chan urrainn dheth''" end local ret = links.full_link({ lang = lang, term = forms[param] }) return ret end local wikicode = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}} ]=] function export.drawtable(frame) local args = require("Module:parameters").process(frame:getParent().args, { [1] = true }) local title = args[1] or require("Module:headword/data").pagename local forms = require("Module:kw-common").mutate(title) local result = frame:expandTemplate{ title = "inflection-table-top", args = { title = "Mùthadh dhe " .. links.full_link({ lang = lang, alt = title }, 'term'), palette = 'amber' } } local notes = '<p style="font-size:85%;"><i>An Aire:</i> Chan urrainn dheth a h-uile cruth sèimhichte a chruthachadh anns a\' Chòrnais stannardach.<br>Chaidh a h-uile cruthan \'s a ghabhas a shealltainn an-seo.</p>' if forms.th ~= forms.normal then notes = notes .. "</br>* le " .. links.full_link({lang = lang, alt = "th'", term = "th'"}, 'term') wikicode = wikicode .. "</br>{{{th}}}" end result = result .. '\n' result = result .. mw.ustring.gsub(wikicode, "{{{([a-z0-9_]+)}}}", function(param) return repl(forms, param) end) result = result .. frame:expandTemplate{ title = 'inflection-table-bottom', args = { notes = notes } } return result end return export 8mk6c7tg3hnz8vvu2dsot00py1urky4 89154 89153 2026-08-12T10:53:53Z Altronic 4137 89154 Scribunto text/plain local lang = require("Module:languages").getByCode("kw") local links = require("Module:links") local export = {} local function repl(forms, param) if param ~= "normal" and forms[param] == forms["normal"] then return "''chan urrainn dheth''" end local ret = links.full_link({ lang = lang, term = forms[param] }) return ret end local wikicode = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}} ]=] local wikicodeth = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}} | {{{th}}} ]=] function export.drawtable(frame) local args = require("Module:parameters").process(frame:getParent().args, { [1] = true }) local title = args[1] or require("Module:headword/data").pagename local forms = require("Module:kw-common").mutate(title) local result = frame:expandTemplate{ title = "inflection-table-top", args = { title = "Mùthadh dhe " .. links.full_link({ lang = lang, alt = title }, 'term'), palette = 'amber' } } local notes = '<p style="font-size:85%;"><i>An Aire:</i> Chan urrainn dheth a h-uile cruth sèimhichte a chruthachadh anns a\' Chòrnais stannardach.<br>Chaidh a h-uile cruthan \'s a ghabhas a shealltainn an-seo.</p>' local wikitext = wikicode if forms.th ~= forms.normal then notes = notes .. "</br>* le " .. links.full_link({lang = lang, alt = "th'", term = "th'"}, 'term') wikitext = wikicodeth -- this is really dumb end result = result .. '\n' result = result .. mw.ustring.gsub(wikitext, "{{{([a-z0-9_]+)}}}", function(param) return repl(forms, param) end) result = result .. frame:expandTemplate{ title = 'inflection-table-bottom', args = { notes = notes } } return result end return export 9ttr9oqdkbuio0709s18dc7seylmzoz 89155 89154 2026-08-12T10:54:22Z Altronic 4137 89155 Scribunto text/plain local lang = require("Module:languages").getByCode("kw") local links = require("Module:links") local export = {} local function repl(forms, param) if param ~= "normal" and forms[param] == forms["normal"] then return "''chan urrainn dheth''" end local ret = links.full_link({ lang = lang, term = forms[param] }) return ret end local wikicode = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}} ]=] local wikicodeth = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}}</br>{{{th}}} ]=] function export.drawtable(frame) local args = require("Module:parameters").process(frame:getParent().args, { [1] = true }) local title = args[1] or require("Module:headword/data").pagename local forms = require("Module:kw-common").mutate(title) local result = frame:expandTemplate{ title = "inflection-table-top", args = { title = "Mùthadh dhe " .. links.full_link({ lang = lang, alt = title }, 'term'), palette = 'amber' } } local notes = '<p style="font-size:85%;"><i>An Aire:</i> Chan urrainn dheth a h-uile cruth sèimhichte a chruthachadh anns a\' Chòrnais stannardach.<br>Chaidh a h-uile cruthan \'s a ghabhas a shealltainn an-seo.</p>' local wikitext = wikicode if forms.th ~= forms.normal then notes = notes .. "</br>* le " .. links.full_link({lang = lang, alt = "th'", term = "th'"}, 'term') wikitext = wikicodeth -- this is really dumb end result = result .. '\n' result = result .. mw.ustring.gsub(wikitext, "{{{([a-z0-9_]+)}}}", function(param) return repl(forms, param) end) result = result .. frame:expandTemplate{ title = 'inflection-table-bottom', args = { notes = notes } } return result end return export psn2lr028z7lgksqu67js37qt4rj23h 89156 89155 2026-08-12T10:55:20Z Altronic 4137 89156 Scribunto text/plain local lang = require("Module:languages").getByCode("kw") local links = require("Module:links") local export = {} local function repl(forms, param) if param ~= "normal" and forms[param] == forms["normal"] then return "''chan urrainn dheth''" end local ret = links.full_link({ lang = lang, term = forms[param] }) return ret end local wikicode = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}} ]=] local wikicodeth = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}}</br>{{{th}}} ]=] function export.drawtable(frame) local args = require("Module:parameters").process(frame:getParent().args, { [1] = true }) local title = args[1] or require("Module:headword/data").pagename local forms = require("Module:kw-common").mutate(title) local result = frame:expandTemplate{ title = "inflection-table-top", args = { title = "Mùthadh dhe " .. links.full_link({ lang = lang, alt = title }, 'term'), palette = 'amber' } } local notes = '<p style="font-size:85%;"><i>An Aire:</i> Chan urrainn dheth a h-uile cruth sèimhichte a chruthachadh anns a\' Chòrnais stannardach.<br>Chaidh a h-uile cruthan \'s a ghabhas a shealltainn an-seo.' local wikitext = wikicode if forms.th ~= forms.normal then notes = notes .. "</br>* le " .. links.full_link({lang = lang, alt = "th'", term = "th'"} .. "</p>", 'term') wikitext = wikicodeth -- this is really dumb else notes = notes .. "</p>" end result = result .. '\n' result = result .. mw.ustring.gsub(wikitext, "{{{([a-z0-9_]+)}}}", function(param) return repl(forms, param) end) result = result .. frame:expandTemplate{ title = 'inflection-table-bottom', args = { notes = notes } } return result end return export 1373bklqwk91ansoy28uy4kv3y3454t 89157 89156 2026-08-12T10:55:57Z Altronic 4137 89157 Scribunto text/plain local lang = require("Module:languages").getByCode("kw") local links = require("Module:links") local export = {} local function repl(forms, param) if param ~= "normal" and forms[param] == forms["normal"] then return "''chan urrainn dheth''" end local ret = links.full_link({ lang = lang, term = forms[param] }) return ret end local wikicode = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}} ]=] local wikicodeth = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}}</br>{{{th}}} ]=] function export.drawtable(frame) local args = require("Module:parameters").process(frame:getParent().args, { [1] = true }) local title = args[1] or require("Module:headword/data").pagename local forms = require("Module:kw-common").mutate(title) local result = frame:expandTemplate{ title = "inflection-table-top", args = { title = "Mùthadh dhe " .. links.full_link({ lang = lang, alt = title }, 'term'), palette = 'amber' } } local notes = '<p style="font-size:85%;"><i>An Aire:</i> Chan urrainn dheth a h-uile cruth sèimhichte a chruthachadh anns a\' Chòrnais stannardach.<br>Chaidh a h-uile cruthan \'s a ghabhas a shealltainn an-seo.' local wikitext = wikicode if forms.th ~= forms.normal then notes = notes .. "</br>* le " .. links.full_link({lang = lang, alt = "th'", term = "th'"}, 'term') .. "</p>" wikitext = wikicodeth -- this is really dumb else notes = notes .. "</p>" end result = result .. '\n' result = result .. mw.ustring.gsub(wikitext, "{{{([a-z0-9_]+)}}}", function(param) return repl(forms, param) end) result = result .. frame:expandTemplate{ title = 'inflection-table-bottom', args = { notes = notes } } return result end return export adcrz4xxcwfv4v6ap03wy636wapokhj 89158 89157 2026-08-12T10:56:16Z Altronic 4137 89158 Scribunto text/plain local lang = require("Module:languages").getByCode("kw") local links = require("Module:links") local export = {} local function repl(forms, param) if param ~= "normal" and forms[param] == forms["normal"] then return "''chan urrainn dheth''" end local ret = links.full_link({ lang = lang, term = forms[param] }) return ret end local wikicode = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}} ]=] local wikicodeth = [=[ ! bun !! bog !! anaileach !! measgaichte |- | {{{normal}}} | {{{soft}}} | {{{aspirate}}} | {{{mixed}}}</br>{{{th}}}* ]=] function export.drawtable(frame) local args = require("Module:parameters").process(frame:getParent().args, { [1] = true }) local title = args[1] or require("Module:headword/data").pagename local forms = require("Module:kw-common").mutate(title) local result = frame:expandTemplate{ title = "inflection-table-top", args = { title = "Mùthadh dhe " .. links.full_link({ lang = lang, alt = title }, 'term'), palette = 'amber' } } local notes = '<p style="font-size:85%;"><i>An Aire:</i> Chan urrainn dheth a h-uile cruth sèimhichte a chruthachadh anns a\' Chòrnais stannardach.<br>Chaidh a h-uile cruthan \'s a ghabhas a shealltainn an-seo.' local wikitext = wikicode if forms.th ~= forms.normal then notes = notes .. "</br>* le " .. links.full_link({lang = lang, alt = "th'", term = "th'"}, 'term') .. "</p>" wikitext = wikicodeth -- this is really dumb else notes = notes .. "</p>" end result = result .. '\n' result = result .. mw.ustring.gsub(wikitext, "{{{([a-z0-9_]+)}}}", function(param) return repl(forms, param) end) result = result .. frame:expandTemplate{ title = 'inflection-table-bottom', args = { notes = notes } } return result end return export 622tn5a720pv1r95f8ystsh7vnucvkf Teamplaid:kw-mut 10 18068 89152 2026-08-12T10:46:39Z Altronic 4137 Chaidh duilleag le "{{#invoke:kw-mutation|drawtable}}" a chruthachadh 89152 wikitext text/x-wiki {{#invoke:kw-mutation|drawtable}} gw3eylgat0iiupsbpi49cm9xft1321c