The site was updated to MediaWiki 1.43. If anything looks broken or there are glitches, report on the talk page or Discord in #wiki-support.
Module:Quotes
Documentation for this module may be created at Module:Quotes/doc
local p = {}
function p.render(frame)
local args = frame:getParent().args
local title = args.Title or "Quotes"
local icon = args.Icon or "Quote.png"
local bg = args.bg or "#b06767"
local bg2 = args.bg2 or "#9199a6"
bg = frame:expandTemplate{title = "Color", args = {bg}}
bg2 = frame:expandTemplate{title = "Color", args = {bg2}}
local rows = {}
local i = 1
while args[i] do
table.insert(rows, args[i])
i = i + 1
end
local boxArgs = {
Title = title,
Icon = icon,
bg = bg,
bg2 = bg2
}
for i, row in ipairs(rows) do
boxArgs["r"..i] = row
end
return frame:expandTemplate{title = "Box", args = boxArgs}
end
return p