https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ABrewerColors%2Fsandbox
Module:BrewerColors/sandbox - Revision history
2025-05-30T16:29:17Z
Revision history for this page on the wiki
MediaWiki 1.45.0-wmf.3
https://en.wikipedia.org/w/index.php?title=Module:BrewerColors/sandbox&diff=930056168&oldid=prev
Pppery at 23:10, 9 December 2019
2019-12-09T23:10:30Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:10, 9 December 2019</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local p = {}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local p = {}</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div>local CFCM = require "Module:ComplForColorModules"</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div>local CFCM = require "Module:ComplForColorModules<ins style="font-weight: bold; text-decoration: none;">/sandbox</ins>"</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local TNTT = require "Module:TNTTools"</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local TNTT = require "Module:TNTTools"</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local ARG = require "Module:Arguments"</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local ARG = require "Module:Arguments"</div></td>
</tr>
</table>
Pppery
https://en.wikipedia.org/w/index.php?title=Module:BrewerColors/sandbox&diff=929931466&oldid=prev
Pppery: Temp; I will probably rewrite Module:ComplForColorModules to not need this hack later
2019-12-09T04:34:08Z
<p>Temp; I will probably rewrite <a href="/wiki/Module:ComplForColorModules" title="Module:ComplForColorModules">Module:ComplForColorModules</a> to not need this hack later</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:34, 9 December 2019</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 436:</td>
<td colspan="2" class="diff-lineno">Line 436:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> removeBlanks = false</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> removeBlanks = false</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> })</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> })</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> local Nargs = require("Module:TableTools").length(args)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local N = tonumber(args[2])</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local N = tonumber(args[2])</div></td>
</tr>
</table>
Pppery
https://en.wikipedia.org/w/index.php?title=Module:BrewerColors/sandbox&diff=929930608&oldid=prev
Pppery at 04:25, 9 December 2019
2019-12-09T04:25:17Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:25, 9 December 2019</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 421:</td>
<td colspan="2" class="diff-lineno">Line 421:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> })</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> })</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> local N = <del style="font-weight: bold; text-decoration: none;">tonum</del>(<del style="font-weight: bold; text-decoration: none;">ar</del>)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> local N = <ins style="font-weight: bold; text-decoration: none;">tonumber</ins>(<ins style="font-weight: bold; text-decoration: none;">args[2]</ins>)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local WriteColor = args[3] or ''</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local WriteColor = args[3] or ''</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorFound = {}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorFound = {}</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Line 437:</td>
<td colspan="2" class="diff-lineno">Line 437:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> })</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> })</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> local N = <del style="font-weight: bold; text-decoration: none;">SA.RPosInt_Par </del>(args<del style="font-weight: bold; text-decoration: none;">, </del>2)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> local N = <ins style="font-weight: bold; text-decoration: none;">tonumber</ins>(args<ins style="font-weight: bold; text-decoration: none;">[</ins>2<ins style="font-weight: bold; text-decoration: none;">]</ins>)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColWidth = args[3]</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColWidth = args[3]</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorFound = {}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorFound = {}</div></td>
</tr>
</table>
Pppery
https://en.wikipedia.org/w/index.php?title=Module:BrewerColors/sandbox&diff=929930500&oldid=prev
Pppery: Start to replace [[Module:SimpleArgs]
2019-12-09T04:24:12Z
<p>Start to replace [[Module:SimpleArgs]</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:24, 9 December 2019</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local p = {}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local p = {}</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div>local <del style="font-weight: bold; text-decoration: none;">SA</del> = require "Module:<del style="font-weight: bold; text-decoration: none;">SimpleArgs</del>"</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div>local <ins style="font-weight: bold; text-decoration: none;">CFCM</ins> = require "Module:<ins style="font-weight: bold; text-decoration: none;">ComplForColorModules</ins>"</div></td>
</tr>
<tr>
<td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_4_0_rhs">⚫</a></td>
<td style="color: #202122; 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;"><div><a name="movedpara_2_0_lhs"></a>local <del style="font-weight: bold; text-decoration: none;">CFCM</del> = require "Module:<del style="font-weight: bold; text-decoration: none;">ComplForColorModules/sandbox</del>"</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local TNTT = require "Module:TNTTools"</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local TNTT = require "Module:TNTTools"</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_2_0_lhs">⚫</a></td>
<td style="color: #202122; 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;"><div><a name="movedpara_4_0_rhs"></a>local <ins style="font-weight: bold; text-decoration: none;">ARG</ins> = require "Module:<ins style="font-weight: bold; text-decoration: none;">Arguments</ins>"</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><br /></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local I18n = 'BrewerColors'</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local I18n = 'BrewerColors'</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Line 16:</td>
<td colspan="2" class="diff-lineno">Line 15:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local function I18nStr (S, ...)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>local function I18nStr (S, ...)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> return TNTT.<del style="font-weight: bold; text-decoration: none;">GetSTransWithParams</del> (I18n, S, {...})</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> return TNTT.<ins style="font-weight: bold; text-decoration: none;">GetMsgP</ins> (I18n, S, {...})</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>end</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>end</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Line 418:</td>
<td colspan="2" class="diff-lineno">Line 417:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>function p.ShowColors(frame)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>function p.ShowColors(frame)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> local args<del style="font-weight: bold; text-decoration: none;">,Nargs</del> = <del style="font-weight: bold; text-decoration: none;">SA</del>.<del style="font-weight: bold; text-decoration: none;">GetArgs </del>(frame<del style="font-weight: bold; text-decoration: none;">)</del></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> local args = <ins style="font-weight: bold; text-decoration: none;">ARG</ins>.<ins style="font-weight: bold; text-decoration: none;">getArgs</ins>(frame<ins style="font-weight: bold; text-decoration: none;">, {</ins></div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> removeBlanks = false</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> if Nargs > 0 then</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> })</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">N</del> = <del style="font-weight: bold; text-decoration: none;">SA</del>.<del style="font-weight: bold; text-decoration: none;">RPosInt_Par</del> (args<del style="font-weight: bold; text-decoration: none;">, 2</del>)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">ColorName, IsInv</ins> = <ins style="font-weight: bold; text-decoration: none;">CFCM</ins>.<ins style="font-weight: bold; text-decoration: none;">ColorNameInv</ins> (args)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">WriteColor</del> = <del style="font-weight: bold; text-decoration: none;">args[3] or ''</del></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">N</ins> = <ins style="font-weight: bold; text-decoration: none;">tonum(ar)</ins></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">ColorFound</del> = <del style="font-weight: bold; text-decoration: none;">{}</del></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">WriteColor</ins> = <ins style="font-weight: bold; text-decoration: none;">args[3] or ''</ins></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> local ColorFound = {}</ins></div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local boxes = {}</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local boxes = {}</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>for i=1, table.getn(ColorFound) do</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>for i=1, table.getn(ColorFound) do</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del> table.insert(boxes, CFCM.Box(ColorFound[i],WriteColor))</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> table.insert(boxes, CFCM.Box(ColorFound[i],WriteColor))</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> end </div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"><a class="mw-diff-movedpara-left" title="Paragraph was moved. Click to jump to new location." href="#movedpara_19_0_rhs">⚫</a></td>
<td style="color: #202122; 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;"><div><a name="movedpara_17_1_lhs"></a><del style="font-weight: bold; text-decoration: none;"> </del>return table.concat(boxes, " ")</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> end </div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> end </div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker"><a class="mw-diff-movedpara-right" title="Paragraph was moved. Click to jump to old location." href="#movedpara_17_1_lhs">⚫</a></td>
<td style="color: #202122; 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;"><div><a name="movedpara_19_0_rhs"></a><ins style="font-weight: bold; text-decoration: none;"> </ins>return table.concat(boxes, " ")</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>end</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>end</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>function p.Legends(frame)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>function p.Legends(frame)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> local args<del style="font-weight: bold; text-decoration: none;">,Nargs</del> = <del style="font-weight: bold; text-decoration: none;">SA</del>.<del style="font-weight: bold; text-decoration: none;">GetArgs </del>(frame<del style="font-weight: bold; text-decoration: none;">)</del></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> local args = <ins style="font-weight: bold; text-decoration: none;">ARG</ins>.<ins style="font-weight: bold; text-decoration: none;">getArgs</ins>(frame<ins style="font-weight: bold; text-decoration: none;">, {</ins></div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> removeBlanks = false</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> if Nargs > 0 then</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> })</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">N</del> = <del style="font-weight: bold; text-decoration: none;">SA</del>.<del style="font-weight: bold; text-decoration: none;">RPosInt_Par</del> (args<del style="font-weight: bold; text-decoration: none;">, 2</del>)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">ColorName, IsInv</ins> = <ins style="font-weight: bold; text-decoration: none;">CFCM</ins>.<ins style="font-weight: bold; text-decoration: none;">ColorNameInv</ins> (args)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">ColWidth</del> = args<del style="font-weight: bold; text-decoration: none;">[3]</del></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">N</ins> = <ins style="font-weight: bold; text-decoration: none;">SA.RPosInt_Par (</ins>args<ins style="font-weight: bold; text-decoration: none;">, 2)</ins></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">ColorFound</del> = <del style="font-weight: bold; text-decoration: none;">{}</del></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">ColWidth</ins> = <ins style="font-weight: bold; text-decoration: none;">args[3]</ins></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">Labels</del> = {}</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">ColorFound</ins> = {}</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">NLabels</del> = <del style="font-weight: bold; text-decoration: none;">0</del></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">Labels</ins> = <ins style="font-weight: bold; text-decoration: none;">{}</ins></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>local <del style="font-weight: bold; text-decoration: none;">IsTemplate</del> = <del style="font-weight: bold; text-decoration: none;">true</del></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>local <ins style="font-weight: bold; text-decoration: none;">NLabels</ins> = <ins style="font-weight: bold; text-decoration: none;">0</ins></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> local IsTemplate = true</ins></div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>ColorFound = p.GetColors (ColorName, IsInv, N, true)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div><del style="font-weight: bold; text-decoration: none;"> </del>return CFCM.LegendText (ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>return CFCM.LegendText (ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> end </div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>end </div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div>end </div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><br /></td>
</tr>
</table>
Pppery
https://en.wikipedia.org/w/index.php?title=Module:BrewerColors/sandbox&diff=925188941&oldid=prev
Jmarchn at 12:20, 8 November 2019
2019-11-08T12:20:34Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:20, 8 November 2019</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 421:</td>
<td colspan="2" class="diff-lineno">Line 421:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> if Nargs > 0 then</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> if Nargs > 0 then</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> local N = SA.<del style="font-weight: bold; text-decoration: none;">RPosInt_1Par</del> (args, 2)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> local N = SA.<ins style="font-weight: bold; text-decoration: none;">RPosInt_Par</ins> (args, 2)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local WriteColor = args[3] or ''</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local WriteColor = args[3] or ''</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorFound = {}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorFound = {}</div></td>
</tr>
<tr>
<td colspan="2" class="diff-lineno">Line 437:</td>
<td colspan="2" class="diff-lineno">Line 437:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> if Nargs > 0 then</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> if Nargs > 0 then</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorName, IsInv = CFCM.ColorNameInv (args)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; 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;"><div> local N = SA.<del style="font-weight: bold; text-decoration: none;">RPosInt_1Par</del> (args, 2)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; 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;"><div> local N = SA.<ins style="font-weight: bold; text-decoration: none;">RPosInt_Par</ins> (args, 2)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColWidth = args[3]</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColWidth = args[3]</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorFound = {}</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; 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;"><div> local ColorFound = {}</div></td>
</tr>
</table>
Jmarchn
https://en.wikipedia.org/w/index.php?title=Module:BrewerColors/sandbox&diff=924930737&oldid=prev
Pppery: Create sandbox for Module:Multicol removal
2019-11-06T20:17:52Z
<p>Create sandbox for <a href="/w/index.php?title=Module:Multicol&action=edit&redlink=1" class="new" title="Module:Multicol (page does not exist)">Module:Multicol</a> removal</p>
<p><b>New page</b></p><div>local p = {}<br />
<br />
local SA = require "Module:SimpleArgs"<br />
local CFCM = require "Module:ComplForColorModules/sandbox"<br />
local TNTT = require "Module:TNTTools"<br />
<br />
local I18n = 'BrewerColors'<br />
<br />
--[[ <br />
TRANSLATION, in :Commons:Data:I18n/BrewerColors.tab<br />
local RS_ColorNumInvalid = 'El nombre de colors ($1) està fora del rang'<br />
local RS_ColorNameInvalid = 'El nom del color ($1) no és vàlid'<br />
--]]<br />
local RS_ColorNumInvalid = 'ColorNumInvalid'<br />
local RS_ColorNameInvalid = 'ColorNameInvalid'<br />
<br />
local function I18nStr (S, ...)<br />
return TNTT.GetSTransWithParams (I18n, S, {...})<br />
end<br />
<br />
-- This product includes ColorName specifications and designs developed by Cynthia Brewer (http://colorbrewer.org/).<br />
local ColorYlGn = {<br />
{"f7fcb9","addd8e","31a354"},<br />
{"ffffcc","c2e699","78c679","238443"},<br />
{"ffffcc","c2e699","78c679","31a354","006837"},<br />
{"ffffcc","d9f0a3","addd8e","78c679","31a354","006837"},<br />
{"ffffcc","d9f0a3","addd8e","78c679","41ab5d","238443","005a32"},<br />
{"ffffe5","f7fcb9","d9f0a3","addd8e","78c679","41ab5d","238443","005a32"},<br />
{"ffffe5","f7fcb9","d9f0a3","addd8e","78c679","41ab5d","238443","006837","004529"},<br />
}<br />
local ColorYlGnBu = {<br />
{"edf8b1","7fcdbb","2c7fb8"},<br />
{"ffffcc","a1dab4","41b6c4","225ea8"},<br />
{"ffffcc","a1dab4","41b6c4","2c7fb8","253494"},<br />
{"ffffcc","c7e9b4","7fcdbb","41b6c4","2c7fb8","253494"},<br />
{"ffffcc","c7e9b4","7fcdbb","41b6c4","1d91c0","225ea8","0c2c84"},<br />
{"ffffd9","edf8b1","c7e9b4","7fcdbb","41b6c4","1d91c0","225ea8","0c2c84"},<br />
{"ffffd9","edf8b1","c7e9b4","7fcdbb","41b6c4","1d91c0","225ea8","253494","081d58"},<br />
}<br />
local ColorGnBu = {<br />
{"e0f3db","a8ddb5","43a2ca"},<br />
{"f0f9e8","bae4bc","7bccc4","2b8cbe"},<br />
{"f0f9e8","bae4bc","7bccc4","43a2ca","0868ac"},<br />
{"f0f9e8","ccebc5","a8ddb5","7bccc4","43a2ca","0868ac"},<br />
{"f0f9e8","ccebc5","a8ddb5","7bccc4","4eb3d3","2b8cbe","08589e"},<br />
{"f7fcf0","e0f3db","ccebc5","a8ddb5","7bccc4","4eb3d3","2b8cbe","08589e"},<br />
{"f7fcf0","e0f3db","ccebc5","a8ddb5","7bccc4","4eb3d3","2b8cbe","0868ac","084081"},<br />
}<br />
local ColorBuGn = {<br />
{"e5f5f9","99d8c9","2ca25f"},<br />
{"edf8fb","b2e2e2","66c2a4","238b45"},<br />
{"edf8fb","b2e2e2","66c2a4","2ca25f","006d2c"},<br />
{"edf8fb","ccece6","99d8c9","66c2a4","2ca25f","006d2c"},<br />
{"edf8fb","ccece6","99d8c9","66c2a4","41ae76","238b45","005824"},<br />
{"f7fcfd","e5f5f9","ccece6","99d8c9","66c2a4","41ae76","238b45","005824"},<br />
{"f7fcfd","e5f5f9","ccece6","99d8c9","66c2a4","41ae76","238b45","006d2c","00441b"},<br />
}<br />
local ColorPuBuGn = {<br />
{"ece2f0","a6bddb","1c9099"},<br />
{"f6eff7","bdc9e1","67a9cf","02818a"},<br />
{"f6eff7","bdc9e1","67a9cf","1c9099","016c59"},<br />
{"f6eff7","d0d1e6","a6bddb","67a9cf","1c9099","016c59"},<br />
{"f6eff7","d0d1e6","a6bddb","67a9cf","3690c0","02818a","016450"},<br />
{"fff7fb","ece2f0","d0d1e6","a6bddb","67a9cf","3690c0","02818a","016450"},<br />
{"fff7fb","ece2f0","d0d1e6","a6bddb","67a9cf","3690c0","02818a","016c59","014636"},<br />
}<br />
local ColorPuBu = {<br />
{"ece7f2","a6bddb","2b8cbe"},<br />
{"f1eef6","bdc9e1","74a9cf","0570b0"},<br />
{"f1eef6","bdc9e1","74a9cf","2b8cbe","045a8d"},<br />
{"f1eef6","d0d1e6","a6bddb","74a9cf","2b8cbe","045a8d"},<br />
{"f1eef6","d0d1e6","a6bddb","74a9cf","3690c0","0570b0","034e7b"},<br />
{"fff7fb","ece7f2","d0d1e6","a6bddb","74a9cf","3690c0","0570b0","034e7b"},<br />
{"fff7fb","ece7f2","d0d1e6","a6bddb","74a9cf","3690c0","0570b0","045a8d","023858"},<br />
}<br />
local ColorBuPu = {<br />
{"e0ecf4","9ebcda","8856a7"},<br />
{"edf8fb","b3cde3","8c96c6","88419d"},<br />
{"edf8fb","b3cde3","8c96c6","8856a7","810f7c"},<br />
{"edf8fb","bfd3e6","9ebcda","8c96c6","8856a7","810f7c"},<br />
{"edf8fb","bfd3e6","9ebcda","8c96c6","8c6bb1","88419d","6e016b"},<br />
{"f7fcfd","e0ecf4","bfd3e6","9ebcda","8c96c6","8c6bb1","88419d","6e016b"},<br />
{"f7fcfd","e0ecf4","bfd3e6","9ebcda","8c96c6","8c6bb1","88419d","810f7c","4d004b"},<br />
}<br />
local ColorRdPu = {<br />
{"fde0dd","fa9fb5","c51b8a"},<br />
{"feebe2","fbb4b9","f768a1","ae017e"},<br />
{"feebe2","fbb4b9","f768a1","c51b8a","7a0177"},<br />
{"feebe2","fcc5c0","fa9fb5","f768a1","c51b8a","7a0177"},<br />
{"feebe2","fcc5c0","fa9fb5","f768a1","dd3497","ae017e","7a0177"},<br />
{"fff7f3","fde0dd","fcc5c0","fa9fb5","f768a1","dd3497","ae017e","7a0177"},<br />
{"fff7f3","fde0dd","fcc5c0","fa9fb5","f768a1","dd3497","ae017e","7a0177","49006a"},<br />
}<br />
local ColorPuRd = {<br />
{"e7e1ef","c994c7","dd1c77"},<br />
{"f1eef6","d7b5d8","df65b0","ce1256"},<br />
{"f1eef6","d7b5d8","df65b0","dd1c77","980043"},<br />
{"f1eef6","d4b9da","c994c7","df65b0","dd1c77","980043"},<br />
{"f1eef6","d4b9da","c994c7","df65b0","e7298a","ce1256","91003f"},<br />
{"f7f4f9","e7e1ef","d4b9da","c994c7","df65b0","e7298a","ce1256","91003f"},<br />
{"f7f4f9","e7e1ef","d4b9da","c994c7","df65b0","e7298a","ce1256","980043","67001f"},<br />
}<br />
local ColorOrRd = {<br />
{"fee8c8","fdbb84","e34a33"},<br />
{"fef0d9","fdcc8a","fc8d59","d7301f"},<br />
{"fef0d9","fdcc8a","fc8d59","e34a33","b30000"},<br />
{"fef0d9","fdd49e","fdbb84","fc8d59","e34a33","b30000"},<br />
{"fef0d9","fdd49e","fdbb84","fc8d59","ef6548","d7301f","990000"},<br />
{"fff7ec","fee8c8","fdd49e","fdbb84","fc8d59","ef6548","d7301f","990000"},<br />
{"fff7ec","fee8c8","fdd49e","fdbb84","fc8d59","ef6548","d7301f","b30000","7f0000"},<br />
}<br />
local ColorYlOrRd = {<br />
{"ffeda0","feb24c","f03b20"},<br />
{"ffffb2","fecc5c","fd8d3c","e31a1c"},<br />
{"ffffb2","fecc5c","fd8d3c","f03b20","bd0026"},<br />
{"ffffb2","fed976","feb24c","fd8d3c","f03b20","bd0026"},<br />
{"ffffb2","fed976","feb24c","fd8d3c","fc4e2a","e31a1c","b10026"},<br />
{"ffffcc","ffeda0","fed976","feb24c","fd8d3c","fc4e2a","e31a1c","b10026"},<br />
{"ffffcc","ffeda0","fed976","feb24c","fd8d3c","fc4e2a","e31a1c","bd0026","800026"},<br />
}<br />
local ColorYlOrBr = {<br />
{"fff7bc","fec44f","d95f0e"},<br />
{"ffffd4","fed98e","fe9929","cc4c02"},<br />
{"ffffd4","fed98e","fe9929","d95f0e","993404"},<br />
{"ffffd4","fee391","fec44f","fe9929","d95f0e","993404"},<br />
{"ffffd4","fee391","fec44f","fe9929","ec7014","cc4c02","8c2d04"},<br />
{"ffffe5","fff7bc","fee391","fec44f","fe9929","ec7014","cc4c02","8c2d04"},<br />
{"ffffe5","fff7bc","fee391","fec44f","fe9929","ec7014","cc4c02","993404","662506"},<br />
}<br />
local ColorPurples = {<br />
{"efedf5","bcbddc","756bb1"},<br />
{"f2f0f7","cbc9e2","9e9ac8","6a51a3"},<br />
{"f2f0f7","cbc9e2","9e9ac8","756bb1","54278f"},<br />
{"f2f0f7","dadaeb","bcbddc","9e9ac8","756bb1","54278f"},<br />
{"f2f0f7","dadaeb","bcbddc","9e9ac8","807dba","6a51a3","4a1486"},<br />
{"fcfbfd","efedf5","dadaeb","bcbddc","9e9ac8","807dba","6a51a3","4a1486"},<br />
{"fcfbfd","efedf5","dadaeb","bcbddc","9e9ac8","807dba","6a51a3","54278f","3f007d"},<br />
}<br />
local ColorBlues = {<br />
{"deebf7","9ecae1","3182bd"},<br />
{"eff3ff","bdd7e7","6baed6","2171b5"},<br />
{"eff3ff","bdd7e7","6baed6","3182bd","08519c"},<br />
{"eff3ff","c6dbef","9ecae1","6baed6","3182bd","08519c"},<br />
{"eff3ff","c6dbef","9ecae1","6baed6","4292c6","2171b5","084594"},<br />
{"f7fbff","deebf7","c6dbef","9ecae1","6baed6","4292c6","2171b5","084594"},<br />
{"f7fbff","deebf7","c6dbef","9ecae1","6baed6","4292c6","2171b5","08519c","08306b"},<br />
}<br />
local ColorGreens = {<br />
{"e5f5e0","a1d99b","31a354"},<br />
{"edf8e9","bae4b3","74c476","238b45"},<br />
{"edf8e9","bae4b3","74c476","31a354","006d2c"},<br />
{"edf8e9","c7e9c0","a1d99b","74c476","31a354","006d2c"},<br />
{"edf8e9","c7e9c0","a1d99b","74c476","41ab5d","238b45","005a32"},<br />
{"f7fcf5","e5f5e0","c7e9c0","a1d99b","74c476","41ab5d","238b45","005a32"},<br />
{"f7fcf5","e5f5e0","c7e9c0","a1d99b","74c476","41ab5d","238b45","006d2c","00441b"},<br />
}<br />
local ColorOranges = {<br />
{"fee6ce","fdae6b","e6550d"},<br />
{"feedde","fdbe85","fd8d3c","d94701"},<br />
{"feedde","fdbe85","fd8d3c","e6550d","a63603"},<br />
{"feedde","fdd0a2","fdae6b","fd8d3c","e6550d","a63603"},<br />
{"feedde","fdd0a2","fdae6b","fd8d3c","f16913","d94801","8c2d04"},<br />
{"fff5eb","fee6ce","fdd0a2","fdae6b","fd8d3c","f16913","d94801","8c2d04"},<br />
{"fff5eb","fee6ce","fdd0a2","fdae6b","fd8d3c","f16913","d94801","a63603","7f2704"},<br />
}<br />
local ColorReds = {<br />
{"fee0d2","fc9272","de2d26"},<br />
{"fee5d9","fcae91","fb6a4a","cb181d"},<br />
{"fee5d9","fcae91","fb6a4a","de2d26","a50f15"},<br />
{"fee5d9","fcbba1","fc9272","fb6a4a","de2d26","a50f15"},<br />
{"fee5d9","fcbba1","fc9272","fb6a4a","ef3b2c","cb181d","99000d"},<br />
{"fff5f0","fee0d2","fcbba1","fc9272","fb6a4a","ef3b2c","cb181d","99000d"},<br />
{"fff5f0","fee0d2","fcbba1","fc9272","fb6a4a","ef3b2c","cb181d","a50f15","67000d"},<br />
}<br />
local ColorGreys = {<br />
{"f0f0f0","bdbdbd","636363"},<br />
{"f7f7f7","cccccc","969696","525252"},<br />
{"f7f7f7","cccccc","969696","636363","252525"},<br />
{"f7f7f7","d9d9d9","bdbdbd","969696","636363","252525"},<br />
{"f7f7f7","d9d9d9","bdbdbd","969696","737373","525252","252525"},<br />
{"ffffff","f0f0f0","d9d9d9","bdbdbd","969696","737373","525252","252525"},<br />
{"ffffff","f0f0f0","d9d9d9","bdbdbd","969696","737373","525252","252525","000000"},<br />
}<br />
local ColorPuOr = {<br />
{"f1a340","f7f7f7","998ec3"},<br />
{"e66101","fdb863","b2abd2","5e3c99"},<br />
{"e66101","fdb863","f7f7f7","b2abd2","5e3c99"},<br />
{"b35806","f1a340","fee0b6","d8daeb","998ec3","542788"},<br />
{"b35806","f1a340","fee0b6","f7f7f7","d8daeb","998ec3","542788"},<br />
{"b35806","e08214","fdb863","fee0b6","d8daeb","b2abd2","8073ac","542788"},<br />
{"b35806","e08214","fdb863","fee0b6","f7f7f7","d8daeb","b2abd2","8073ac","542788"},<br />
{"7f3b08","b35806","e08214","fdb863","fee0b6","d8daeb","b2abd2","8073ac","542788","2d004b"},<br />
{"7f3b08","b35806","e08214","fdb863","fee0b6","f7f7f7","d8daeb","b2abd2","8073ac","542788","2d004b"},<br />
}<br />
local ColorBrBG = {<br />
{"d8b365","f5f5f5","5ab4ac"},<br />
{"a6611a","dfc27d","80cdc1","018571"},<br />
{"a6611a","dfc27d","f5f5f5","80cdc1","018571"},<br />
{"8c510a","d8b365","f6e8c3","c7eae5","5ab4ac","01665e"},<br />
{"8c510a","d8b365","f6e8c3","f5f5f5","c7eae5","5ab4ac","01665e"},<br />
{"8c510a","bf812d","dfc27d","f6e8c3","c7eae5","80cdc1","35978f","01665e"},<br />
{"8c510a","bf812d","dfc27d","f6e8c3","f5f5f5","c7eae5","80cdc1","35978f","01665e"},<br />
{"543005","8c510a","bf812d","dfc27d","f6e8c3","c7eae5","80cdc1","35978f","01665e","003c30"},<br />
{"543005","8c510a","bf812d","dfc27d","f6e8c3","f5f5f5","c7eae5","80cdc1","35978f","01665e","003c30"},<br />
}<br />
local ColorPRGn = {<br />
{"af8dc3","f7f7f7","7fbf7b"},<br />
{"7b3294","c2a5cf","a6dba0","008837"},<br />
{"7b3294","c2a5cf","f7f7f7","a6dba0","008837"},<br />
{"762a83","af8dc3","e7d4e8","d9f0d3","7fbf7b","1b7837"},<br />
{"762a83","af8dc3","e7d4e8","f7f7f7","d9f0d3","7fbf7b","1b7837"},<br />
{"762a83","9970ab","c2a5cf","e7d4e8","d9f0d3","a6dba0","5aae61","1b7837"},<br />
{"762a83","9970ab","c2a5cf","e7d4e8","f7f7f7","d9f0d3","a6dba0","5aae61","1b7837"},<br />
{"40004b","762a83","9970ab","c2a5cf","e7d4e8","d9f0d3","a6dba0","5aae61","1b7837","00441b"},<br />
{"40004b","762a83","9970ab","c2a5cf","e7d4e8","f7f7f7","d9f0d3","a6dba0","5aae61","1b7837","00441b"},<br />
}<br />
local ColorPiYG = {<br />
{"e9a3c9","f7f7f7","a1d76a"},<br />
{"d01c8b","f1b6da","b8e186","4dac26"},<br />
{"d01c8b","f1b6da","f7f7f7","b8e186","4dac26"},<br />
{"c51b7d","e9a3c9","fde0ef","e6f5d0","a1d76a","4d9221"},<br />
{"c51b7d","e9a3c9","fde0ef","f7f7f7","e6f5d0","a1d76a","4d9221"},<br />
{"c51b7d","de77ae","f1b6da","fde0ef","e6f5d0","b8e186","7fbc41","4d9221"},<br />
{"c51b7d","de77ae","f1b6da","fde0ef","f7f7f7","e6f5d0","b8e186","7fbc41","4d9221"},<br />
{"8e0152","c51b7d","de77ae","f1b6da","fde0ef","e6f5d0","b8e186","7fbc41","4d9221","276419"},<br />
{"8e0152","c51b7d","de77ae","f1b6da","fde0ef","f7f7f7","e6f5d0","b8e186","7fbc41","4d9221","276419"},<br />
}<br />
local ColorRdBu = {<br />
{"ef8a62","f7f7f7","67a9cf"},<br />
{"ca0020","f4a582","92c5de","0571b0"},<br />
{"ca0020","f4a582","f7f7f7","92c5de","0571b0"},<br />
{"b2182b","ef8a62","fddbc7","d1e5f0","67a9cf","2166ac"},<br />
{"b2182b","ef8a62","fddbc7","f7f7f7","d1e5f0","67a9cf","2166ac"},<br />
{"b2182b","d6604d","f4a582","fddbc7","d1e5f0","92c5de","4393c3","2166ac"},<br />
{"b2182b","d6604d","f4a582","fddbc7","f7f7f7","d1e5f0","92c5de","4393c3","2166ac"},<br />
{"67001f","b2182b","d6604d","f4a582","fddbc7","d1e5f0","92c5de","4393c3","2166ac","053061"},<br />
{"67001f","b2182b","d6604d","f4a582","fddbc7","f7f7f7","d1e5f0","92c5de","4393c3","2166ac","053061"},<br />
}<br />
local ColorRdGy = {<br />
{"ef8a62","ffffff","999999"},<br />
{"ca0020","f4a582","bababa","404040"},<br />
{"ca0020","f4a582","ffffff","bababa","404040"},<br />
{"b2182b","ef8a62","fddbc7","e0e0e0","999999","4d4d4d"},<br />
{"b2182b","ef8a62","fddbc7","ffffff","e0e0e0","999999","4d4d4d"},<br />
{"b2182b","d6604d","f4a582","fddbc7","e0e0e0","bababa","878787","4d4d4d"},<br />
{"b2182b","d6604d","f4a582","fddbc7","ffffff","e0e0e0","bababa","878787","4d4d4d"},<br />
{"67001f","b2182b","d6604d","f4a582","fddbc7","e0e0e0","bababa","878787","4d4d4d","1a1a1a"},<br />
{"67001f","b2182b","d6604d","f4a582","fddbc7","ffffff","e0e0e0","bababa","878787","4d4d4d","1a1a1a"},<br />
}<br />
local ColorRdYlBu = {<br />
{"fc8d59","ffffbf","91bfdb"},<br />
{"d7191c","fdae61","abd9e9","2c7bb6"},<br />
{"d7191c","fdae61","ffffbf","abd9e9","2c7bb6"},<br />
{"d73027","fc8d59","fee090","e0f3f8","91bfdb","4575b4"},<br />
{"d73027","fc8d59","fee090","ffffbf","e0f3f8","91bfdb","4575b4"},<br />
{"d73027","f46d43","fdae61","fee090","e0f3f8","abd9e9","74add1","4575b4"},<br />
{"d73027","f46d43","fdae61","fee090","ffffbf","e0f3f8","abd9e9","74add1","4575b4"},<br />
{"a50026","d73027","f46d43","fdae61","fee090","e0f3f8","abd9e9","74add1","4575b4","313695"},<br />
{"a50026","d73027","f46d43","fdae61","fee090","ffffbf","e0f3f8","abd9e9","74add1","4575b4","313695"},<br />
}<br />
local ColorSpectral = {<br />
{"fc8d59","ffffbf","99d594"},<br />
{"d7191c","fdae61","abdda4","2b83ba"},<br />
{"d7191c","fdae61","ffffbf","abdda4","2b83ba"},<br />
{"d53e4f","fc8d59","fee08b","e6f598","99d594","3288bd"},<br />
{"d53e4f","fc8d59","fee08b","ffffbf","e6f598","99d594","3288bd"},<br />
{"d53e4f","f46d43","fdae61","fee08b","e6f598","abdda4","66c2a5","3288bd"},<br />
{"d53e4f","f46d43","fdae61","fee08b","ffffbf","e6f598","abdda4","66c2a5","3288bd"},<br />
{"9e0142","d53e4f","f46d43","fdae61","fee08b","e6f598","abdda4","66c2a5","3288bd","5e4fa2"},<br />
{"9e0142","d53e4f","f46d43","fdae61","fee08b","ffffbf","e6f598","abdda4","66c2a5","3288bd","5e4fa2"},<br />
}<br />
local ColorRdYlGn = {<br />
{"fc8d59","ffffbf","91cf60"},<br />
{"d7191c","fdae61","a6d96a","1a9641"},<br />
{"d7191c","fdae61","ffffbf","a6d96a","1a9641"},<br />
{"d73027","fc8d59","fee08b","d9ef8b","91cf60","1a9850"},<br />
{"d73027","fc8d59","fee08b","ffffbf","d9ef8b","91cf60","1a9850"},<br />
{"d73027","f46d43","fdae61","fee08b","d9ef8b","a6d96a","66bd63","1a9850"},<br />
{"d73027","f46d43","fdae61","fee08b","ffffbf","d9ef8b","a6d96a","66bd63","1a9850"},<br />
{"a50026","d73027","f46d43","fdae61","fee08b","d9ef8b","a6d96a","66bd63","1a9850","006837"},<br />
{"a50026","d73027","f46d43","fdae61","fee08b","ffffbf","d9ef8b","a6d96a","66bd63","1a9850","006837"},<br />
}<br />
local ColorAccent = {<br />
{"7fc97f","beaed4","fdc086"},<br />
{"7fc97f","beaed4","fdc086","ffff99"},<br />
{"7fc97f","beaed4","fdc086","ffff99","386cb0"},<br />
{"7fc97f","beaed4","fdc086","ffff99","386cb0","f0027f"},<br />
{"7fc97f","beaed4","fdc086","ffff99","386cb0","f0027f","bf5b17"},<br />
{"7fc97f","beaed4","fdc086","ffff99","386cb0","f0027f","bf5b17","666666"},<br />
}<br />
local ColorDark2 = {<br />
{"1b9e77","d95f02","7570b3"},<br />
{"1b9e77","d95f02","7570b3","e7298a"},<br />
{"1b9e77","d95f02","7570b3","e7298a","66a61e"},<br />
{"1b9e77","d95f02","7570b3","e7298a","66a61e","e6ab02"},<br />
{"1b9e77","d95f02","7570b3","e7298a","66a61e","e6ab02","a6761d"},<br />
{"1b9e77","d95f02","7570b3","e7298a","66a61e","e6ab02","a6761d","666666"},<br />
}<br />
local ColorPaired = {<br />
{"a6cee3","1f78b4","b2df8a"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c","fb9a99"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00","cab2d6"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00","cab2d6","6a3d9a"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00","cab2d6","6a3d9a","ffff99"},<br />
{"a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00","cab2d6","6a3d9a","ffff99","b15928"},<br />
}<br />
local ColorPastel1 = {<br />
{"fbb4ae","b3cde3","ccebc5"},<br />
{"fbb4ae","b3cde3","ccebc5","decbe4"},<br />
{"fbb4ae","b3cde3","ccebc5","decbe4","fed9a6"},<br />
{"fbb4ae","b3cde3","ccebc5","decbe4","fed9a6","ffffcc"},<br />
{"fbb4ae","b3cde3","ccebc5","decbe4","fed9a6","ffffcc","e5d8bd"},<br />
{"fbb4ae","b3cde3","ccebc5","decbe4","fed9a6","ffffcc","e5d8bd","fddaec"},<br />
{"fbb4ae","b3cde3","ccebc5","decbe4","fed9a6","ffffcc","e5d8bd","fddaec","f2f2f2"},<br />
}<br />
local ColorPastel2 = {<br />
{"b3e2cd","fdcdac","cbd5e8"},<br />
{"b3e2cd","fdcdac","cbd5e8","f4cae4"},<br />
{"b3e2cd","fdcdac","cbd5e8","f4cae4","e6f5c9"},<br />
{"b3e2cd","fdcdac","cbd5e8","f4cae4","e6f5c9","fff2ae"},<br />
{"b3e2cd","fdcdac","cbd5e8","f4cae4","e6f5c9","fff2ae","f1e2cc"},<br />
{"b3e2cd","fdcdac","cbd5e8","f4cae4","e6f5c9","fff2ae","f1e2cc","cccccc"},<br />
}<br />
local ColorSet1 = {<br />
{"e41a1c","377eb8","4daf4a"},<br />
{"e41a1c","377eb8","4daf4a","984ea3"},<br />
{"e41a1c","377eb8","4daf4a","984ea3","ff7f00"},<br />
{"e41a1c","377eb8","4daf4a","984ea3","ff7f00","ffff33"},<br />
{"e41a1c","377eb8","4daf4a","984ea3","ff7f00","ffff33","a65628"},<br />
{"e41a1c","377eb8","4daf4a","984ea3","ff7f00","ffff33","a65628","f781bf"},<br />
{"e41a1c","377eb8","4daf4a","984ea3","ff7f00","ffff33","a65628","f781bf","999999"},<br />
}<br />
local ColorSet2 = {<br />
{"66c2a5","fc8d62","8da0cb"},<br />
{"66c2a5","fc8d62","8da0cb","e78ac3"},<br />
{"66c2a5","fc8d62","8da0cb","e78ac3","a6d854"},<br />
{"66c2a5","fc8d62","8da0cb","e78ac3","a6d854","ffd92f"},<br />
{"66c2a5","fc8d62","8da0cb","e78ac3","a6d854","ffd92f","e5c494"},<br />
{"66c2a5","fc8d62","8da0cb","e78ac3","a6d854","ffd92f","e5c494","b3b3b3"},<br />
}<br />
local ColorSet3 = {<br />
{"8dd3c7","ffffb3","bebada"},<br />
{"8dd3c7","ffffb3","bebada","fb8072"},<br />
{"8dd3c7","ffffb3","bebada","fb8072","80b1d3"},<br />
{"8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462"},<br />
{"8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69"},<br />
{"8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5"},<br />
{"8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5","d9d9d9"},<br />
{"8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5","d9d9d9","bc80bd"},<br />
{"8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5","d9d9d9","bc80bd","ccebc5"},<br />
{"8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5","d9d9d9","bc80bd","ccebc5","ffed6f"},<br />
}<br />
<br />
function p.GetColors(ColorName, IsInv, N, CallError)<br />
local ColorFound = {} <br />
function GetC(ColorSet)<br />
if (N < 3) or (N > (table.getn(ColorSet)+2)) then<br />
if CallError then<br />
error (I18nStr(RS_ColorNumInvalid,tostring(N)), 0)<br />
end <br />
elseif IsInv then<br />
for i=table.getn(ColorSet[N-2]), 1, -1 do<br />
table.insert (ColorFound, '#'..ColorSet[N-2][i])<br />
end <br />
else <br />
for i=1, table.getn(ColorSet[N-2]) do<br />
table.insert (ColorFound, '#'..ColorSet[N-2][i])<br />
end <br />
end <br />
end <br />
local ColorNameL = string.lower (ColorName)<br />
if ColorNameL == 'ylgn' then GetC(ColorYlGn)<br />
elseif ColorNameL == 'ylgnbu' then GetC(ColorYlGnBu)<br />
elseif ColorNameL == 'gnbu' then GetC(ColorGnBu)<br />
elseif ColorNameL == 'bugn' then GetC(ColorBuGn)<br />
elseif ColorNameL == 'pubugn' then GetC(ColorPuBuGn)<br />
elseif ColorNameL == 'pubu' then GetC(ColorPuBu)<br />
elseif ColorNameL == 'bupu' then GetC(ColorBuPu)<br />
elseif ColorNameL == 'rdpu' then GetC(ColorRdPu)<br />
elseif ColorNameL == 'purd' then GetC(ColorPuRd)<br />
elseif ColorNameL == 'orrd' then GetC(ColorOrRd)<br />
elseif ColorNameL == 'ylorrd' then GetC(ColorYlOrRd)<br />
elseif ColorNameL == 'ylorbr' then GetC(ColorYlOrBr)<br />
elseif ColorNameL == 'purples' then GetC(ColorPurples)<br />
elseif ColorNameL == 'blues' then GetC(ColorBlues)<br />
elseif ColorNameL == 'greens' then GetC(ColorGreens)<br />
elseif ColorNameL == 'oranges' then GetC(ColorOranges)<br />
elseif ColorNameL == 'reds' then GetC(ColorReds)<br />
elseif ColorNameL == 'greys' then GetC(ColorGreys)<br />
elseif ColorNameL == 'puor' then GetC(ColorPuOr)<br />
elseif ColorNameL == 'brbg' then GetC(ColorBrBG)<br />
elseif ColorNameL == 'prgn' then GetC(ColorPRGn)<br />
elseif ColorNameL == 'piyg' then GetC(ColorPiYG)<br />
elseif ColorNameL == 'rdbu' then GetC(ColorRdBu)<br />
elseif ColorNameL == 'rdgy' then GetC(ColorRdGy)<br />
elseif ColorNameL == 'rdylbu' then GetC(ColorRdYlBu)<br />
elseif ColorNameL == 'spectral' then GetC(ColorSpectral)<br />
elseif ColorNameL == 'rdylgn' then GetC(ColorRdYlGn)<br />
elseif ColorNameL == 'accent' then GetC(ColorAccent)<br />
elseif ColorNameL == 'dark2' then GetC(ColorDark2)<br />
elseif ColorNameL == 'paired' then GetC(ColorPaired)<br />
elseif ColorNameL == 'pastel1' then GetC(ColorPastel1)<br />
elseif ColorNameL == 'pastel2' then GetC(ColorPastel2)<br />
elseif ColorNameL == 'set1' then GetC(ColorSet1)<br />
elseif ColorNameL == 'set2' then GetC(ColorSet2)<br />
elseif ColorNameL == 'set3' then GetC(ColorSet3)<br />
else<br />
if CallError then<br />
error (I18nStr (RS_ColorNameInvalid,ColorName), 0)<br />
end <br />
end<br />
return ColorFound<br />
end<br />
<br />
function p.ShowColors(frame)<br />
local args,Nargs = SA.GetArgs (frame)<br />
if Nargs > 0 then<br />
local ColorName, IsInv = CFCM.ColorNameInv (args)<br />
local N = SA.RPosInt_1Par (args, 2)<br />
local WriteColor = args[3] or ''<br />
local ColorFound = {}<br />
ColorFound = p.GetColors (ColorName, IsInv, N, true)<br />
local boxes = {}<br />
for i=1, table.getn(ColorFound) do<br />
table.insert(boxes, CFCM.Box(ColorFound[i],WriteColor))<br />
end <br />
return table.concat(boxes, " ")<br />
end <br />
end<br />
<br />
function p.Legends(frame)<br />
local args,Nargs = SA.GetArgs (frame)<br />
if Nargs > 0 then<br />
local ColorName, IsInv = CFCM.ColorNameInv (args)<br />
local N = SA.RPosInt_1Par (args, 2)<br />
local ColWidth = args[3]<br />
local ColorFound = {}<br />
local Labels = {}<br />
local NLabels = 0<br />
local IsTemplate = true<br />
ColorFound = p.GetColors (ColorName, IsInv, N, true)<br />
Labels, NLabels, OutlineColor = CFCM.GetLabels (args, Nargs, N, 4)<br />
return CFCM.LegendText (ColorFound, Labels, NLabels, ColWidth, IsTemplate, OutlineColor)<br />
end <br />
end <br />
<br />
return p</div>
Pppery