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

540 octets ajoutés ,  7 janvier 2023
aucun résumé des modifications
Kharmitch (discussion | contributions)
Aucun résumé des modifications
Aucun résumé des modifications
 
(6 versions intermédiaires par 3 utilisateurs non affichées)
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 16 : Ligne 17 :
{ type = 'table', title = 'Territoire', rows = {
{ type = 'table', title = 'Territoire', rows = {
{ type = 'row', label = 'Capitale', value = 'capitale' },
{ type = 'row', label = 'Capitale', value = 'capitale' },
{ type = 'row', label = 'Territoire', value = 'territoire' },
{ type = 'row', label = 'Quartier-général', value = 'qg' },
{ type = 'row', label = 'Quartier-général', value = 'qg' },
{ type = 'row', label = 'Centre majeur', value = 'majeur' },
{ type = 'row', label = 'Centre majeur', value = 'majeur' },
Ligne 25 : Ligne 27 :
{ type = 'row', label = 'Relation', value = 'relations' }
{ type = 'row', label = 'Relation', value = 'relations' }
}},
}},
{ type = 'text', value = 'pied' }
{ type = 'table', title = 'Technique', collapseparameters = { collapsible = true, collapsed = true }, rows = {
{ 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 = 'text', value = 'pied' }
}},
}
}
}
}