Anonymous user
Module:Inventory slot: Difference between revisions
m
no edit summary
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
Line 45: | Line 45: | ||
end | end | ||
if link then | if link and mw.title.new( link ).exists then | ||
slotContainer:wikitext( "[[" .. link .. "|" .. tostring( slot ) .. "]]" ) | slotContainer:wikitext( "<span style='" .. display .. "'>" .. "[[" .. link .. "|" .. tostring( slot ) .. "]]" .. "</span>" ) | ||
else | else | ||
slotContainer:wikitext( tostring( slot ) ) | slotContainer:wikitext( tostring( slot ) ) |