Module documentation

This module has various functions described below and should only be utilized on templates. To call a module in a template, insert {{#invoke:Notes|function name|various parameters}} onto the template.[ Data ]

For help on this module, please contact an administrator.
Visit Module:Notes/doc to edit this text! (How does this work?)

--[[Category:Lua modules]]
local p = {}
local notesData = mw.loadData('Module:Notes/data')

function p.getNote(frame)
    local shortcut= frame.args[1]
    local result={}
    if notesData[shortcut]
        then result=notesData[shortcut]
        else result=frame.args[1]
    return result
return p
Community content is available under CC-BY-SA unless otherwise noted.