Module:Urltowiki/sandbox: Difference between revisions

Content deleted Content added
put current_lang at the top, and make p local
check for the link variable when linking
Line 204:
 
-- Make the link
if displaylink then
if display then
wikitext = wikitext .. '|' .. display
end
wikitext = "[[" .. wikitext .. "]]"
end
wikitext = "[[" .. wikitext .. "]]"
return wikitext