« Module:Bandeau » : différence entre les versions

130 octets ajoutés ,  29 janvier 2023
aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 79 : Ligne 79 :
:wikitext(title)
:wikitext(title)
:done()
:done()
end
if text then
 
html_text
if text then
:newline()
:newline()
:wikitext(text)
end
elseif text then
html_text
html_text
:newline()
:newline()
:newline()
:wikitext(text)
:wikitext(text)
Ligne 114 : Ligne 117 :
title = string.format(
title = string.format(
default.stub_title_subject,
default.stub_title_subject,
subject.sujet
subject.subject
)
)
category = string.format(
category = string.format(
Ligne 130 : Ligne 133 :
titre = title,
titre = title,
texte = default.stub_text,
texte = default.stub_text,
image = subject.image,
["image taille"] = subject.size,
}) .. category
}) .. category
end
end