10,731
edits
No edit summary |
TheNightAvl (talk | contribs) m (Made it so that back-formation shows "Back-formation from" instead of "Back-formation of") |
||
Line 170: | Line 170: | ||
if not text_data then return "" end | if not text_data then return "" end | ||
if type(text_data) == "function" then return text_data(nocap_arg) end | if type(text_data) == "function" then return text_data(nocap_arg) end | ||
return "[[Appendix:Glossary#" .. label .. "|" .. (nocap_arg and label or mw.ustring.gsub(label, "^%l", string.upper)) .. "]] | local prep = "of" | ||
if label == "back-formation" then prep = "from" end | |||
return "[[Appendix:Glossary#" .. label .. "|" .. (nocap_arg and label or mw.ustring.gsub(label, "^%l", string.upper)) .. "]] " .. prep .. " " | |||
end | end | ||