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

Couleurs plus fidèles à la réalité du jeu
mAucun résumé des modifications
Couleurs plus fidèles à la réalité du jeu
 
(4 versions intermédiaires par 3 utilisateurs non affichées)
Ligne 11 : Ligne 11 :
end
end
local FAMILIES = {
local FAMILIES = {
physique = {"PHYSIQUE", "#3f5e40"},
physique = {"PHYSIQUE", "#450E40"},
social  = {"SOCIAL",  "#b08c42"},
social  = {"SOCIAL",  "#B08B42"},
combat  = {"COMBAT",  "#a7302e"},
combat  = {"COMBAT",  "#A7312D"},
science  = {"SCIENCE",  "#24698e"},
science  = {"SCIENCE",  "#236A8D"},
tech    = {"TECH",    "#6e558b"},
tech    = {"TECH",    "#6F558A"},
}
}
local family_config = FAMILIES[family:lower()]
local family_config = FAMILIES[family:lower()]
Ligne 44 : Ligne 44 :
                 {type = "row", label = "Famille", value = family},
                 {type = "row", label = "Famille", value = family},
                 {type = "row", label = "Effets", value = "effets"},
                 {type = "row", label = "Effets", value = "effets"},
                {type = "row", label = "Rang", value = "rang"},
             },
             },
         },
         },