View source for Module:ChapterVariables
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
function p.getText(chapterText, subPage)
if pcall(mw.loadData,('Module:ChapterVariables/' .. subPage)) then
data = mw.loadData('Module:ChapterVariables/' .. subPage)
if data[chapterText] then
return data[chapterText]
end
end
if pcall(mw.loadData,('Module:MagazineVariables/' .. subPage)) then
data = mw.loadData('Module:MagazineVariables/' .. subPage)
if data[chapterText] then
return data[chapterText]
end
end
return false
end
function p.main(frame)
local chapterVariablesText = frame.args[1]
local chapterVariablesTitle = ""
local chapterVariablesResult = ""
000
1:0
Template used on this page:
Return to Module:ChapterVariables.