« Module:Infobox » : différence entre les versions
De Nefald
Autres actions
arg.type cheche une infobox |
local config = configs.load(infoboxType) |
||
| Ligne 15 : | Ligne 15 : | ||
-- Récupérer la configuration | -- Récupérer la configuration | ||
local config = configs | local config = configs.load(infoboxType) | ||
if not config then | if not config then | ||
return '<div class="error">Type d\'infobox inconnu : ' .. infoboxType .. '</div>' | return '<div class="error">Type d\'infobox inconnu : ' .. infoboxType .. '</div>' | ||