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

129 octets ajoutés ,  29 janvier 2023
aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 6 : Ligne 6 :
note = "banner-note",
note = "banner-note",
section = "banner-section",
section = "banner-section",
simple = "bandeau-simple",
simple = "banner-simple",
}
}


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