Module:Convert/tester: Difference between revisions

Content deleted Content added
show name of template if it was forced
add prefix parameter to compare so (I hope) |prefix=:* will indent
Line 264:
 
local function _compare(frame, page_pairs)
local prefix = frame.args.prefix or '*'
local function diff_link(title1, title2)
return '<span class="plainlinks">[' ..
Line 295 ⟶ 296:
end
end
result:add('*'prefix .. link(title1) .. ' • ' .. link(title2) .. ' • ' .. label)
end
return result:join('\n')