Jump to content

Module:Singles: Difference between revisions

Replaced quotation marks with double apostrophes to italicize titles
(Undid revision 868910974 by Zackmann08 (talk) this breaks the substitution for the deprecated parameters.)
 
(Replaced quotation marks with double apostrophes to italicize titles)
 
(One intermediate revision by the same user not shown)
Line 97: Line 97:
local nums = getArgNums(args, '[Ss]ingle ?')
local nums = getArgNums(args, '[Ss]ingle ?')
for _, num in ipairs(nums) do
for _, num in ipairs(nums) do
out = out .. '\n# <span class="item"><span class="fn">"' .. (args['single' .. num] or args['single ' .. num] or args['Single ' .. num]) .. '"</span>'
out = out .. '\n# <span class="item"><span class="fn">\'\'' .. (args['single' .. num] or args['single ' .. num] or args['Single ' .. num]) .. '\'\'</span>'
local date = args['single' .. num .. 'date'] or args['single ' .. num .. ' date'] or args['Single ' .. num .. ' date']
local date = args['single' .. num .. 'date'] or args['single ' .. num .. ' date'] or args['Single ' .. num .. ' date']
if date then
if date then