Jump to content

Module:Catalog lookup link: Difference between revisions

no edit summary
(fix lock icon css class;)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 59: Line 59:
if is_set (link) then
if is_set (link) then
if is_set (display) then
if is_set (display) then
label = table.concat ({'[[', link, '|', display, ']]'}); -- make [[L|D]] wikilinked label
label = table.concat ({'[[wikipedia:', link, '|', display, ']]'}); -- make [[L|D]] wikilinked label
else
else
label = table.concat ({'[[', link, ']]'}); -- make [[L]] wikilinked label
label = table.concat ({'[[wikipedia:', link, '|', link, ']]'}); -- make [[L]] wikilinked label
end
end
elseif is_set (display) then
elseif is_set (display) then