<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://www.wikonsult.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AFix</id>
	<title>Module:Fix - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikonsult.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AFix"/>
	<link rel="alternate" type="text/html" href="https://www.wikonsult.org/index.php?title=Module:Fix&amp;action=history"/>
	<updated>2026-08-11T09:38:49Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://www.wikonsult.org/index.php?title=Module:Fix&amp;diff=6095&amp;oldid=prev</id>
		<title>Yves.bertin : Page créée avec « local p = {}  function p.necessiteCadre(frame)  	local source = frame.args[1]  	if source:match('\n[ \t]*\n') -- ligne vide (donc plusieurs paragraphes) 	or source:match('… »</title>
		<link rel="alternate" type="text/html" href="https://www.wikonsult.org/index.php?title=Module:Fix&amp;diff=6095&amp;oldid=prev"/>
		<updated>2020-05-13T14:09:11Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « local p = {}  function p.necessiteCadre(frame)  	local source = frame.args[1]  	if source:match(&amp;#039;\n[ \t]*\n&amp;#039;) -- ligne vide (donc plusieurs paragraphes) 	or source:match(&amp;#039;… »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.necessiteCadre(frame)&lt;br /&gt;
&lt;br /&gt;
	local source = frame.args[1]&lt;br /&gt;
&lt;br /&gt;
	if source:match('\n[ \t]*\n') -- ligne vide (donc plusieurs paragraphes)&lt;br /&gt;
	or source:match('\n[*#:]')    -- liste à puces, liste numérotée, indentation&lt;br /&gt;
	then&lt;br /&gt;
		return '1'&lt;br /&gt;
	else&lt;br /&gt;
		return ''&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.affichageBloc( args )&lt;br /&gt;
	local background = args.background or ''&lt;br /&gt;
	if background == '' then&lt;br /&gt;
		background = 'white'&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local html = mw.html.create( '' )&lt;br /&gt;
		:wikitext( '\n' )&lt;br /&gt;
		:tag( 'div' )&lt;br /&gt;
			:cssText( 'position:relative; margin-top:0.8em;')&lt;br /&gt;
			:tag( 'div' )&lt;br /&gt;
				:addClass( 'need_ref' )&lt;br /&gt;
				:cssText( 'cursor:help; overflow:hidden; padding-bottom:0;' )&lt;br /&gt;
				:css{ background = background }&lt;br /&gt;
				:attr{ title = args.titre }&lt;br /&gt;
				:wikitext( args[1], '\n' )&lt;br /&gt;
				:done()&lt;br /&gt;
			:tag( 'div' )&lt;br /&gt;
				:addClass( 'need_ref_tag' )&lt;br /&gt;
				:cssText( 'position:absolute; top:-0.6em; left:1em; padding:0 0.5em; font-size:80%; line-height:1em;')&lt;br /&gt;
				:css{ background = background }&lt;br /&gt;
				:wikitext( args.message )&lt;br /&gt;
		:allDone()&lt;br /&gt;
		&lt;br /&gt;
	return tostring( html )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.affichageInline( args )&lt;br /&gt;
	local html = mw.html.create( '' )&lt;br /&gt;
	&lt;br /&gt;
	if args[1] and args[1] ~= '' then&lt;br /&gt;
		html:tag( 'span' )&lt;br /&gt;
				:addClass( 'need_ref' )&lt;br /&gt;
				:cssText( 'cursor:help;' )&lt;br /&gt;
				:attr{ title = args.titre }&lt;br /&gt;
				:wikitext( args[1] )&lt;br /&gt;
				:done()&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	html:tag( 'sup' )&lt;br /&gt;
			:addClass( 'need_ref_tag' )&lt;br /&gt;
			:cssText ( 'padding-left:2px;' )&lt;br /&gt;
			:wikitext( args.message )&lt;br /&gt;
		:allDone()&lt;br /&gt;
		&lt;br /&gt;
	return tostring( html )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.affichageFix( frame )&lt;br /&gt;
	local args = frame.getParent and frame:getParent().args or frame&lt;br /&gt;
	&lt;br /&gt;
	if args[1] and args[1] ~= '' then&lt;br /&gt;
		&lt;br /&gt;
		local messageDate = ''&lt;br /&gt;
		if args.date and args.date ~= '' then&lt;br /&gt;
			messageDate = ' (demandé le ' .. args.date .. ')'&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		args.titre = ( args.infobulle or '' ):gsub( '%.$', '' ) .. messageDate .. '.'&lt;br /&gt;
		&lt;br /&gt;
		if args[1]:match('\n[ \t]*\n')&lt;br /&gt;
			or args[1]:match('\n[*#:]')&lt;br /&gt;
			or args.bloc and args.bloc ~= ''&lt;br /&gt;
		then&lt;br /&gt;
			return p.affichageBloc( args )&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return p.affichageInline( args )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Yves.bertin</name></author>
		
	</entry>
</feed>