Module:Clickable button: Difference between revisions
Appearance
Created page with "-- This module implements {{clickable button 2}}. local yesno = require('Module:Yesno') local p = {} local function renderTrackingCategories(args) if yesno(args.category) == false then return '' end -- we have no tracking categories currently but args.category should be -- supported into the future, so just return a string here for now return '' end local function makeLinkData(args) local data = {} -- Get the link and display values, -- and find whether..." |
No edit summary Tag: Reverted |
||
| Line 76: | Line 76: | ||
class = 'mw-ui-destructive' | class = 'mw-ui-destructive' | ||
else if colour == 'green' then | else if colour == 'green' then | ||
class = 'mw-ui- | class = 'mw-ui-button' | ||
data.backgroundColor = 'green' -- patched 10/20/23 | |||
end | end | ||
end | end | ||