Module:Side box: Difference between revisions
fix metadata logic
(use Module:Yesno for the args.metadata code) |
(fix metadata logic) |
||
Line 27: | Line 27: | ||
-- Main table classes | -- Main table classes | ||
data.classes = {} | data.classes = {} | ||
if yesno(args.metadata | if yesno(args.metadata) ~= false then | ||
table.insert(data.classes, 'metadata') | table.insert(data.classes, 'metadata') | ||
end | end |