Module:head/templates: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 51: Line 51:
term = mw.ustring.gsub(term, "^[^/]+/", "")
term = mw.ustring.gsub(term, "^[^/]+/", "")
end
end
local multiword = mw.ustring.find(term, "[_%s]")
return {
return {
term = term,
term = term,
Line 60: Line 61:
labels = p["label"],
labels = p["label"],
inflections = get_inflections(p[3]),
inflections = get_inflections(p[3]),
multiword = mw.ustring.find(term, "[_%s]"),
multiword = multiword,
}
}
end
end