<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wicri-demo.istex.fr/Wicri/Biologie/Animaux/en/index.php?action=history&amp;feed=atom&amp;title=Module%3ATable_style</id>
	<title>Module:Table style - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wicri-demo.istex.fr/Wicri/Biologie/Animaux/en/index.php?action=history&amp;feed=atom&amp;title=Module%3ATable_style"/>
	<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Biologie/Animaux/en/index.php?title=Module:Table_style&amp;action=history"/>
	<updated>2026-04-26T10:29:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.10</generator>
	<entry>
		<id>https://wicri-demo.istex.fr/Wicri/Biologie/Animaux/en/index.php?title=Module:Table_style&amp;diff=474&amp;oldid=prev</id>
		<title>Jacques Ducloy at 14:18, 12 January 2024</title>
		<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Biologie/Animaux/en/index.php?title=Module:Table_style&amp;diff=474&amp;oldid=prev"/>
		<updated>2024-01-12T14:18:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:18, 12 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;require('strict')&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-- &lt;/ins&gt;require('strict')&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local TableTools = require('Module:TableTools')&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local TableTools = require('Module:TableTools')&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local getArgs = require('Module:Arguments').getArgs&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local getArgs = require('Module:Arguments').getArgs&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jacques Ducloy</name></author>
		
	</entry>
	<entry>
		<id>https://wicri-demo.istex.fr/Wicri/Biologie/Animaux/en/index.php?title=Module:Table_style&amp;diff=437&amp;oldid=prev</id>
		<title>Jacques Ducloy: Created page with &quot;require('strict') local TableTools = require('Module:TableTools') local getArgs = require('Module:Arguments').getArgs local p = {}  local raw_styles = mw.loadData('Module:Tabl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Biologie/Animaux/en/index.php?title=Module:Table_style&amp;diff=437&amp;oldid=prev"/>
		<updated>2024-01-10T22:33:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;require(&amp;#039;strict&amp;#039;) local TableTools = require(&amp;#039;Module:TableTools&amp;#039;) local getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs local p = {}  local raw_styles = mw.loadData(&amp;#039;Module:Tabl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require('strict')&lt;br /&gt;
local TableTools = require('Module:TableTools')&lt;br /&gt;
local getArgs = require('Module:Arguments').getArgs&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local raw_styles = mw.loadData('Module:Table style/data')&lt;br /&gt;
local styles = {}&lt;br /&gt;
for k, v in pairs(raw_styles) do&lt;br /&gt;
	local style = v.style&lt;br /&gt;
	local names = v.aliases&lt;br /&gt;
	styles[k] = style&lt;br /&gt;
	for _, name in pairs(names) do&lt;br /&gt;
		styles[name] = style&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	local str = &amp;quot;&amp;quot;&lt;br /&gt;
	for _, arg in pairs(args) do&lt;br /&gt;
		if styles[arg] ~= nil and styles[arg] ~= '' then&lt;br /&gt;
	    	str = str .. styles[arg]&lt;br /&gt;
	    else&lt;br /&gt;
	    	str = str .. arg .. &amp;quot;;&amp;quot;&lt;br /&gt;
	    end&lt;br /&gt;
	end&lt;br /&gt;
	if str ~= '' then&lt;br /&gt;
		-- Only add attribute wrapper if any valid style codes were given.&lt;br /&gt;
		str = 'style=&amp;quot;' .. str .. '&amp;quot;'&lt;br /&gt;
	end&lt;br /&gt;
	return str&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.supported_codes(frame)&lt;br /&gt;
	frame = mw.getCurrentFrame()&lt;br /&gt;
	local t = mw.html.create('table')&lt;br /&gt;
		:addClass('wikitable')&lt;br /&gt;
		:addClass('sortable')&lt;br /&gt;
	t:tag('tr')&lt;br /&gt;
		:tag('th'):wikitext('Code')&lt;br /&gt;
		:tag('th'):wikitext('Aliases')&lt;br /&gt;
		:tag('th'):wikitext('Output CSS Style')&lt;br /&gt;
	for k, v in TableTools.sortedPairs(raw_styles, function(a, b) return a &amp;lt; b end) do&lt;br /&gt;
		local row = t:tag('tr')&lt;br /&gt;
		row:tag('td'):tag('code'):wikitext(k)&lt;br /&gt;
		local aliasList = frame:expandTemplate{&lt;br /&gt;
			title = 'bulleted list',&lt;br /&gt;
			args = v.aliases&lt;br /&gt;
		}&lt;br /&gt;
		row:tag('td'):wikitext(aliasList)&lt;br /&gt;
		row:tag('td'):tag('code'):wikitext(v.style)&lt;br /&gt;
	end&lt;br /&gt;
	return t&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Jacques Ducloy</name></author>
		
	</entry>
</feed>