Anonimo

Modulo:DTBase: differenze tra le versioni

Da Wikitrek.
Link constructor fixed in case of "Category" link
(Item added to References)
(Link constructor fixed in case of "Category" link)
Riga 316: Riga 316:
Label = WTLink
Label = WTLink
end
end
if AddSemantic then
if string.find(WTLink, "Categoria:", 1, true) ~= nil  then
return "[[" .. WTLink .. "]]"
elseif AddSemantic then
return "[[" .. SMWProperty .. "::" .. WTLink .. "|" .. Label .. "]]"
return "[[" .. SMWProperty .. "::" .. WTLink .. "|" .. Label .. "]]"
else
else