Module:BibleQuote: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 36: Line 36:
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 "<span style=\"color:red;\">\"" .. args.version .. "\" is not a valid version supported by the BibleGet project</span>"
return "<span style=\"color:red;\">\"" .. args.version .. "\" is not a valid version supported by the BibleGet project</span>"