<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FGonnym%2FinfoboxFR%2Fremoved</id>
	<title>Module:Sandbox/Gonnym/infoboxFR/removed - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FGonnym%2FinfoboxFR%2Fremoved"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Gonnym/infoboxFR/removed&amp;action=history"/>
	<updated>2026-04-20T21:27:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/Gonnym/infoboxFR/removed&amp;diff=145477&amp;oldid=prev</id>
		<title>imported&gt;Gonnym: ←Created page with &#039;local lang = &#039;fr&#039;  local i18n = { 	[&#039;see doc&#039;] = &#039;Template documentation&#039;, 	[&#039;edit&#039;] = &#039;edit&#039;, 	[&#039;edit code&#039;] = &#039;edit code&#039;, 	[&#039;edit item&#039;] = &#039;edit Wikidata&#039;, 	[...&#039;</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Gonnym/infoboxFR/removed&amp;diff=145477&amp;oldid=prev"/>
		<updated>2019-03-25T08:17:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=WP:AES&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:AES (page does not exist)&quot;&gt;←&lt;/a&gt;Created page with &amp;#039;local lang = &amp;#039;fr&amp;#039;  local i18n = { 	[&amp;#039;see doc&amp;#039;] = &amp;#039;Template documentation&amp;#039;, 	[&amp;#039;edit&amp;#039;] = &amp;#039;edit&amp;#039;, 	[&amp;#039;edit code&amp;#039;] = &amp;#039;edit code&amp;#039;, 	[&amp;#039;edit item&amp;#039;] = &amp;#039;edit Wikidata&amp;#039;, 	[...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local lang = &amp;#039;fr&amp;#039;&lt;br /&gt;
