Module:form of: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 1: Line 1:
local export = {}
local export = {}


local m_labels = require("Module:labels")
local m_links = require("Module:links")
local m_links = require("Module:links")
local m_data = mw.loadData("Module:form of/data")
local m_data = mw.loadData("Module:form of/data")
Line 52: Line 53:
label = make_labels(data.inflection)
label = make_labels(data.inflection)
else
else
label = data.form or "alternative form"
label = m_labels.make_labels(data.language, {[1] = data.form or "alternative form"}, data.nocat)
label = "[[Appendix:Glossary#" .. label .. "|" .. label .. "]]"
end
end
return '<span class="form-of">' .. label .. ' of ' .. link .. '</span>'
return '<span class="form-of">' .. label .. ' of ' .. link .. '</span>'

Navigation menu