Module:Infobox/Émission de radio

Cette page définit un module d'infobox. Pour les conseils sur l'usage de ce module, voyez Modèle:Infobox Émission de radio.


local general = require 'Module:Infobox/Fonctions'
local localdata = require 'Module:Infobox/Localdata'

return {
	maincolor = '#DCC7EB',
	parts = {
		general.title('communication', nil, nil, nil, true),
		general.mainimage('Article à illustrer Émission de radio'),
		{
			type = 'table',
			rows = {
				{ type = 'mixed', label = 'Ancien nom', value = 'ancien nom' },
				{	type = 'mixed',
					label = 'Création',
					value = 'création',
					wikidata = {
						property = {'P571', 'P580'},
						rank = valid,
					},
				},
				{	type = 'mixed',
					label = 'Disparition',
					value = 'disparition',
					wikidata = {
						property = {'P746', 'P582', 'P576'},
						rank = valid,
					},
				},
				general.website(),
			}
		},
		{
			type = 'table',
			title = 'Équipe',
			rows = {
				{	type = 'mixed',
					label = 'Présentation',
					value = 'présentateur',
					wikidata = {
						property = 'P371',
						rank = valid,
					},
				},
				{	type = 'mixed',
					label = 'Réalisation',
					value = 'réalisateur',
				},
				{	type = 'mixed',
					label = 'Rédaction  en chef',
					value = 'rédacteur en chef',
				},
			},
		},
		{
			type = 'table',
			title = 'Diffusion',
			rows = {
				{	type = 'mixed',
					label = 'Pays',
					value = 'pays',
					wikidata = {
						property = 'P495',
						rank = valid,
					},
				},
				{	type = 'mixed',
					label = 'Station',
					value = 'radio',
					wikidata = {
						property = 'P449',
						rank = valid,
					},
				},
				{	type = 'mixed',
					label = 'Langue',
					value = 'langue',
					wikidata = {
						property = 'P407',
						rank = valid,
					},
				},
				{	type = 'mixed',
					label = 'Horaires',
					value = 'plage de diffusion',
				},
				{	type = 'mixed',
					label = 'Rediffusion',
					value = 'rediffusion',
				},
				{	type = 'mixed',
					label = function()
						return mw.getCurrentFrame():preprocess('[[Podcasting|Podcast]]') end,
					value = 'podcast',
				},
			},
		},
	}
}