Module:Infobox/Faction

De Les Archives de Vault-Tec
Documentation du module

Ce module contient le paramétrage de l'infobox {{Infobox faction}}.

Documentation transclues de Module:Infobox/Faction/doc.
return {
	parts = {
		{ type = 'title', value = 'nom', subtitle = 'sous-titre', icon = 'icône', subhead = { games = 'jeux', subject = 'Faction', link = 'Factions' }},
		{ type = 'images', imageparameters = { 'image', 'image2', 'image3', 'image4', 'image5' }, captionparameter = { 'légende', 'image desc' }},
		{ type = 'table', title = 'Politique', rows = {
			{ type = 'row', label = 'Type', value = 'type' },
			{ type = 'row', label = 'Gouvernement', value = 'gouvernement' },
			{ type = 'row', label = 'Structure', value = 'structure' },
			{ type = 'row', label = 'Dissolution', value = 'dissolution' },
			{ type = 'row', label = 'Devise', value = 'devise' }
		}},
		{ type = 'table', title = 'Société', rows = {
			{ type = 'row', label = 'Fondateur', value = 'fondateur' },
			{ type = 'row', label = 'Chef', value = { 'chefs', 'leaders' }},
			{ type = 'row', label = 'Membre notable', value = 'membres' }
		}},
		{ type = 'table', title = 'Territoire', rows = {
			{ type = 'row', label = 'Capitale', value = 'capitale' },
			{ type = 'row', label = 'Territoire', value = 'territoire' },
			{ type = 'row', label = 'Quartier-général', value = 'qg' },
			{ type = 'row', label = 'Centre majeur', value = 'majeur' },
			{ type = 'row', label = 'Lieu notable', value = 'lieux' }
		}},
		{ type = 'table', title = 'Relation et association', rows = {
			{ type = 'row', label = 'Parent', value = 'parent' },
			{ type = 'row', label = 'Division', value = 'divisions' },
			{ type = 'row', label = 'Relation', value = 'relations' }
		}},
		{ 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' }
		}},
	}
}