Module:links: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 170: Line 170:
end
end


return "[[" .. (link.nocont and "" or "Contionary:") .. link.target .. "|" .. link.display .. "]]"
return "[[" .. (link.nocont and "wikt:" or "Contionary:") .. link.target .. "|" .. link.display .. "]]"
end
end


Line 263: Line 263:
else
else
-- There is no embedded wikilink, make a link using the parameters.
-- There is no embedded wikilink, make a link using the parameters.
text = makeLangLink({ target = text, display = data.alt }, data.lang, data.id, allow_self_link)
text = makeLangLink({ target = text, display = data.alt, nocont = data.nocont}, data.lang, data.id, allow_self_link)
end
end


Line 497: Line 497:
return table_concat(output) .. table_concat(categories)
return table_concat(output) .. table_concat(categories)
end
end


--[[ Strips links: deletes category links,
--[[ Strips links: deletes category links,

Navigation menu