Content added Content deleted
(remove a do ... end block that has lost its original function) |
(allow category suppression with category=no) |
||
Line 1: | Line 1: | ||
-- This module implements {{clickable button 2}}. |
-- This module implements {{clickable button 2}}. |
||
local yesno = require('Module:Yesno') |
|||
local p = {} |
local p = {} |
||
Line 115: | Line 117: | ||
function p.renderTrackingCategories(args) |
function p.renderTrackingCategories(args) |
||
if yesno(args.category) == false then |
|||
return '' |
|||
end |
|||
local class = args.class and args.class:lower() |
local class = args.class and args.class:lower() |
||
if class == 'ui-button-green' |
if class == 'ui-button-green' |