« Module:Infobox/Consommable » : différence entre les versions

aucun résumé des modifications
Kharmitch (discussion | contributions)
mAucun résumé des modifications
Aucun résumé des modifications
 
(4 versions intermédiaires par un autre utilisateur non affichées)
Ligne 11 : Ligne 11 :
type = 'row',
type = 'row',
label = function(localdata) return localdata['aptitude' .. index] end,
label = function(localdata) return localdata['aptitude' .. index] end,
value = function(localdata) return localdata['effets aptitude' .. index] end
value = function(localdata) return localdata['effets aptitude' .. index] end,
}
}
end
end
Ligne 28 : Ligne 28 :
{ type = 'row', label = 'Faim', value = 'faim' },
{ type = 'row', label = 'Faim', value = 'faim' },
{ type = 'row', label = 'Maladie', value = 'maladie' },
{ type = 'row', label = 'Maladie', value = 'maladie' },
{ type = 'row', label = 'Points de vie', value = 'pv' },
{ type = 'row', label = 'Radiation', value = 'radiation' },
{ type = 'row', label = 'Radiation', value = 'radiation' },
{ type = 'row', label = 'Soif', value = 'soif' }
{ type = 'row', label = 'Soif', value = 'soif' }
Ligne 53 : Ligne 54 :
{ type = 'row', label = 'Recette', value = 'recette' }
{ type = 'row', label = 'Recette', value = 'recette' }
}},
}},
{ type = 'table', title = 'Technique', rows = {
{ type = 'table', title = 'Technique', collapseparameters = { collapsible = true, collapsed = true }, rows = {
{ type = 'row', label = 'Prototype ID', value = 'proto' },
{ type = 'row', label = 'Prototype ID', value = 'proto' },
{ type = 'row', label = 'Editor ID', value = 'editor id' },
{ type = 'row', label = 'Editor ID', value = 'editor id' },
{ type = 'row', label = '[[Form ID|Base ID]]', value = 'baseid' },
{ type = 'row', label = '[[Form ID]]', value = 'formid' },
{ type = 'row', label = 'Fichier message', value = 'message' }
{ type = 'row', label = 'Fichier message', value = 'message' }
}},
}},