<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://fr.mcuwiki.ddns.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ABiblio</id>
	<title>Module:Biblio - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://fr.mcuwiki.ddns.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ABiblio"/>
	<link rel="alternate" type="text/html" href="https://fr.mcuwiki.ddns.net/index.php?title=Module:Biblio&amp;action=history"/>
	<updated>2026-04-27T11:31:28Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://fr.mcuwiki.ddns.net/index.php?title=Module:Biblio&amp;diff=1301&amp;oldid=prev</id>
		<title>LIMAFOX76 : Page créée avec « -- Le module biblio centralise les différentes fonctions utiles pour les bibliographie et références.  local Biblio = {  }  require( &#039;Module:No globals&#039; ) local Outils… »</title>
		<link rel="alternate" type="text/html" href="https://fr.mcuwiki.ddns.net/index.php?title=Module:Biblio&amp;diff=1301&amp;oldid=prev"/>
		<updated>2020-11-15T19:38:23Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « -- Le module biblio centralise les différentes fonctions utiles pour les bibliographie et références.  local Biblio = {  }  require( &amp;#039;Module:No globals&amp;#039; ) local Outils… »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Le module biblio centralise les différentes fonctions utiles pour les bibliographie et références.&lt;br /&gt;
&lt;br /&gt;
local Biblio = {  }&lt;br /&gt;
&lt;br /&gt;
require( &amp;#039;Module:No globals&amp;#039; )&lt;br /&gt;
local Outils = require( &amp;#039;Module:Outils&amp;#039; )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Biblio.ouvrage = function ( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local Ouvrage = require( &amp;#039;Module:Biblio/Ouvrage&amp;#039; )&lt;br /&gt;
	return Ouvrage.ouvrage( args ) &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Biblio.chapitre = function ( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local Ouvrage = require( &amp;#039;Module:Biblio/Ouvrage&amp;#039; )&lt;br /&gt;
	return Ouvrage.chapitre( args ) &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Biblio.article = function ( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local Ouvrage = require( &amp;#039;Module:Biblio/Article&amp;#039; )&lt;br /&gt;
	return Ouvrage.article( args ) &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Biblio.lienWeb = function( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local Ouvrage = require( &amp;#039;Module:Biblio/Lien web&amp;#039; )&lt;br /&gt;
	return Ouvrage.lienWeb( args ) &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Biblio.lienBrise = function( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local Ouvrage = require( &amp;#039;Module:Biblio/Lien web&amp;#039; )&lt;br /&gt;
	return Ouvrage.lienBrise( args )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Biblio.dictionnaire = function( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local article = Outils.validTextArg( args, &amp;#039;notice&amp;#039;, &amp;#039;article&amp;#039;, &amp;#039;titre chapitre&amp;#039; )&lt;br /&gt;
	local Ouvrage = require( &amp;#039;Module:Biblio/Ouvrage&amp;#039; )&lt;br /&gt;
	if article then&lt;br /&gt;
		args[&amp;#039;titre chapitre&amp;#039;] = article&lt;br /&gt;
		return Ouvrage.chapitre( args ) &lt;br /&gt;
	else&lt;br /&gt;
		args.titre = args[&amp;#039;titre ouvrage&amp;#039;]&lt;br /&gt;
		args[&amp;#039;sous-titre&amp;#039;] = args[&amp;#039;sous-titre ouvrage&amp;#039;]&lt;br /&gt;
		args.auteur1 = args[&amp;#039;auteur ouvrage&amp;#039;]&lt;br /&gt;
		args.auteurs = args[&amp;#039;auteurs ouvrage&amp;#039;]&lt;br /&gt;
		return Ouvrage.ouvrage( args )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- catégorise une page en fonction du namespace&lt;br /&gt;
local function categorise(args)&lt;br /&gt;
	local namespaceCategorisation = { [0] = true, [4] = true, [10] = true, [12] = true, [14] = true, [100] = true, [104] = true }&lt;br /&gt;
	local category = args[1]&lt;br /&gt;
	local flag = args[2]&lt;br /&gt;
	if type(category) == &amp;#039;string&amp;#039;&lt;br /&gt;
		and flag &lt;br /&gt;
		and namespaceCategorisation[ mw.title.getCurrentTitle().namespace ]&lt;br /&gt;
	then&lt;br /&gt;
		return &amp;#039;[[Category:&amp;#039; .. category .. &amp;#039;]]&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Biblio.ISBN = function ( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	if Outils.trim( args[1] ) then&lt;br /&gt;
		local newArgs = { isbn = args[1] }&lt;br /&gt;
		local i = 2&lt;br /&gt;
		while args[i] do&lt;br /&gt;
			newArgs[ &amp;#039;isbn&amp;#039; .. i ] = args[i]&lt;br /&gt;
			i = i + 1&lt;br /&gt;
		end&lt;br /&gt;
		return Biblio.identifiantsBiblio( newArgs )&lt;br /&gt;
	else &lt;br /&gt;
		return &amp;#039;&amp;lt;small&amp;gt;([[wikipedia:fr:International Standard Book Number|ISBN]]&amp;amp;nbsp;inconnu)&amp;lt;/small&amp;gt;&amp;#039; .. categorise{ &amp;#039;ISBN nécessaire&amp;#039;, true }&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Biblio.rechercheIsbn = function( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local References = require( &amp;#039;Module:Biblio/Références&amp;#039; )&lt;br /&gt;
	local newArgs = { isbn = args[1], sansLabel = true, categ = {} }&lt;br /&gt;
	local isbn = References.isbn( newArgs ) or &amp;#039;&amp;#039;&lt;br /&gt;
	local categ = categorise{ &amp;#039;Pages avec ISBN invalide&amp;#039;, newArgs.categ.isbnInvalid }&lt;br /&gt;
	return isbn .. categ&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Biblio.EAN = function ( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	if Outils.trim( args[1] ) then&lt;br /&gt;
		local newArgs = { ean = args[1], categ = {} }&lt;br /&gt;
		local i = 2&lt;br /&gt;
		while args[i] do&lt;br /&gt;
			newArgs[ &amp;#039;ean&amp;#039; .. i ] = args[i]&lt;br /&gt;
			i = i + 1&lt;br /&gt;
		end&lt;br /&gt;
		return Biblio.identifiantsBiblio( newArgs )&lt;br /&gt;
	else &lt;br /&gt;
		return &amp;#039;&amp;lt;small&amp;gt;([[wikipedia:fr:EAN 13|EAN]]&amp;amp;nbsp;inconnu)&amp;lt;/small&amp;gt;[[Catégorie:EAN nécessaire]]&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Biblio.ISSN = function ( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	if Outils.trim( args[1] ) then&lt;br /&gt;
		local newArgs = { issn = args[1], categ = {} }&lt;br /&gt;
		local i = 2&lt;br /&gt;
		while args[i] do&lt;br /&gt;
			newArgs[ &amp;#039;issn&amp;#039; .. i ] = args[i]&lt;br /&gt;
			i = i + 1&lt;br /&gt;
		end&lt;br /&gt;
		return Biblio.identifiantsBiblio( newArgs )&lt;br /&gt;
	else &lt;br /&gt;
		return &amp;#039;&amp;lt;small&amp;gt;([[wikipedia:fr:International Standard Serial Number|ISSN]]&amp;amp;nbsp;inconnu)&amp;lt;/small&amp;gt;&amp;#039; .. categorise{ &amp;#039;ISSN nécessaire&amp;#039;, true }&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Biblio.rechercheIssn = function( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local References = require( &amp;#039;Module:Biblio/Références&amp;#039; )&lt;br /&gt;
	local newArgs = { issn = args[1], sansLabel = true, categ = {} }&lt;br /&gt;
	local issn = References.issn( newArgs ) or &amp;#039;&amp;#039;&lt;br /&gt;
	local categ = categorise{ &amp;#039;Pages avec ISSN invalide&amp;#039;, newArgs.categ.issnInvalid }&lt;br /&gt;
	return issn .. categ&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Biblio.BNF = function ( frame )&lt;br /&gt;
	local References = require( &amp;#039;Module:Biblio/Références&amp;#039; )&lt;br /&gt;
	return References.bnf( Outils.extractArgs( frame )[1] )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Biblio.enLigne = function ( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	local References = require( &amp;#039;Module:Biblio/Références&amp;#039; )&lt;br /&gt;
	return &amp;#039;&amp;lt;small&amp;gt;[&amp;#039; .. References.enLigne( args )  .. &amp;#039;]&amp;lt;/small&amp;gt;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Biblio.identifiantsBiblio = function( frame )&lt;br /&gt;
	local args = Outils.extractArgs( frame )&lt;br /&gt;
	args.categ = {}&lt;br /&gt;
	local References = require( &amp;#039;Module:Biblio/Références&amp;#039; )&lt;br /&gt;
	return References.affichageLiensExternes( args, nil, true, true ) &lt;br /&gt;
		.. categorise{ &amp;#039;Pages avec ISBN invalide&amp;#039;, args.categ.isbnInvalid }&lt;br /&gt;
		.. categorise{ &amp;#039;Pages avec ISSN invalide&amp;#039;, args.categ.issnInvalid }&lt;br /&gt;
		.. categorise{ &amp;#039;Pages avec EAN invalide&amp;#039;, args.categ.eanInvalid }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return Biblio&lt;/div&gt;</summary>
		<author><name>LIMAFOX76</name></author>
	</entry>
</feed>