<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.noethoumy.fr/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox%2FMus%C3%A9e</id>
	<title>Module:Infobox/Musée - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.noethoumy.fr/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox%2FMus%C3%A9e"/>
	<link rel="alternate" type="text/html" href="https://wiki.noethoumy.fr/index.php?title=Module:Infobox/Mus%C3%A9e&amp;action=history"/>
	<updated>2026-04-27T22:18:57Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.noethoumy.fr/index.php?title=Module:Infobox/Mus%C3%A9e&amp;diff=300&amp;oldid=prev</id>
		<title>Jaggerwock : Page créée avec « local building = require &quot;Module:Infobox/Fonctions/Bâtiment&quot; local general = require &quot;Module:Infobox/Fonctions&quot; local localdata = require &quot;Module:Infobox/Localdata&quot; local wd = require &quot;Module:Wikidata&quot;  local buildingitem = localdata.item -- assuming same item for building and organization, but should not be the case, so checks the following: local buildingcandidates = wd.stringTable{entity = localdata.item, property = &#039;P276&#039;, displayformat = &#039;raw&#039;, excludespeci... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.noethoumy.fr/index.php?title=Module:Infobox/Mus%C3%A9e&amp;diff=300&amp;oldid=prev"/>
		<updated>2024-09-20T13:59:51Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « local building = require &amp;quot;Module:Infobox/Fonctions/Bâtiment&amp;quot; local general = require &amp;quot;Module:Infobox/Fonctions&amp;quot; local localdata = require &amp;quot;Module:Infobox/Localdata&amp;quot; local wd = require &amp;quot;Module:Wikidata&amp;quot;  local buildingitem = localdata.item -- assuming same item for building and organization, but should not be the case, so checks the following: local buildingcandidates = wd.stringTable{entity = localdata.item, property = &amp;#039;P276&amp;#039;, displayformat = &amp;#039;raw&amp;#039;, excludespeci... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local building = require &amp;quot;Module:Infobox/Fonctions/Bâtiment&amp;quot;&lt;br /&gt;
local general = require &amp;quot;Module:Infobox/Fonctions&amp;quot;&lt;br /&gt;
local localdata = require &amp;quot;Module:Infobox/Localdata&amp;quot;&lt;br /&gt;
local wd = require &amp;quot;Module:Wikidata&amp;quot;&lt;br /&gt;
&lt;br /&gt;
local buildingitem = localdata.item -- assuming same item for building and organization, but should not be the case, so checks the following:&lt;br /&gt;
local buildingcandidates = wd.stringTable{entity = localdata.item, property = &amp;#039;P276&amp;#039;, displayformat = &amp;#039;raw&amp;#039;, excludespecial = true}&lt;br /&gt;
if buildingcandidates then&lt;br /&gt;
	if (#buildingcandidates == 1) and (buildingcandidates ~= buildingitem) and wd.isInstance(&amp;#039;Q41176&amp;#039;, buildingcandidates[1], 2) or wd.isInstance(&amp;#039;Q1497364&amp;#039;, buildingcandidates[1], 1) then&lt;br /&gt;
		buildingitem =  buildingcandidates[1]&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function architects(item)&lt;br /&gt;
	local architects = wd.getClaims{entity = item, property = &amp;#039;P84&amp;#039;}&lt;br /&gt;
	if (not architects) then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	if #architects &amp;gt; 3 then&lt;br /&gt;
		return wd.formatAndCat{property = &amp;#039;P84&amp;#039;, entity = item, value = &amp;#039;Divers&amp;#039;}, 2&lt;br /&gt;
	end&lt;br /&gt;
	return wd.formatAndCat{entity = item, property = &amp;#039;P84&amp;#039;, claims = architects, conjtype = &amp;#039;comma&amp;#039;}, #architects&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return &lt;br /&gt;
	{&lt;br /&gt;
	maincolor = &amp;#039;C8D8FF&amp;#039;,&lt;br /&gt;
	parts =&lt;br /&gt;
    	{&lt;br /&gt;
			general.title(&amp;#039;musee&amp;#039;),&lt;br /&gt;
			general.logo(),&lt;br /&gt;
			building.mainimage(&amp;#039;Article à illustrer Musée&amp;#039;),&lt;br /&gt;
			{type = &amp;#039;table&amp;#039;, title = &amp;#039;Informations générales&amp;#039;, rows = {&lt;br /&gt;
				{type = &amp;quot;row&amp;quot;, label = &amp;quot;Nom local&amp;quot;, plurallabel = &amp;quot;Noms locaux&amp;quot;, value = &amp;quot;nom local&amp;quot;, wikidata = {property = &amp;quot;P1705&amp;quot;, showlang = true} },&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Type&amp;#039;, value = &amp;#039;type&amp;#039;, wikidata = {property = &amp;#039;P31&amp;#039;, excludevalues = {&amp;#039;Q33506&amp;#039;, &amp;#039;Q24699794&amp;#039;, &amp;#039;Q18411786&amp;#039;, &amp;#039;Q35989030&amp;#039;, &amp;#039;Q45400320&amp;#039;}}},&lt;br /&gt;
				building.opening(),&lt;br /&gt;
				building.closure(),&lt;br /&gt;
				building.operator(),&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Dirigeant&amp;#039;, plurallabel = &amp;#039;Dirigeants&amp;#039;, value = {&amp;#039;conservateur&amp;#039;, &amp;#039;dirigeant&amp;#039;}, wikidata = {property = &amp;#039;P1037&amp;#039;, showqualifiers = {&amp;#039;P794&amp;#039;}, showdate = true, precision = &amp;#039;year&amp;#039;, stilltrue = true, expl = true}}, -- TODO : forme féminine&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Président&amp;#039;, plurallabel = &amp;#039;Présidents&amp;#039;, blockers = {&amp;#039;dirigeant&amp;#039;, &amp;#039;conservateur&amp;#039;}, value = &amp;#039;président&amp;#039;, wikidata = {property = &amp;#039;P488&amp;#039;, showdate = true, precision = &amp;#039;year&amp;#039;, stilltrue = true}},-- TODO : forme féminine&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Surface&amp;#039;, value = &amp;#039;superficie&amp;#039;, wikidata = {property = &amp;#039;P2046&amp;#039;, targetunit = &amp;#039;square meter&amp;#039;}},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Visiteurs par an&amp;#039;, value = &amp;#039;visiteurs&amp;#039;, wikidata = {property = &amp;#039;P1174&amp;#039;, sorttype = &amp;#039;inverted&amp;#039;, numval = 1, showdate = true}},&lt;br /&gt;
				building.website(&amp;#039;site&amp;#039;),&lt;br /&gt;
				}&lt;br /&gt;
			 },&lt;br /&gt;
			{type = &amp;#039;table&amp;#039;, title = &amp;#039;Collections&amp;#039;, rows = {&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Collections&amp;#039;, value = &amp;#039;collections&amp;#039;}, --  liste des grandes collections du musée ;&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Genre&amp;#039;, value = &amp;#039;genre collections&amp;#039;},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Provenance&amp;#039;, value = &amp;#039;provenance collections&amp;#039;},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Époque&amp;#039;, value = &amp;#039;époque collections&amp;#039;},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = localdata[&amp;#039;libellé nombre objets&amp;#039;] or &amp;quot;Nombre d&amp;#039;objets&amp;quot;, value = {&amp;quot;nombre d&amp;#039;objets&amp;quot;, &amp;quot;œuvres&amp;quot;}},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = localdata[&amp;#039;libellé objets exposés&amp;#039;] or &amp;quot;Objets exposés&amp;quot;, value = &amp;quot;objets exposés&amp;quot;},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Label&amp;#039;, value = &amp;#039;label&amp;#039;}&lt;br /&gt;
				}&lt;br /&gt;
			 },			 				 &lt;br /&gt;
			{type = &amp;#039;table&amp;#039;, title = &amp;#039;Bâtiment&amp;#039;, rows = {&lt;br /&gt;
&lt;br /&gt;
				-- pourrait utiliser les fonction de Module:Infobox/Fonctions/Bâtiment si elles étaient adaptées pour utiliser un autre item que l&amp;#039;item principal de l&amp;#039;infobox&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Article dédié&amp;#039;, value = {&amp;#039;monument&amp;#039;, &amp;#039;article bâtiment&amp;#039;}, wikidata =&lt;br /&gt;
						function()&lt;br /&gt;
						if buildingitem and (buildingitem.id ~= localdata.item.id) and wd.siteLink(buildingitem) then&lt;br /&gt;
							str = wd.formatEntity(buildingitem)&lt;br /&gt;
							return wd.addLinkBack(str, item, &amp;#039;P276&amp;#039;)&lt;br /&gt;
						end&lt;br /&gt;
						end&lt;br /&gt;
				},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Construction&amp;#039;, value = &amp;#039;construction&amp;#039;, wikidata = function() return wd.keyDate(&amp;#039;Q385378&amp;#039;, buildingitem) end},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Architecte&amp;#039;, plurallabel = &amp;#039;Architectes&amp;#039;, value = &amp;#039;architecte&amp;#039;, wikidata = function() return architects(buildingitem) end},&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, label = &amp;#039;Protection&amp;#039;, value = &amp;#039;protection&amp;#039;, wikidata = function() return require(&amp;#039;Module:Classement&amp;#039;).formattedList(buildingitem) end}, &lt;br /&gt;
				}&lt;br /&gt;
			 },&lt;br /&gt;
			{type = &amp;#039;table&amp;#039;, title = &amp;#039;Sites&amp;#039;, rows = {&lt;br /&gt;
				{type = &amp;#039;row&amp;#039;, value = &amp;#039;Site&amp;#039;} -- alternative à &amp;quot;site&amp;quot; pour les institutions multi-implantations&lt;br /&gt;
				}&lt;br /&gt;
			},&lt;br /&gt;
			{type = &amp;#039;table&amp;#039;, title = &amp;#039;Localisation&amp;#039;, rows = {&lt;br /&gt;
				building.adminlocation(),&lt;br /&gt;
				building.mountainrange(),&lt;br /&gt;
				building.protectedarea(),&lt;br /&gt;
				building.coordinates(),&lt;br /&gt;
				}&lt;br /&gt;
			 },&lt;br /&gt;
			general.geoloc({marker = &amp;#039;museum&amp;#039;, default_zoom=13, markercolor = &amp;#039;#7CA2FF&amp;#039;}),&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Jaggerwock</name></author>
	</entry>
</feed>