Module:CustomStyling
From Idle Clans wiki
Documentation for this module may be created at Module:CustomStyling/doc
local p = {} function p.button(frame) -- Get parameters passed from the wiki page local args = frame.args local link = args[1] or "https://example.com" -- Default URL local text = args[2] or "Click Me" -- Default button text local color = args[3] or "#4CAF50" -- Default button color -- Return the HTML for a button return string.format('<a href="%s" style="display:inline-block;background-color:%s;color:white;padding:10px 20px;text-align:center;text-decoration:none;border-radius:5px;">%s</a>', link, color, text) end return p