Navigation menu

Module:Yesno: Difference between revisions

From The Kodiak Republic Wiki

use parent args again
(fix variable name)
(use parent args again)
Line 12:
-- Allow arguments to override defaults. Arguments are taken from
-- the parent frame; other arguments are ignored.
for k,v in pairs(frame:getParent().args) do
retvals[k] = v
end
 
val = frame:getParent().args[1]
 
-- First deal with the case if val is nil, then deal with other cases.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.