Module:Test: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 44: Line 44:


     local image = mw.html.create('div'):addClass('image-cropped')
     local image = mw.html.create('div'):addClass('image-cropped')
     image:tag('div'):addClass('image-wrap'):wikitext("[[File:Character Face " .. CHARACTER_ID[args[1]] .. " " .. pathIndex .. jobIndex .. ".png]]")
     image:tag('div'):addClass('image-wrap'):wikitext("[[File:Character Face " .. CHARACTER_ID[args[1]] .. "-FACE " .. pathIndex .. jobIndex .. ".png]]")


     return tostring(image)
     return tostring(image)