Module:Infobox/Personnalité

Documentation[voir] [modifier] [purger]

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

local general = require("Module:Infobox/Fonctions")

return {
	parts = {
		general.title(),
        general.image(),
		{
			type = "table",
			title = "Biographie",
			rows = {
				{ type = 'row', label = 'Surnom', value = 'surnom' },
				{ type = 'row', label = 'Naissance', value = 'naissance' },
				{ type = 'row', label = 'Mort', value = 'mort' }
			},
		},
		{
			type = "table",
			title = "Implication sur ''Starfield''",
			rows = {
				{ type = 'row', label = 'Jeux', value = function() return games end },
				{ type = 'row', label = 'Autres travaux', value = 'autres travaux' },
				{ type = 'row', label = 'Rôle', value = 'rôle' }
			},
		},
		{
			type = "table",
			title = "Liens externes",
			rows = {
				{ type = 'row', label = 'Site personnel', value = 'personnel', 'site' },
				{ type = 'row', label = 'Wikipédia', value = function() return wikipedia end },
				{ type = 'row', label = 'MobyGames', value = function() return mobygames end },
				{ type = 'row', label = 'IMDb', value = function() return imdb end },
				{ type = 'row', label = 'Facebook', value = 'facebook' },
				{ type = 'row', label = 'Instagram', value = 'instagram' },
				{ type = 'row', label = 'Twitter', value = 'twitter' },
				{ type = 'row', label = 'Spotify', value = 'spotify' },
				{ type = 'row', label = 'Deezer', value = 'deezer' },
				{ type = 'row', label = 'Youtube Music', value = 'youtube music', 'yt music' },
				{ type = 'row', label = 'Youtube', value = 'youtube' },
				{ type = 'row', label = 'Twitch', value = 'twitch' },
				{ type = 'row', label = 'TikTok', value = 'tiktok' },
				{ type = 'row', label = 'Reddit', value = 'reddit' },
				{ type = 'row', label = 'Tumblr', value = 'tumblr' },
				{ type = 'row', label = 'ArtStation', value = 'artstation' },
				{ type = 'row', label = 'LinkedIn', value = 'linkedin' },
				{ type = 'row', label = 'Autres liens', value = 'autres liens' }
			},
		},
	},
}