Module:BibleQuote: Difference between revisions
no edit summary
Johnrdorazio (talk | contribs) (Created page with "local getArgs = require('Module:Arguments').getArgs local VERSIONS_AVAILABLE = { "NABRE", "NVBSE", "LUZZI", "CEI2008" } -- let's keep the needle in a haystack ordering ty...") |
Johnrdorazio (talk | contribs) No edit summary |
||
Line 32: | Line 32: | ||
function p._main( args ) | function p._main( args ) | ||
if (in_table(args.version, VERSIONS_AVAILABLE)) then | if (in_table(args.version, VERSIONS_AVAILABLE)) then | ||
return args.version | return args.version .. " is a valid version" | ||
else | else | ||
return args.version | return args.version .. " is not a valid version" | ||
end | end | ||
end | end | ||
return p | return p |