FANDOM


local m = {}
 
-- ---------------------- --
--       STAGE NOTE       --
-- ---------------------- --
function m.stageNote(frame)
    local img, msg
    local arg = frame:getParent().args[1]
    if not arg then
        img = 'DownArrow'
        msg = "Always drops"
    elseif string.find(arg,'^%d$') then
        img = 'Item'..arg
        msg = "This layer always drop the specified items."
    else
        img = arg..'Card'
        msg = "This layer always drop a seal card"
    end
 
     return frame:expandTemplate{title='Texttip', args={'[[File:'..img..'.png|x20px|link=]]', msg, classes="stageNote"}}
end
 
return m
Community content is available under CC-BY-SA unless otherwise noted.