Module:User:Theknightwho/maintenance

local html_create = mw.html.create

local export = {}

local function maintenance_box(color, title, image, text) return html_create("div") :addClass("noprint maintenance-box") :addClass("maintenance-box-" .. color) :css("background", "#" .. ( color == "red" and "FFE7DD" or			color == "yellow" and "FFFFDD" or			color == "grey" and "F0F0F0" or			color == "orange" and "FFDD44" or			"EEEEFF" ))		:css("width", "90%") :css("margin", "0.75em auto") :css("border", "1px dashed #" .. ( color == "red" and "884444" or			color == "yellow" and "888822" or			color == "grey" and "444444" or			color == "orange" and "DDAA00" or			"4444AA" ))		:css("padding", "0.25em") :tag("table") :tag("tr") :tag("td") :attr("rowspan", "2") :wikitext(image) :done :tag("th") :css("text-align", "left") :wikitext(title) :done :done :tag("tr") :tag("td") :wikitext(text) :allDone end

function export.rfv(frame) end

return export