Module:Face: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 52: Line 52:


     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 image-face')
         :attr("style", "width: " .. 116 * scale .. "px; height: " .. 60 * scale .. "px;")
         :attr("style", "width: " .. 116 * scale .. "px; height: " .. 60 * scale .. "px;")
         :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 .. "]]")