Module:Face: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 53: Line 53:
     local image = mw.html.create('div'):addClass('image-cropped')
     local image = mw.html.create('div'):addClass('image-cropped')
     image:tag('div'):addClass('image-wrap')
     image:tag('div'):addClass('image-wrap')
         :attr({
         :attr("style", "width: " .. 116 * scale .. "px; height: " .. 60 * scale .. "px;")
            width = 116 * scale,
            height = 60 * scale
        })
         :wikitext("[[File:Character Face " .. charId .. "-FACE " .. pathIndex .. jobIndex .. transString .. ".png|link=" .. link .. lang .. "]]")
         :wikitext("[[File:Character Face " .. charId .. "-FACE " .. pathIndex .. jobIndex .. transString .. ".png|link=" .. link .. lang .. "]]")