FANDOM


local p = {}
local notesData = mw.loadData('Module:Notes/data')
 
function p.getNote(frame)
    local shortcut= frame.args[1]
    shortcut=mw.ustring.lower(shortcut)
 
    local result={}
    if notesData[shortcut]
        then result=notesData[shortcut]
        else result=frame.args[1]
    end
    return result
end
return p
Community content is available under CC-BY-SA unless otherwise noted.