Modification de Module:Infobox/Entreprise
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 6 : | Ligne 6 : | ||
if localdata['type'] then | if localdata['type'] then | ||
local types = { | local types = { | ||
['avant-guerre'] = 'd\'avant-guerre', | ['avant-guerre'] = 'd\'avant-guerre', | ||
['après-guerre'] = 'd\'après-guerre', | ['après-guerre'] = 'd\'après-guerre', | ||
} | } | ||
Ligne 14 : | Ligne 12 : | ||
local type = types[localdata['type']:lower()] | local type = types[localdata['type']:lower()] | ||
if type then | if type then | ||
prefix = prefix..' '..type | |||
end | end | ||
end | end | ||
Ligne 30 : | Ligne 28 : | ||
}}, | }}, | ||
{ type = 'table', title = 'Personnalité', rows = { | { type = 'table', title = 'Personnalité', rows = { | ||
{ type = 'row', label = 'Fondateur', value = 'fondateur' }, | { type = 'row', label = 'Fondateur', value = 'fondateur' }, | ||
{ type = 'row', label = 'Employés', value = 'employés' } | { type = 'row', label = 'Employés', value = 'employés' } |