&lt;br /&gt;
local i18n = {&lt;br /&gt;
	[&amp;#039;see doc&amp;#039;] = &amp;#039;Template documentation&amp;#039;,&lt;br /&gt;
	[&amp;#039;edit&amp;#039;] = &amp;#039;edit&amp;#039;,&lt;br /&gt;
	[&amp;#039;edit code&amp;#039;] = &amp;#039;edit code&amp;#039;,&lt;br /&gt;
	[&amp;#039;edit item&amp;#039;] = &amp;#039;edit Wikidata&amp;#039;,&lt;br /&gt;
	[&amp;#039;tracking cat&amp;#039;] = &amp;quot;Page using data from Wikidata&amp;quot;,&lt;br /&gt;
	[&amp;#039;invalid block type&amp;#039;] = &amp;quot;Invalid data block in infobox module&amp;quot;,&lt;br /&gt;
	[&amp;#039;default cat&amp;#039;] = &amp;quot;Infobox maintenance&amp;quot;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function p.build()&lt;br /&gt;
	--TODO: Is rank even used somewhere?&lt;br /&gt;
	-- assign rank to the infobox, &amp;quot;secondary&amp;quot; means special formatting like no displaytitle for coordinates&lt;br /&gt;
	local infoboxRank = &amp;#039;main&amp;#039; -- main infobox of the page, with coordinates displayed in title etc.&lt;br /&gt;
	if (page.namespace ~= 0) then&lt;br /&gt;
		infoboxRank = &amp;#039;secondary&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- if infobox is linked to another item: rank = secondary&lt;br /&gt;
	if (localData.item) then&lt;br /&gt;
		local itemLink = mw.wikibase.sitelink(localData.item.id)&lt;br /&gt;
		local pageTitle = mw.title.getCurrentTitle().text&lt;br /&gt;
		if ((itemLink or &amp;#039;&amp;#039;) ~= pageTitle) then&lt;br /&gt;
			infoboxRank = &amp;#039;secondary&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	localData.infoboxRank = infoboxRank&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.buildFooter(params)&lt;br /&gt;
	if (not params) then&lt;br /&gt;
		params = {}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local class = &amp;#039;navbar noprint bordered &amp;#039; .. (params.class or &amp;#039;&amp;#039;)&lt;br /&gt;
	local style = params.style or {}&lt;br /&gt;
	style[&amp;#039;border-top&amp;#039;] = style[&amp;#039;border-top&amp;#039;] or &amp;#039;1px solid &amp;#039; .. mainColor&lt;br /&gt;
	&lt;br /&gt;
	local backLinkString = &amp;#039;[&amp;#039; .. tostring(mw.uri.fullUrl(page.name, &amp;#039;veaction=edit&amp;amp;section=0&amp;#039;)) .. &amp;#039; &amp;#039; .. i18n[&amp;#039;edit&amp;#039;] .. &amp;#039;]&amp;#039;&lt;br /&gt;
		.. &amp;#039; - [&amp;#039; .. tostring( mw.uri.fullUrl( page.name, &amp;#039;action=edit&amp;amp;section=0&amp;#039; ) ) .. &amp;#039; &amp;#039; .. i18n[&amp;#039;edit code&amp;#039;] .. &amp;#039;]&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	local itemLinkString&lt;br /&gt;
	if (localData.item) then&lt;br /&gt;
		itemLinkString = &amp;#039;[[d:&amp;#039; .. localData.item.id .. &amp;#039;|&amp;#039; .. i18n[&amp;#039;edit item&amp;#039;] .. &amp;#039;]]&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local editString = backLinkString&lt;br /&gt;
	if (itemLinkString) then&lt;br /&gt;
		editString = editString .. &amp;#039; - &amp;#039; .. itemLinkString&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local editLinkSpan =  mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
		:css({[&amp;#039;text-align&amp;#039;] = &amp;quot;left&amp;quot;})&lt;br /&gt;
		:addClass(&amp;#039;plainlinks&amp;#039;)&lt;br /&gt;
		:wikitext(editString)&lt;br /&gt;
		:done()&lt;br /&gt;
		&lt;br /&gt;
	local docLinkString = &amp;#039;[[Image:Info Simple.svg|12px|link=&amp;#039; .. localData.templateName .. &amp;#039;|&amp;#039; .. i18n[&amp;#039;see doc&amp;#039;] .. &amp;#039;]]&amp;#039;&lt;br /&gt;
	-- if this link does not always work, add a variable for the name of the [TODO: ?]&lt;br /&gt;
	local docLinkString = mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
		:css({[&amp;#039;text-align&amp;#039;] = &amp;quot;right&amp;quot;})&lt;br /&gt;
		:wikitext(doclinkstr)&lt;br /&gt;
		:done()&lt;br /&gt;
	&lt;br /&gt;
	local footer = mw.html.create(&amp;#039;p&amp;#039;)&lt;br /&gt;
		:addClass(class)&lt;br /&gt;
		:css(style)&lt;br /&gt;
		:node(editLinkSpan)&lt;br /&gt;
		:node(docLinkString)&lt;br /&gt;
	return footer&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.buildSuccession(params)&lt;br /&gt;
	if (color == &amp;#039;default&amp;#039;) then&lt;br /&gt;
		style[&amp;#039;background-color&amp;#039;] = &amp;#039;#E6E6E6&amp;#039;&lt;br /&gt;
		arrowLeft = &amp;#039;[[Fichier:Fleche-defaut-gauche.png|13px|alt=Précédent|link=]]&amp;#039;&lt;br /&gt;
		arrowRight = &amp;#039;[[Fichier:Fleche-defaut-droite.png|13px|alt=Précédent|link=]]&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		style[&amp;#039;background-color&amp;#039;] = color&lt;br /&gt;
		arrowLeft = &amp;#039;[[Fichier:Fleche-defaut-gauche-gris-32.png|13px|alt=Suivant|link=]]&amp;#039;&lt;br /&gt;
		arrowRight = &amp;#039;[[Fichier:Fleche-defaut-droite-gris-32.png|13px|alt=Suivant|link=]]&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>imported&gt;Gonnym</name></author>
	</entry>
</feed>