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

127 octets ajoutés ,  7 janvier 2023
aucun résumé des modifications
Kims (discussion | contributions)
Aucun résumé des modifications
Aucun résumé des modifications
 
(Une version intermédiaire par un autre utilisateur non affichée)
Ligne 7 : Ligne 7 :
{ type = 'row', label = 'Gouvernement', value = 'gouvernement' },
{ type = 'row', label = 'Gouvernement', value = 'gouvernement' },
{ type = 'row', label = 'Structure', value = 'structure' },
{ type = 'row', label = 'Structure', value = 'structure' },
{ type = 'row', label = 'Dissolution', value = 'dissolution' }
{ type = 'row', label = 'Dissolution', value = 'dissolution' },
{ type = 'row', label = 'Devise', value = 'devise' }
}},
}},
{ type = 'table', title = 'Société', rows = {
{ type = 'table', title = 'Société', rows = {
Ligne 28 : Ligne 29 :
{ type = 'table', title = 'Technique', collapseparameters = { collapsible = true, collapsed = true }, rows = {
{ type = 'table', title = 'Technique', collapseparameters = { collapsible = true, collapsed = true }, rows = {
{ type = 'row', label = '[[Form ID|Ref ID]]', value = 'refid' },
{ type = 'row', label = '[[Form ID|Ref ID]]', value = 'refid' },
{ type = 'row', label = '[[Form ID|Base ID]]', value = 'baseid' },
{ type = 'row', label = 'Mentions', value = function(localdata) return require('Module:Abréviation').links({ localdata['mentions'], sep = '<br/>' }) end },
{ type = 'row', label = 'Mentions', value = function(localdata) return require('Module:Abréviation').links({ localdata['mentions'], sep = '<br/>' }) end },
{ type = 'text', value = 'pied' }
{ type = 'text', value = 'pied' }