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

aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 9 : Ligne 9 :
if objectName or index == '' then
if objectName or index == '' then
objectTable = { type = 'table', title = objectName, separator = hasSeparator, rows = {
objectTable = { type = 'table', title = objectName, separator = hasSeparator, rows = {
{ type = 'table', title = 'Effets', rows = {
{ type = 'table', title = 'Caractéristiques', rows = {
{ type = 'row', label = 'Résistance aux dégâts', value = 'rd' .. index },
{ type = 'row', label = 'Résistance aux dégâts', value = 'rd' .. index },
{ type = 'row', label = 'Résistance aux radiations', value = 'rr' .. index },
{ type = 'row', label = 'Résistance aux radiations', value = 'rr' .. index },
Ligne 23 : Ligne 23 :
{ type = 'row', label = 'Effets', value = 'effets' },
{ type = 'row', label = 'Effets', value = 'effets' },
{ type = 'row', label = 'Réparation', value = { 'réparation' .. index, 'reparation' .. index }},
{ type = 'row', label = 'Réparation', value = { 'réparation' .. index, 'reparation' .. index }},
}},
{ type = 'table', title = 'Technique', collapseparameters = { collapsible = true, collapsed = true }, rows = {
{ type = 'row', label = '[[Editor ID]]', value = 'editorid' .. index },
{ type = 'row', label = '[[Editor ID]]', value = 'editorid' .. index },
{ type = 'row', label = '[[Form ID]]', value = 'formid' .. index }
{ type = 'row', label = '[[Form ID]]', value = 'formid' .. index }