Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:StarDisplay

From Mine in Abyss

Documentation for this module may be created at Module:StarDisplay/doc

local p = {}

function p.render(frame)
    local danger = tonumber(frame.args[1]) or 0
    local stars = ""

    for i = 1, danger do
        stars = stars .. "⭐"  -- Change this to "[[File:Star.png|15px]]" if using an image
    end

    return stars
end

return p