62 737
modifications
Page créée avec « local localdata = require( 'Module:Infobox/Localdata' ) function resistance(localdata, type) local sd = localdata[type..' sd '] local rd = localdata[type..' rd '] if not sd or not rd then return nil end return '<span class="avt-infobox-armor-rdsd">' .. sd .. '</span> · <span class="avt-infobox-armor-rdsd">' .. rd .. ' %</span>' end return { parts = { { type = "table", rows = { { type = "row", label = "Nom", icon = "test", value = "nom" }, { t... » |
Aucun résumé des modifications |
||
Ligne 2 : | Ligne 2 : | ||
function resistance(localdata, type) | function resistance(localdata, type) | ||
local sd = localdata[type..' sd '] | local sd = localdata[type .. ' sd '] | ||
local rd = localdata[type..' rd '] | local rd = localdata[type .. ' rd '] | ||
if not sd or not rd then | if not sd or not rd then | ||
return nil | return nil | ||
Ligne 24 : | Ligne 24 : | ||
{ type = "row", label = "Points d'action", icon = "pa", value = "pa" }, | { type = "row", label = "Points d'action", icon = "pa", value = "pa" }, | ||
{ type = "row", label = "Dégâts de mêlée", icon = "mêlée", value = "dégâts de mêlée" }, | { type = "row", label = "Dégâts de mêlée", icon = "mêlée", value = "dégâts de mêlée" }, | ||
{ type = "row", label = "Chances de critique", icon = " | { type = "row", label = "Chances de critique", icon = "chance", value = "critiques" } | ||
}}, | }}, | ||
{ type = "table", title = "Résistances ([[Seuil de dégâts|SD]] · [[Résistance aux dégâts|RD]])", rows = { | { type = "table", title = "Résistances ([[Seuil de dégâts|SD]] · [[Résistance aux dégâts|RD]])", rows = { | ||
Ligne 38 : | Ligne 36 : | ||
}}, | }}, | ||
{ type = "list", title = "Attaques", items = { | { type = "list", title = "Attaques", items = { | ||
{ type = "item", value = "attaque1" }, | |||
{ type = "item", value = "attaque2" }, | |||
{ type = "item", value = "attaque3" }, | |||
{ type = "item", value = "attaque4" }, | |||
{ type = "item", value = "attaque5" } | |||
}}, | }}, | ||
{ type = "list", title = "Capacités", items = { | { type = "list", title = "Capacités", items = { | ||
{ type = "item", value = "capacité1" }, | |||
{ type = "item", value = "capacité2" }, | |||
{ type = "item", value = "capacité3" }, | |||
{ type = "item", value = "capacité4" }, | |||
{ type = "item", value = "capacité5" } | |||
}} | }} | ||
} | } | ||
} | } |
modifications