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

Aucun résumé des modifications
mAucun résumé des modifications
Ligne 7 : Ligne 7 :


     local article = root:tag('article')
     local article = root:tag('article')
     article:wikitext('[[' .. self.image .. ']]')
     if self.image ~= nil then
        article:wikitext('[[' .. self.image .. ']]')
    end
     article:tag('h4'):wikitext(self.title)
     article:tag('h4'):wikitext(self.title)
     article:tag('p'):wikitext(self.content)
     article:tag('p'):wikitext(self.content)