Module:mg-spel: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 103: Line 103:
local links = {}
local links = {}
for alt in gmatch(term, "([^%s,]+)") do
for alt in gmatch(term, "([^%s,]+)") do
if uc then alt = gsub(alt, "^.", mw.ustring.upper("%1")) end
if uc then alt = gsub(alt, "^(.)", mw.ustring.upper("%1")) end
alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]"
alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]"
table.insert(links, alt)
table.insert(links, alt)

Navigation menu