Module:Parameter names example: Difference between revisions

m
1 revision imported
w>Andrybak
(add popular variants of demonstration purposes parameters: nocat=yes, categories=no, and demo=yes)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 37: Line 37:
end
end
end
end
targs['nocat'] = 'yes';
targs['categories'] = 'no';
--targs['nocat'] = 'yes';
targs['demo'] = 'yes';
--targs['categories'] = 'no';
--targs['demo'] = 'yes';


-- Find the template name.
-- Find the template name.