« Module:Infobox/Configs/Organisation » : différence entre les versions
De Nefald
Autres actions
Page créée avec « local config = { titre = function(args) return args.nom or '{{PAGENAME}}' end, image = function(args) if args.image then return { nom = args.image, taille = args.tailleimage or "250px", legende = args.legende } end return nil end, sections = { { titre = 'Informations Générales', champs = {... » |
Aucun résumé des modifications |
||
Ligne 14 : | Ligne 14 : | ||
return nil | return nil | ||
end, | end, | ||
typeField = { | |||
required = false, -- | |||
allowedValues = { | |||
['faction'] = { | |||
display = 'Faction', | |||
category = 'Factions' | |||
}, | |||
['tribu'] = { | |||
display = 'Tribu', | |||
category = 'Tribus' | |||
}, | |||
['ordre'] = { | |||
display = 'ordre', | |||
category = 'Ordres' | |||
}, | |||
['Guildes'] = { | |||
display = 'Guilde', | |||
category = 'Guildes' | |||
} | |||
}, | |||
errorMessage = 'Type non reconnu. Types autorisés : Traité, Alliance, Serment,Guerre' | |||
}, | |||
sections = { | sections = { |