<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://encyclopedieacadienne.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox%2FBiographie</id>
	<title>Module:Infobox/Biographie - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://encyclopedieacadienne.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox%2FBiographie"/>
	<link rel="alternate" type="text/html" href="https://encyclopedieacadienne.org/index.php?title=Module:Infobox/Biographie&amp;action=history"/>
	<updated>2026-11-23T04:49:11Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://encyclopedieacadienne.org/index.php?title=Module:Infobox/Biographie&amp;diff=1434&amp;oldid=prev</id>
		<title>WikiSysop : 1 version importée</title>
		<link rel="alternate" type="text/html" href="https://encyclopedieacadienne.org/index.php?title=Module:Infobox/Biographie&amp;diff=1434&amp;oldid=prev"/>
		<updated>2025-10-31T20:40:37Z</updated>

		<summary type="html">&lt;p&gt;1 version importée&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 31 octobre 2025 à 16:40&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://encyclopedieacadienne.org/index.php?title=Module:Infobox/Biographie&amp;diff=1433&amp;oldid=prev</id>
		<title>fr&gt;Simon Villeneuve : +date</title>
		<link rel="alternate" type="text/html" href="https://encyclopedieacadienne.org/index.php?title=Module:Infobox/Biographie&amp;diff=1433&amp;oldid=prev"/>
		<updated>2024-04-26T14:28:08Z</updated>

		<summary type="html">&lt;p&gt;+date&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local localdata = require 'Module:Infobox/Localdata'&lt;br /&gt;
local person = require 'Module:Infobox/Fonctions/Personne'&lt;br /&gt;
local wd = require 'Module:Wikidata'&lt;br /&gt;
local linguistic = require 'Module:Linguistique'&lt;br /&gt;
local occupationformats = require 'Module:Infobox/Biographie/Chartes'&lt;br /&gt;
&lt;br /&gt;
local function setformat() --retourne une table contenant la couleur principale de l'infobox et l'icône de titre&lt;br /&gt;
	local occupations = wd.getIds(localdata.item, {property = 'P106'}) -- récupère les Qid des professions&lt;br /&gt;
