Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Yesno: Difference between revisions

Content added Content deleted
(simplify/optimise)
(use frame.args for testing)
Line 12: Line 12:
-- Allow arguments to override defaults. Arguments are taken from
-- Allow arguments to override defaults. Arguments are taken from
-- the parent frame; other arguments are ignored.
-- the parent frame; other arguments are ignored.
for k,v in pairs(frame:getParent().args) do
for k,v in pairs(frame.args) do
retvals[k] = v
retvals[k] = v
end
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.