<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://rishon.rcorp.fr/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://rishon.rcorp.fr/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox%2FBiographie"/>
	<link rel="alternate" type="text/html" href="https://rishon.rcorp.fr/index.php?title=Module:Infobox/Biographie&amp;action=history"/>
	<updated>2026-09-05T22:37:11Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://rishon.rcorp.fr/index.php?title=Module:Infobox/Biographie&amp;diff=393&amp;oldid=prev</id>
		<title>RubnK : 1 version importée</title>
		<link rel="alternate" type="text/html" href="https://rishon.rcorp.fr/index.php?title=Module:Infobox/Biographie&amp;diff=393&amp;oldid=prev"/>
		<updated>2025-06-26T12:20:28Z</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 26 juin 2025 à 14:20&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>RubnK</name></author>
	</entry>
	<entry>
		<id>https://rishon.rcorp.fr/index.php?title=Module:Infobox/Biographie&amp;diff=392&amp;oldid=prev</id>
		<title>wp&gt;Simon Villeneuve : +date</title>
		<link rel="alternate" type="text/html" href="https://rishon.rcorp.fr/index.php?title=Module:Infobox/Biographie&amp;diff=392&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 &amp;#039;Module:Infobox/Localdata&amp;#039;&lt;br /&gt;
local person = require &amp;#039;Module:Infobox/Fonctions/Personne&amp;#039;&lt;br /&gt;
local wd = require &amp;#039;Module:Wikidata&amp;#039;&lt;br /&gt;
local linguistic = require &amp;#039;Module:Linguistique&amp;#039;&lt;br /&gt;
local occupationformats = require &amp;#039;Module:Infobox/Biographie/Chartes&amp;#039;&lt;br /&gt;
&lt;br /&gt;
local function setformat() --retourne une table contenant la couleur principale de l&amp;#039;infobox et l&amp;#039;icône de titre&lt;br /&gt;
	local occupations = wd.getIds(localdata.item, {property = &amp;#039;P106&amp;#039;}) -- 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  {&amp;#039;Q&amp;#039;, {&amp;#039;par défaut&amp;#039;}, &amp;#039;#EEEEFF&amp;#039;, &amp;#039;#F6F6FF&amp;#039;, &amp;#039;#000000&amp;#039;, &amp;#039;defaut&amp;#039;}&lt;br /&gt;
	end&lt;br /&gt;
	occupations = wd.addVals(occupations, {property = &amp;#039;P279&amp;#039;}, 2) -- nombre d&amp;#039;é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) == &amp;#039;string&amp;#039; 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&amp;#039;occupation du sujet&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return {&amp;#039;Q&amp;#039;, {&amp;#039;par défaut&amp;#039;}, &amp;#039;#EEEEFF&amp;#039;, &amp;#039;#F6F6FF&amp;#039;, &amp;#039;#000000&amp;#039;, &amp;#039;defaut&amp;#039;}&lt;br /&gt;
end&lt;br /&gt;
local function setcharte()&lt;br /&gt;
	local charte = localdata[&amp;#039;charte&amp;#039;]&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) == &amp;#039;table&amp;#039; 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 , &amp;#039;{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width:100%&amp;quot;&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;|-&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;! style=&amp;quot;width:10%&amp;quot; | Charte&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;! style=&amp;quot;width:10%&amp;quot; | Élément Wikidata&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;! style=&amp;quot;width:10%&amp;quot; | Valeur primaire&amp;lt;br /&amp;gt;(fond titre)&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;! style=&amp;quot;width:10%&amp;quot; | Valeur secondaire&amp;lt;br /&amp;gt;(sous-titre)&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;! style=&amp;quot;width:10%&amp;quot; | Valeur tertiaire&amp;lt;br /&amp;gt;(texte titre)&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;! style=&amp;quot;width:10%&amp;quot; | Icône&amp;lt;br /&amp;gt;([[Projet:Infobox/Pictogramme|liste]])&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;! style=&amp;quot;width:20%&amp;quot; | rendu titre&amp;#039;)&lt;br /&gt;
	table.insert(lines , &amp;#039;! style=&amp;quot;width:20%&amp;quot; | rendu sous-titre&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
	table.sort(occupationformats, function (left, right)&lt;br /&gt;
	    return string.lower(left[2][1] or &amp;#039;&amp;#039;):gsub(&amp;#039;é&amp;#039;,&amp;#039;e&amp;#039;) &amp;lt; string.lower(right[2][1] or &amp;#039;&amp;#039;):gsub(&amp;#039;é&amp;#039;,&amp;#039;e&amp;#039;)&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) == &amp;#039;string&amp;#039; 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) == &amp;#039;string&amp;#039; 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 &amp;#039;#CCCCAA&amp;#039;&lt;br /&gt;
		local couleur2 = j[4] or &amp;#039;#D1CFAD&amp;#039;&lt;br /&gt;
		local couleur3 = j[5] or &amp;#039;#000000&amp;#039;&lt;br /&gt;
		local icone = j[6] or &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
		local pict = &amp;#039;&amp;#039;&lt;br /&gt;
		if icone ~= &amp;#039;&amp;#039; and icone ~= &amp;#039;defaut&amp;#039; then&lt;br /&gt;
			pict = mw.getCurrentFrame():extensionTag(&amp;#039;templatestyles&amp;#039;, &amp;#039;&amp;#039;, {src = &amp;#039;Infobox/Pictogramme/&amp;#039; .. mw.text.trim(icone) .. &amp;#039;.css&amp;#039;})&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		table.insert(lines , &amp;#039;|-&amp;#039;)&lt;br /&gt;
		table.insert(lines , &amp;#039;! style=&amp;quot;text-align:left;&amp;quot; | &amp;#039; .. charte)&lt;br /&gt;
		table.insert(lines , &amp;#039;| style=&amp;quot;text-align:center;&amp;quot; | &amp;#039; .. wd)&lt;br /&gt;
		table.insert(lines , &amp;#039;| style=&amp;quot;text-align:center;&amp;quot; | &amp;#039; .. couleur1)&lt;br /&gt;
		table.insert(lines , &amp;#039;| style=&amp;quot;text-align:center;&amp;quot; | &amp;#039; .. couleur2)&lt;br /&gt;
		table.insert(lines , &amp;#039;| style=&amp;quot;text-align:center;&amp;quot; | &amp;#039; .. couleur3)&lt;br /&gt;
		table.insert(lines , &amp;#039;| style=&amp;quot;text-align:center;&amp;quot; | &amp;#039; .. icone)&lt;br /&gt;
		table.insert(lines , &amp;#039;| class=&amp;quot;entete &amp;#039; .. icone .. &amp;#039;&amp;quot; style=&amp;quot;background-color:&amp;#039; .. couleur1 .. &amp;#039;; height:45px; text-align:center; font-size:150%; font-weight:bolder; color:&amp;#039; .. couleur3 .. &amp;#039;;&amp;quot; | titre &amp;#039; .. pict)&lt;br /&gt;
		table.insert(lines , &amp;#039;| style=&amp;quot;background-color:&amp;#039; .. couleur2 .. &amp;#039;; height:45px; text-align:center; font-size:150%; font-weight:bolder; color:#000000;&amp;quot; | sous-titre&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	table.insert(lines , &amp;#039;|}&amp;#039;)&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&amp;#039;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&amp;#039;infobox Biographie2 avec la charte &amp;quot; .. chartcatlabel&lt;br /&gt;
local categories&lt;br /&gt;
if not mw.title.makeTitle(&amp;#039;Catégorie&amp;#039;, chartcatlabel ).exists then chartcatlabel = &amp;quot;Article utilisant l&amp;#039;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 = &amp;#039;table&amp;#039;,title=&amp;#039;Biographie&amp;#039;,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 = &amp;#039;row&amp;#039;, label = &amp;#039;Époque&amp;#039;, value = &amp;#039;époque&amp;#039;, wikidata = {property = &amp;#039;P2348&amp;#039;}},&lt;br /&gt;
			person.nationality(),&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Allégeance&amp;#039;, plurallabel = &amp;#039;Allégeances&amp;#039;, value = &amp;#039;allégeance&amp;#039;, wikidata = {property = &amp;#039;P945&amp;#039;}},&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 = &amp;#039;row&amp;#039;,&lt;br /&gt;
				label = &amp;#039;Appartenance ethno-culturelle&amp;#039;,&lt;br /&gt;
				plurallabel = &amp;#039;Appartenances ethno-culturelles&amp;#039;,&lt;br /&gt;
				value= &amp;#039;ethnicité&amp;#039;,&lt;br /&gt;
				wikidata = {&lt;br /&gt;
				-- ethnicité veut dire appartenance à une ethnie d&amp;#039;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 = &amp;#039;P172&amp;#039;,&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(&amp;#039;Q3254959&amp;#039;, 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 = &amp;#039;table&amp;#039;,title=&amp;#039;Autres informations&amp;#039;,rows = {&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Événement clé&amp;#039;, plurallabel = &amp;#039;Événements clés&amp;#039;, value = &amp;#039;événement&amp;#039;, wikidata = {property = &amp;#039;P793&amp;#039; , expl = true , showdate = true}},&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Organisation&amp;#039;, plurallabel = &amp;#039;Organisations&amp;#039;, value = &amp;#039;organisation&amp;#039;, wikidata = {property = &amp;#039;P1268&amp;#039;, showdate = true}},&lt;br /&gt;
			person.employer(),&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Chaire&amp;#039;, plurallabel = &amp;#039;Chaires&amp;#039;, value = &amp;#039;chaire&amp;#039;, wikidata = {property = &amp;#039;P803&amp;#039;}},&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Domaine&amp;#039;, plurallabel = &amp;#039;Domaines&amp;#039;, value = &amp;#039;domaine&amp;#039;},  --l&amp;#039;appel à P101 doublonne généralement l&amp;#039;Activité &lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Propriétaire de&amp;#039;, value = &amp;#039;propriétaire de&amp;#039;, wikidata = {property = &amp;#039;P1830&amp;#039;, showdate = true, sorttype= &amp;#039;chronological&amp;#039;}},&lt;br /&gt;
			person.religion(),&lt;br /&gt;
			person.politicalparty(),&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Idéologie&amp;#039;, value = &amp;#039;idéologie&amp;#039;, wikidata = {property = &amp;#039;P1142&amp;#039;}},&lt;br /&gt;
			person.memberof(),&lt;br /&gt;
			{&lt;br /&gt;
				type = &amp;#039;row&amp;#039;,&lt;br /&gt;
				label = &amp;#039;[[Huit Bannières|Bannière]]&amp;#039;,&lt;br /&gt;
				plurallabel = &amp;#039;[[Huit Bannières|Bannières]]&amp;#039;,&lt;br /&gt;
				value = &amp;quot;bannière d&amp;#039;appartenance&amp;quot;,&lt;br /&gt;
				wikidata = {&lt;br /&gt;
					property = &amp;#039;P470&amp;#039;,&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, &amp;#039;[Bb]annière &amp;#039;, &amp;#039;&amp;#039;)&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 = &amp;#039;row&amp;#039;, label = &amp;#039;Grade&amp;#039;, plurallabel = &amp;#039;Grades&amp;#039;, value= {&amp;#039;grade dan/kyu&amp;#039;,&amp;#039;grade&amp;#039;}, wikidata = {property = &amp;#039;P468&amp;#039;, numval = &amp;#039;1&amp;#039;, sorttype = &amp;#039;inverted&amp;#039;, showdate = true, precision = &amp;#039;year&amp;#039;, removedupes = true}},&lt;br /&gt;
			--{type = &amp;#039;row&amp;#039;,label = &amp;#039;Commandement&amp;#039;,plurallabel = &amp;#039;Commandements&amp;#039;,wikidata = {property = &amp;#039;P598&amp;#039;, sorttype= &amp;#039;chronological&amp;#039;, showdate = true, precision = &amp;#039;year&amp;#039;},}, --propriété obsolète sur Wikidata&lt;br /&gt;
			--{type = &amp;#039;row&amp;#039;, label = &amp;#039;A participé à&amp;#039;, value = &amp;#039;participant à&amp;#039;, property = &amp;#039;P1344&amp;#039;}, --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 = &amp;#039;row&amp;#039;, label = &amp;#039;Monture&amp;#039;, plurallabel= &amp;#039;Montures&amp;#039;, value= &amp;#039;monture&amp;#039;, wikidata = {property = &amp;#039;P3091&amp;#039;, showdate = true}},&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Genre artistique&amp;#039;, plurallabel= &amp;#039;Genres artistiques&amp;#039;, value= {&amp;#039;genre artistique&amp;#039;,&amp;#039;genre&amp;#039;}, wikidata = {property = &amp;#039;P136&amp;#039;}},&lt;br /&gt;
			person.influencedby(),&lt;br /&gt;
			person.victims(),&lt;br /&gt;
			person.penalties(),&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Adjectifs dérivés&amp;#039;, value = &amp;#039;adjectifs dérivés&amp;#039;},&lt;br /&gt;
			person.website(),&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Blog officiel&amp;#039;, value = &amp;#039;blog officiel&amp;#039;, wikidata={property = &amp;#039;P1581&amp;#039; , conjtype = &amp;#039;new line&amp;#039;, showlang = true }},&lt;br /&gt;
			person.awards(),&lt;br /&gt;
			person.filmography(),&lt;br /&gt;
			person.discography(),&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Abréviation en botanique&amp;#039;, plurallabel = &amp;#039;Abréviations en botanique&amp;#039;, value = &amp;#039;abréviation en botanique&amp;#039;, wikidata={property = &amp;#039;P428&amp;#039;}},&lt;br /&gt;
			{type = &amp;#039;row&amp;#039;, label = &amp;#039;Abréviation en zoologie&amp;#039;, plurallabel = &amp;#039;Abréviations en zoologie&amp;#039;, value = &amp;#039;abréviation en zoologie&amp;#039;, wikidata={property = &amp;#039;P835&amp;#039;}},&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[&amp;#039;intitulé œuvres&amp;#039;] or localdata[&amp;#039;intitulé oeuvres&amp;#039;]},&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>wp&gt;Simon Villeneuve</name></author>
	</entry>
</feed>