Changes

Jump to: navigation, search

Module:ItemLink

193 bytes added, 3 months ago
no edit summary
end
local icon = '[[File:' .. result['image'] .. '|32px|link=' .. result['_pageName'] .. '|frameless]]'
if result['dlcPackage'] ~= "" then
-- text = '<span style="position: relative; display: inline-block;"><span style="display: block;">[[File:' .. result['image'] .. '|32px|link=' .. result['_pageName'] .. '|frameless]]</span><span class="item-link-dlc-image">[[File:T DLC icon.png|32px|link=' .. result['_pageName'] .. ']]</span></span>'
--else
-- text = '[[File:' .. result['image'] .. '|32px|link=' .. result['_pageName'] .. '|frameless]]'
icon = '<span class="dlc-image-wrapper">' .. icon .. '</span>'
end
text = text .. icon
text = text .. '&nbsp;[['.. result['_pageName'] .. '|' .. h.switchString(result['_pageName'], inpText) ..']]'
util_vars.setVar('IL_O_' .. inpLemma, text)

Navigation menu