Module:qhv-noun: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 45: Line 45:
else return "6", {word} end
else return "6", {word} end
end
end
end
function export.head(frame)
local arguments = frame.args
end
end


-- The main entry point.
-- The main entry point.
-- This is the only function that can be invoked from a template.
function export.show(frame)
function export.show(frame)
local parent_args = frame:getParent().args
local parent_args = frame:getParent().args
if mw.title.getCurrentTitle().nsText == "Template" then return end
local numbers = nil
local numbers = nil
local decl = {}
local decl = {}
local word = parent_args.word or PAGENAME
local word = parent_args.word or PAGENAME or mw.title.getCurrentTitle().nsText == "Template" and "vala"
local args = {}
local args = {}


Navigation menu