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

552 octets ajoutés ,  7 janvier 2023
aucun résumé des modifications
Kharmitch (discussion | contributions)
Page créée avec « return { parts = { { type = 'title', value = 'nom', subtitle = 'sous-titre', icon = 'icône', subhead = { games = 'jeux', subject = 'Faction', link = 'Factions' }}, {… »
 
Aucun résumé des modifications
 
(7 versions intermédiaires par 4 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 = {
{ type = 'row', label = 'Fondateur', value = 'fondateur' },
{ type = 'row', label = 'Fondateur', value = 'fondateur' },
{ type = 'row', label = 'Chef', value = 'leaders' },
{ type = 'row', label = 'Chef', value = { 'chefs', 'leaders' }},
{ type = 'row', label = 'Membre notable', value = 'membres' }
{ type = 'row', label = 'Membre notable', value = 'membres' }
}},
}},
{ 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' }
}},
}
}
}
}