Module:ChapterVariables

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 05:53, 27 April 2021 by Vish (talk | contribs) (Created page with "local p = {} local chapterVariablesData = mw.loadData( 'Module:ChapterVariables/data' ) function p.chapterVariables( frame ) local chapterVariablesText = frame.args[1]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

local p = {}

local chapterVariablesData = mw.loadData( 'Module:ChapterVariables/data' )

function p.chapterVariables( frame )
    local chapterVariablesText = frame.args[1]

    return chapterVariablesData[chapterVariablesText] or chapterVariablesText or ""
end

return p