« Module:Message box » : différence entre les versions

mAucun résumé des modifications
mAucun résumé des modifications
Ligne 7 : Ligne 7 :
     local root = mw.html.create()
     local root = mw.html.create()


     local article = root:tag('article')
     local article = root:tag('div')
     if self.image ~= nil then
     if self.image ~= nil then
         article:wikitext('[[' .. self.image .. ']]')
         article:wikitext('[[' .. self.image .. ']]')