Modification de Module:Infobox
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 59 : | Ligne 59 : | ||
local text = getValue(part.value, part) or part.textdefaultvalue or mw.title.getCurrentTitle().text | local text = getValue(part.value, part) or part.textdefaultvalue or mw.title.getCurrentTitle().text | ||
local subtext = getValue(part.subtitle, part) or part.subtitledefaultvalue | local subtext = getValue(part.subtitle, part) or part.subtitledefaultvalue | ||
if subtext and (subtext ~= text) then | if subtext and (subtext ~= text) then | ||
text = text .. '<br /><small>' .. subtext .. '</small>' | text = text .. '<br /><small>' .. subtext .. '</small>' |