Module:head: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
(Created page with "local export = {} local get_by_code = require("Module:languages").get_by_code function export.show(frame) local args = (frame:getParent() and frame:getParent().args) or frame.args local language = get_by_code(args[1]) local term = mw.title.getCurrentTitle().text return "'''" .. term .. "'''" end return export")
 
No edit summary
Line 5: Line 5:
local args = (frame:getParent() and frame:getParent().args) or frame.args
local args = (frame:getParent() and frame:getParent().args) or frame.args
local language = get_by_code(args[1])
local language = get_by_code(args[1])
local term = mw.title.getCurrentTitle().text
local head = args["head"] or mw.title.getCurrentTitle().text
return "'''" .. term .. "'''"
return "'''" .. term .. "'''"
end
end


return export
return export