Moduli:CombinedViews

local p = {}

function p.views(frame)
    local title1 = "King Kiki"
    local views1 = 937
    local title2 = "King Kikii"
    local views2 = 1028
    local totalViews = views1 + views2

    return string.format(
        "The articles %s (viewed %d times) and %s (viewed %d times) have a combined total of %d views.",
        title1, views1, title2, views2, totalViews
    )
end

return p