Module:NicknameVariables

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 04:42, 15 January 2023 by KojoB (talk | contribs) (for invoking nicknames [e.g. Josuke8 -> Josuke Higashikata (JoJolion)] ~ useful for templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

local p = {}

local nicknameVariablesData = mw.loadData( 'Module:NicknameVariables/data' )

function p.main( frame )
    local nicknameVariablesText = frame.args[1]

    return nicknameVariablesData[nicknameVariablesText] or nicknameVariablesText or ""
end

return p