The VNDev Wiki underwent maintenance on March 14th, 2025, which is now complete. Semantic MediaWiki and associated extensions have been updated, and Scribunto and Semantic Scribunto have been installed. If you encounter any bugs or unexpected behavior, especially with VN jam statistics pages, please let the wiki admins know via the DevTalk Discord server.

Module:Jam series detailed stats

From VNDev Wiki
Revision as of 13:39, 16 March 2025 by Ironnori (talk | contribs) (oookkaaayy)

Documentation for this module may be created at Module:Jam series detailed stats/doc

local p = {}

function p.prepHistData( frame )

    local statType = frame.args['statType']
    local width = frame.args['width']
    local q = { '[[Jam occurrence:+]]', '?Has ' .. statType }
    q.format = 'max'
    local maxCount = mw.smw.ask( q )

    return maxCount[1][1]
    

    --local numIntervals = math.ceil(  )

end

return p