&lt;br /&gt;
	if not occupations or (#occupations &amp;gt; 1) then -- si plusieurs occupations, on ne sait pas laquelle choisir&lt;br /&gt;
		return  {'Q', {'par défaut'}, '#EEEEFF', '#F6F6FF', '#000000', 'defaut'}&lt;br /&gt;
	end&lt;br /&gt;
	occupations = wd.addVals(occupations, {property = 'P279'}, 2) -- nombre d'étages de sous-classes à remonter&lt;br /&gt;
	for i, j in pairs(occupations) do&lt;br /&gt;
		for k, l in pairs(occupationformats) do&lt;br /&gt;
			local chartIds = l[1]&lt;br /&gt;
			if type(chartIds) == 'string' then chartIds = {chartIds} end&lt;br /&gt;
			if wd.isHere(chartIds,j) then&lt;br /&gt;
				return l --retourne une ligne de la table occupationformats, correspondant à l'occupation du sujet&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return {'Q', {'par défaut'}, '#EEEEFF', '#F6F6FF', '#000000', 'defaut'}&lt;br /&gt;
end&lt;br /&gt;
local function setcharte()&lt;br /&gt;
	local charte = localdata['charte']&lt;br /&gt;
	if charte then&lt;br /&gt;
		for i, j in pairs(occupationformats) do&lt;br /&gt;
			local knowncharts = j[2]&lt;br /&gt;
			if type(knowncharts) == 'table' then&lt;br /&gt;
				if wd.isHere(knowncharts,charte) then&lt;br /&gt;
					return j&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return setformat()&lt;br /&gt;
end&lt;br /&gt;
local personformat = setcharte()&lt;br /&gt;
&lt;br /&gt;
local function documentation()&lt;br /&gt;
&lt;br /&gt;
	local lines = {}&lt;br /&gt;
&lt;br /&gt;
	table.insert(lines , '{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width:100%&amp;quot;')&lt;br /&gt;
	table.insert(lines , '|-')&lt;br /&gt;
	table.insert(lines , '! style=&amp;quot;width:10%&amp;quot; | Charte')&lt;br /&gt;
	table.insert(lines , '! style=&amp;quot;width:10%&amp;quot; | Élément Wikidata')&lt;br /&gt;
	table.insert(lines , '! style=&amp;quot;width:10%&amp;quot; | Valeur primaire&amp;lt;br /&amp;gt;(fond titre)')&lt;br /&gt;
	table.insert(lines , '! style=&amp;quot;width:10%&amp;quot; | Valeur secondaire&amp;lt;br /&amp;gt;(sous-titre)')&lt;br /&gt;
	table.insert(lines , '! style=&amp;quot;width:10%&amp;quot; | Valeur tertiaire&amp;lt;br /&amp;gt;(texte titre)')&lt;br /&gt;
	table.insert(lines , '! style=&amp;quot;width:10%&amp;quot; | Icône&amp;lt;br /&amp;gt;([[Projet:Infobox/Pictogramme|liste]])')&lt;br /&gt;
	table.insert(lines , '! style=&amp;quot;width:20%&amp;quot; | rendu titre')&lt;br /&gt;
	table.insert(lines , '! style=&amp;quot;width:20%&amp;quot; | rendu sous-titre')&lt;br /&gt;
	&lt;br /&gt;
	table.sort(occupationformats, function (left, right)&lt;br /&gt;
	    return string.lower(left[2][1] or ''):gsub('é','e') &amp;lt; string.lower(right[2][1] or ''):gsub('é','e')&lt;br /&gt;
	end)&lt;br /&gt;
&lt;br /&gt;
	table.insert(occupationformats, 1, {nil, nil, nil, nil, nil, nil})&lt;br /&gt;
&lt;br /&gt;
	for i, j in pairs(occupationformats) do&lt;br /&gt;
		local wdsource = j[1] or {&amp;quot;Q&amp;quot;}&lt;br /&gt;
		if type(wdsource) == 'string' then wdsource = {wdsource} end&lt;br /&gt;
		local wd = table.concat(wdsource, &amp;quot;, &amp;quot;)&lt;br /&gt;
		local chartesource = j[2] or {&amp;quot;par défaut&amp;quot;}&lt;br /&gt;
		if type(chartesource) == 'string' then chartesource = {chartesource} end&lt;br /&gt;
		local charte = table.concat(chartesource or {}, &amp;quot;, &amp;quot;)&lt;br /&gt;
		local couleur1 = j[3] or '#CCCCAA'&lt;br /&gt;
		local couleur2 = j[4] or '#D1CFAD'&lt;br /&gt;
		local couleur3 = j[5] or '#000000'&lt;br /&gt;
		local icone = j[6] or ''&lt;br /&gt;
&lt;br /&gt;
		local pict = ''&lt;br /&gt;
		if icone ~= '' and icone ~= 'defaut' then&lt;br /&gt;
			pict = mw.getCurrentFrame():extensionTag('templatestyles', '', {src = 'Infobox/Pictogramme/' .. mw.text.trim(icone) .. '.css'})&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		table.insert(lines , '|-')&lt;br /&gt;
		table.insert(lines , '! style=&amp;quot;text-align:left;&amp;quot; | ' .. charte)&lt;br /&gt;
		table.insert(lines , '| style=&amp;quot;text-align:center;&amp;quot; | ' .. wd)&lt;br /&gt;
		table.insert(lines , '| style=&amp;quot;text-align:center;&amp;quot; | ' .. couleur1)&lt;br /&gt;
		table.insert(lines , '| style=&amp;quot;text-align:center;&amp;quot; | ' .. couleur2)&lt;br /&gt;
		table.insert(lines , '| style=&amp;quot;text-align:center;&amp;quot; | ' .. couleur3)&lt;br /&gt;
		table.insert(lines , '| style=&amp;quot;text-align:center;&amp;quot; | ' .. icone)&lt;br /&gt;
		table.insert(lines , '| class=&amp;quot;entete ' .. icone .. '&amp;quot; style=&amp;quot;background-color:' .. couleur1 .. '; height:45px; text-align:center; font-size:150%; font-weight:bolder; color:' .. couleur3 .. ';&amp;quot; | titre ' .. pict)&lt;br /&gt;
		table.insert(lines , '| style=&amp;quot;background-color:' .. couleur2 .. '; height:45px; text-align:center; font-size:150%; font-weight:bolder; color:#000000;&amp;quot; | sous-titre')&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	table.insert(lines , '|}')&lt;br /&gt;
	&lt;br /&gt;
	return table.concat(lines, &amp;quot;\n&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--catégorisation par charte utilisée (qu'elle soit déclarée manuellement ou déduite de Wikidata)&lt;br /&gt;
local chartcatlabel = (personformat[2] or {})[1] or &amp;quot;par défaut&amp;quot;&lt;br /&gt;
chartcatlabel = &amp;quot;Article utilisant l'infobox Biographie2 avec la charte &amp;quot; .. chartcatlabel&lt;br /&gt;
local categories&lt;br /&gt;
if not mw.title.makeTitle('Catégorie', chartcatlabel ).exists then chartcatlabel = &amp;quot;Article utilisant l'infobox Biographie2 avec une charte sans catégorie&amp;quot; end&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	maincolor = personformat[3],&lt;br /&gt;
	secondcolor = personformat[4],&lt;br /&gt;
	thirdcolor = personformat[5],&lt;br /&gt;
	categories = {chartcatlabel},&lt;br /&gt;
	documentation = documentation,&lt;br /&gt;
	parts = {&lt;br /&gt;
		&lt;br /&gt;
		person.title(personformat[6]),&lt;br /&gt;
		person.mainimage(),&lt;br /&gt;
		person.officialposition(),&lt;br /&gt;
		person.specialrole(),&lt;br /&gt;
		person.nobilitytitle(),&lt;br /&gt;
		{type = 'table',title='Biographie',rows = {&lt;br /&gt;
			person.birth(),&lt;br /&gt;
			person.death(),&lt;br /&gt;
			person.placeofburial(),&lt;br /&gt;
			person.othernames(),&lt;br /&gt;
			{type = 'row', label = 'Époque', value = 'époque', wikidata = {property = 'P2348'}},&lt;br /&gt;
			person.nationality(),&lt;br /&gt;
			{type = 'row', label = 'Allégeance', plurallabel = 'Allégeances', value = 'allégeance', wikidata = {property = 'P945'}},&lt;br /&gt;
			person.places(),&lt;br /&gt;
			person.education(),&lt;br /&gt;
			person.occupation(),&lt;br /&gt;
			person.floruit(),&lt;br /&gt;
			person.writinglanguage(),&lt;br /&gt;
			person.haswrittenfor(),&lt;br /&gt;
			{&lt;br /&gt;
				type = 'row',&lt;br /&gt;
				label = 'Appartenance ethno-culturelle',&lt;br /&gt;
				plurallabel = 'Appartenances ethno-culturelles',&lt;br /&gt;
				value= 'ethnicité',&lt;br /&gt;
				wikidata = {&lt;br /&gt;
				-- ethnicité veut dire appartenance à une ethnie d'après [[Ethnie]]&lt;br /&gt;
				-- essai de expl=true qui est normalement fait pour données mises à jour &lt;br /&gt;
				-- mais à utilité dans chaque article difficile à décider automatiquement&lt;br /&gt;
					property = 'P172',&lt;br /&gt;
					expl = true, &lt;br /&gt;
					-- désactivé si la valeur est une instance de race humaine (Q3254959)&lt;br /&gt;
					condition = function(claim)&lt;br /&gt;
						local v = wd.getMainId(claim)&lt;br /&gt;
						return (not wd.isInstance('Q3254959', v, 2))&lt;br /&gt;
					end&lt;br /&gt;
				}&lt;br /&gt;
			},&lt;br /&gt;
			person.family(),&lt;br /&gt;
			person.gens(),&lt;br /&gt;
			person.slavery(),&lt;br /&gt;
		}},&lt;br /&gt;
		{type = 'table',title='Autres informations',rows = {&lt;br /&gt;
			{type = 'row', label = 'Événement clé', plurallabel = 'Événements clés', value = 'événement', wikidata = {property = 'P793' , expl = true , showdate = true}},&lt;br /&gt;
			{type = 'row', label = 'Organisation', plurallabel = 'Organisations', value = 'organisation', wikidata = {property = 'P1268', showdate = true}},&lt;br /&gt;
			person.employer(),&lt;br /&gt;
			{type = 'row', label = 'Chaire', plurallabel = 'Chaires', value = 'chaire', wikidata = {property = 'P803'}},&lt;br /&gt;
			{type = 'row', label = 'Domaine', plurallabel = 'Domaines', value = 'domaine'},  --l'appel à P101 doublonne généralement l'Activité &lt;br /&gt;
			{type = 'row', label = 'Propriétaire de', value = 'propriétaire de', wikidata = {property = 'P1830', showdate = true, sorttype= 'chronological'}},&lt;br /&gt;
			person.religion(),&lt;br /&gt;
			person.politicalparty(),&lt;br /&gt;
			{type = 'row', label = 'Idéologie', value = 'idéologie', wikidata = {property = 'P1142'}},&lt;br /&gt;
			person.memberof(),&lt;br /&gt;
			{&lt;br /&gt;
				type = 'row',&lt;br /&gt;
				label = '[[Huit Bannières|Bannière]]',&lt;br /&gt;
				plurallabel = '[[Huit Bannières|Bannières]]',&lt;br /&gt;
				value = &amp;quot;bannière d'appartenance&amp;quot;,&lt;br /&gt;
				wikidata = {&lt;br /&gt;
					property = 'P470',&lt;br /&gt;
					labelformat = function(id)&lt;br /&gt;
						local label = wd.getLabel(id)&lt;br /&gt;
						if label then&lt;br /&gt;
							return mw.ustring.gsub(label, '[Bb]annière ', '')&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
				}&lt;br /&gt;
 			},&lt;br /&gt;
			person.military(),&lt;br /&gt;
			person.movement(),&lt;br /&gt;
			person.appearance(),&lt;br /&gt;
			person.sport(),&lt;br /&gt;
			{type = 'row', label = 'Grade', plurallabel = 'Grades', value= {'grade dan/kyu','grade'}, wikidata = {property = 'P468', numval = '1', sorttype = 'inverted', showdate = true, precision = 'year', removedupes = true}},&lt;br /&gt;
			--{type = 'row',label = 'Commandement',plurallabel = 'Commandements',wikidata = {property = 'P598', sorttype= 'chronological', showdate = true, precision = 'year'},}, --propriété obsolète sur Wikidata&lt;br /&gt;
			--{type = 'row', label = 'A participé à', value = 'participant à', property = 'P1344'}, --risque de générer de longue listes sans grande pertinence&lt;br /&gt;
			person.torero(),&lt;br /&gt;
			person.music(),&lt;br /&gt;
			person.contacts(),&lt;br /&gt;
			{type = 'row', label = 'Monture', plurallabel= 'Montures', value= 'monture', wikidata = {property = 'P3091', showdate = true}},&lt;br /&gt;
			{type = 'row', label = 'Genre artistique', plurallabel= 'Genres artistiques', value= {'genre artistique','genre'}, wikidata = {property = 'P136'}},&lt;br /&gt;
			person.influencedby(),&lt;br /&gt;
			person.victims(),&lt;br /&gt;
			person.penalties(),&lt;br /&gt;
			{type = 'row', label = 'Adjectifs dérivés', value = 'adjectifs dérivés'},&lt;br /&gt;
			person.website(),&lt;br /&gt;
			{type = 'row', label = 'Blog officiel', value = 'blog officiel', wikidata={property = 'P1581' , conjtype = 'new line', showlang = true }},&lt;br /&gt;
			person.awards(),&lt;br /&gt;
			person.filmography(),&lt;br /&gt;
			person.discography(),&lt;br /&gt;
			{type = 'row', label = 'Abréviation en botanique', plurallabel = 'Abréviations en botanique', value = 'abréviation en botanique', wikidata={property = 'P428'}},&lt;br /&gt;
			{type = 'row', label = 'Abréviation en zoologie', plurallabel = 'Abréviations en zoologie', value = 'abréviation en zoologie', wikidata={property = 'P835'}},&lt;br /&gt;
			person.archivesat(),&lt;br /&gt;
			person.feast(),&lt;br /&gt;
		}},&lt;br /&gt;
		person.honorifictitle(),&lt;br /&gt;
		person.voice(),&lt;br /&gt;
		person.prononciation(),&lt;br /&gt;
		person.blason(),&lt;br /&gt;
		person.sceau(),&lt;br /&gt;
		person.monogram(),&lt;br /&gt;
		person.flag(),&lt;br /&gt;
		person.logo(),&lt;br /&gt;
		person.works{title = localdata['intitulé œuvres'] or localdata['intitulé oeuvres']},&lt;br /&gt;
		person.signature(),&lt;br /&gt;
		person.plaque(),&lt;br /&gt;
		person.tombe(),&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>fr&gt;Simon Villeneuve</name></author>
	</entry>
</feed>