ماڈیول:Infobox/Artist

آزاد دائرۃ المعارف، ویکیپیڈیا سے

استعمال[ترمیم]

{{#استدعا:Infobox|function_name}}

local person = require "Module:Infobox/Fonctions/Person"
local wikidata = require "Module:2Wikidata"
return 
	{
	maincolor = '#7DA7D9',
	parts =
    	{
			person.title('artist'),
			person.mainimage(),
			{type = 'table',  rows = {
				person.birth(),
				person.death(),
				person.floruit(),
				person.othernames(),
				person.nationality(),
				--- arrangemement pour le paramètre "autres activités" (obsolète ?)
				function()
					if localdata['autres activités'] then
						return 	{type = 'row', label = 'Activités', value = 'activités'}
					else
						return person.occupation()
					end
				end,
				{type = 'row', label = 'Autres activités', value = 'autres activités'},
				----
				person.education(),
				person.contacts(),
				person.places(),
				person.movement(),
				person.patron(),
				person.influencedby(),
				person.influenced(),
				person.family(),
				person.awards(),
				person.website(),
				},
			},
		person.works({withlink = 'urwiki'}),
		{type = 'table', title = 'Compléments', rows = {
				{type = 'row', value = 'compléments'},
				},
			},
			person.signature(),
		}
	}