Module:BibleQuote: Difference between revisions

No edit summary
No edit summary
Line 33: Line 33:
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 "<span class=\"bibleQuoteRef\" style=\"color:Blue;font-weight:bold;cursor:pointer;\">" .. args.ref .. "</span><div data-ref=\"" .. args.ref .. "\" data-version=\"" .. args.version .. "\" class=\"BibleGetQuote\"></div>"
return "<span class=\"bibleQuoteRef\" style=\"color:Blue;font-weight:bold;cursor:pointer;\">" .. args.ref .. "</span><div data-ref=\"" .. args.ref .. "\" data-version=\"" .. args.version .. "\" class=\"bibleGetQuote\"></div>"
else
else
return args.version .. " is not a valid version"
return args.version .. " is not a valid version"