« Module:Infobox/Configs/Plugin » : différence entre les versions
De Nefald
Autres actions
m catégorie construction |
m Ajout : social |
||
| (2 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
local sousPages = require('Module:Infobox/SousPages') | |||
local config = { | local config = { | ||
titre = function(args) | titre = function(args) | ||
| Ligne 48 : | Ligne 50 : | ||
['monde'] = 'Monde', | ['monde'] = 'Monde', | ||
['inventaire'] = 'Inventaire', | ['inventaire'] = 'Inventaire', | ||
['social'] = 'Social', | |||
['terraforming'] = 'Terraforming', | |||
['transport'] = 'Transport', | ['transport'] = 'Transport', | ||
['magie'] = 'Magie', | ['magie'] = 'Magie', | ||
| Ligne 214 : | Ligne 218 : | ||
{ cle = 'dépendance', label = 'Dépendance(s)' }, | { cle = 'dépendance', label = 'Dépendance(s)' }, | ||
{ cle = 'compatibilité', label = 'Compatible avec' } | { cle = 'compatibilité', label = 'Compatible avec' } | ||
} | |||
}, | |||
{ | |||
titre = 'Sous-pages', | |||
champs = { | |||
{ | |||
cle = 'sous_pages', | |||
process = function(value, args, frame) | |||
return sousPages.build(args, { sousPagesNamespace = 'Plugin' }, frame) | |||
end | |||
} | |||
} | } | ||
} | } | ||
| Ligne 238 : | Ligne 253 : | ||
['monde'] = 'Plugin de monde', | ['monde'] = 'Plugin de monde', | ||
['inventaire'] = 'Plugin d\'inventaire', | ['inventaire'] = 'Plugin d\'inventaire', | ||
['social'] = 'Plugin social', | |||
['terraforming'] = 'Plugin de terraforming', | |||
['transport'] = 'Plugin de transport', | ['transport'] = 'Plugin de transport', | ||
['magie'] = 'Plugin de magie', | ['magie'] = 'Plugin de magie', | ||