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

m
aucun résumé des modifications
Kharmitch (discussion | contributions)
mAucun résumé des modifications
Kharmitch (discussion | contributions)
mAucun résumé des modifications
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 13 : Ligne 13 :
end
end


return '<span class="avt-infobox-armor-rdsd">[[Seuil de dégâts|SD]] ' ..  sd ..  
return '<span class="avt-infobox-armor-rdsd">' ..  sd ..  
'</span> · <span class="avt-infobox-armor-rdsd">[[Résistance aux dégâts|RD]] ' ..
'</span> · <span class="avt-infobox-armor-rdsd">' ..
rd .. ' %</span>'
rd .. ' %</span>'
end
end
Ligne 24 : Ligne 24 :
{ type = 'text', value = 'test' },
{ type = 'text', value = 'test' },
{ type = 'table', title = 'Statistiques', rows = {
{ type = 'table', title = 'Statistiques', rows = {
{ type = 'row', label = 'Bonus de [[Classe d\'armure|CA]]', value = 'bonus ca' },
{ type = 'row', label = '[[Classe d\'armure]]', value = 'bonus ca' },
{ type = 'row', label = 'Effets', value = 'effets' },
{ type = 'row', label = 'Effets', value = 'effets' },
{ type = 'row', label = 'Poids', value = 'poids' },
{ type = 'row', label = 'Poids', value = 'poids' },
{ type = 'row', label = 'Valeur', value = 'valeur' }
{ type = 'row', label = 'Valeur', value = 'valeur' }
}},
}},
{ type = 'table', title = 'Résistances', rows = {
{ type = 'table', title = 'Résistances ([[Seuil de dégâts|SD]] · [[Résistance aux dégâts|RD]])', rows = {
{ type = 'row', label = 'Normal', value = function (localdata) return buildResistance(localdata, 'normal') end },
{ type = 'row', label = 'Normal', value = function (localdata) return buildResistance(localdata, 'normal') end },
{ type = 'row', label = 'Laser',  value = function (localdata) return buildResistance(localdata, 'laser') end },
{ type = 'row', label = 'Laser',  value = function (localdata) return buildResistance(localdata, 'laser') end },
Bureaucrate, commentadmin, emailconfirmed, Administrateurs d’interface, staff, Administrateur
62 737

modifications