Module:BibleQuote: Difference between revisions

no edit summary
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=&quot;bibleQuoteRef&quot; style=&quot;color:Blue;font-weight:bold;cursor:pointer;&quot;>" .. args.ref .. "</span><div data-ref=&quot;" .. args.ref .. "&quot; data-version=&quot;" .. args.version .. "&quot; class=&quot;BibleGetQuote&quot;></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"