Module:Sandbox/Redlead07/Fonts Explained
local p =
function p.test(frame) text, format, color = frame.args.text or "Invalid", frame.args.format or "", frame.args.color or "color" local formats = string.match(format, "BI") or string.match(format, "B") or string.match(format, "I") or "" local txt = "" if text
"Invalid" and formats
"" then local txt2 = ""..text.."" txt = "
"..txt2.."" end if formats
"" and text ~= "Invalid" then local txt2 = text txt = "
"..txt2.."" end if formats
"BI" then local txt2 = ""..text.."" txt = "
"..txt2.."" end if formats
"B" then local txt2 = ""..text.."" txt = "
"..txt2.."" end if formats
"I" then local txt2 = ""..text.."" txt = "
"..txt2.."" end return txt.."
"end
return p