Module:labels: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
(Created page with "local export = {} function export.make_labels(language, labels, nocat) local function make_label(label_id, label) local display = label["display"] local glossary = label["glossary"] local wikipedia = label["Wikipedia"] if display ~= nil then return display end if glossary ~= nil then local g_url = "Appendix:Glossary#" .. (type(glossary) == "string" and glossary or label_id) return "" .. label_id "" end if wikipedia ~= nil then...")
 
No edit summary
Line 16: Line 16:
return label_id
return label_id
end
end
local l_data = mw.getData("Module:label/data")
local l_data = mw.loadData("Module:label/data")
local ret = "(''"
local ret = "(''"
local cats = {}
local cats = {}