https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3AArgRest%2Fdoc Module:ArgRest/doc - Revision history 2025-06-06T15:28:06Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.4 https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1289880167&oldid=prev Uzume: /* Usage */ "Wikipedia"->"Mediawiki": Mediawiki is the main software that runs Wikipedia page rendering 2025-05-11T12:02:35Z <p><span class="autocomment">Usage: </span> &quot;Wikipedia&quot;-&gt;&quot;Mediawiki&quot;: Mediawiki is the main software that runs Wikipedia page rendering</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:02, 11 May 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 8:</td> <td colspan="2" class="diff-lineno">Line 8:</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>Afterwards, the module will "fill in" parameters with larger numbers than the ones originally given; i.e. in the above example, the module would allow the containing template to receive parameters &lt;code&gt;&lt;nowiki&gt;{{{named-3-a}}}&lt;/nowiki&gt;&lt;/code&gt;, &lt;code&gt;&lt;nowiki&gt;{{{named-3-b}}}&lt;/nowiki&gt;&lt;/code&gt;, &lt;code&gt;&lt;nowiki&gt;{{{named-4-a}}}&lt;/nowiki&gt;&lt;/code&gt;, etc.&lt;br /&gt;</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>Afterwards, the module will "fill in" parameters with larger numbers than the ones originally given; i.e. in the above example, the module would allow the containing template to receive parameters &lt;code&gt;&lt;nowiki&gt;{{{named-3-a}}}&lt;/nowiki&gt;&lt;/code&gt;, &lt;code&gt;&lt;nowiki&gt;{{{named-3-b}}}&lt;/nowiki&gt;&lt;/code&gt;, &lt;code&gt;&lt;nowiki&gt;{{{named-4-a}}}&lt;/nowiki&gt;&lt;/code&gt;, etc.&lt;br /&gt;</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>&lt;strong&gt;Note: You MUST wrap the first parameter in &lt;code class="cm-mw-htmltag-name"&gt;&amp;lt;nowiki&amp;gt;&lt;/code&gt;;&lt;/strong&gt; otherwise, <del style="font-weight: bold; text-decoration: none;">Wikipedia</del> processes ''all'' wikitext and HTML syntax before the module receives it, which makes it impossible to use pattern matching due to the resulting pollution. If you do, the module will give this error:</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>&lt;strong&gt;Note: You MUST wrap the first parameter in &lt;code class="cm-mw-htmltag-name"&gt;&amp;lt;nowiki&amp;gt;&lt;/code&gt;;&lt;/strong&gt; otherwise, <ins style="font-weight: bold; text-decoration: none;">Mediawiki</ins> processes ''all'' wikitext and HTML syntax before the module receives it, which makes it impossible to use pattern matching due to the resulting pollution. If you do, the module will give this error:</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>:{{error|Lua error in Module:ArgRest at line 8: &amp;lt;nowiki&gt; tags missing from first parameter.}}</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>:{{error|Lua error in Module:ArgRest at line 8: &amp;lt;nowiki&gt; tags missing from first parameter.}}</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>=== Example ===</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>=== Example ===</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 28:</td> <td colspan="2" class="diff-lineno">Line 28:</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>=== Note ===</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>=== Note ===</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>Be wary when using ArgRest wrapped inside of an outer template; it hasn't quite been thoroughly tested in such scenarios, and should be watched carefully when it is used this way.</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>Be wary when using ArgRest wrapped inside of an outer template; it hasn't quite been thoroughly tested in such scenarios, and should be watched carefully when it is used this way.</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;"><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>== Limitations ==</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>== Limitations ==</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>This module currently suffers from a few limitations:</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>This module currently suffers from a few limitations:</div></td> </tr> </table> Uzume https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1289878333&oldid=prev Uzume: "infinite"->"arbitrary"; no computational device or programming language can actually support infinite anything 2025-05-11T11:42:39Z <p>&quot;infinite&quot;-&gt;&quot;arbitrary&quot;; no computational device or programming language can actually support infinite anything</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 11:42, 11 May 2025</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>{{Module rating|alpha}}</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>{{Module rating|alpha}}</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>&lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;</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>&lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;</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>This is an auxiliary module intended to be invoked by templates; it permits templates to support an <del style="font-weight: bold; text-decoration: none;">infinite</del> <del style="font-weight: bold; text-decoration: none;">number</del> of parameters by repeating a block of wikitext multiple times. This module works with named as well as unnamed parameters, can handle multiple named parameters at the same time, and supports defaults,</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>This is an auxiliary module intended to be invoked by templates; it permits templates to support an <ins style="font-weight: bold; text-decoration: none;">arbitrary</ins> <ins style="font-weight: bold; text-decoration: none;">set</ins> of parameters by repeating a block of wikitext multiple times. This module works with named as well as unnamed parameters, can handle multiple named parameters at the same time, and supports defaults,</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>== Usage ==</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>== Usage ==</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 you want to use this module in your template: take the block of wikitext that you want to be repeated for <del style="font-weight: bold; text-decoration: none;">infinite</del> parameters, wrap it in &lt;code class="cm-mw-htmltag-name"&gt;&amp;lt;nowiki&amp;gt;&lt;/code&gt;, and pass that as the module's first parameter; then, choose a "base" parameter such that the module will stop repeating the wikitext if the parameter wasn't defined by the user, and pass its name as the second parameter. Example usage:</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>If you want to use this module in your template: take the block of wikitext that you want to be repeated for <ins style="font-weight: bold; text-decoration: none;">an arbitrary set of</ins> parameters, wrap it in &lt;code class="cm-mw-htmltag-name"&gt;&amp;lt;nowiki&amp;gt;&lt;/code&gt;, and pass that as the module's first parameter; then, choose a "base" parameter such that the module will stop repeating the wikitext if the parameter wasn't defined by the user, and pass its name as the second parameter. Example usage:</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>:&lt;code&gt;...&lt;nowiki&gt;{{&lt;/nowiki&gt;#invoke:ArgRest|''main''&lt;nowiki&gt;|&amp;lt;nowiki&amp;gt;...{{{named-2-a}}}...{{{named-2-b|default}}}...&amp;lt;/nowiki&amp;gt;|named-2-a}}&lt;/nowiki&gt;&lt;/code&gt;</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>:&lt;code&gt;...&lt;nowiki&gt;{{&lt;/nowiki&gt;#invoke:ArgRest|''main''&lt;nowiki&gt;|&amp;lt;nowiki&amp;gt;...{{{named-2-a}}}...{{{named-2-b|default}}}...&amp;lt;/nowiki&amp;gt;|named-2-a}}&lt;/nowiki&gt;&lt;/code&gt;</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> Uzume https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1243689199&oldid=prev BrandonXLF: /* Helpful templates */ Use {{tl}} 2024-09-02T21:54:45Z <p><span class="autocomment">Helpful templates: </span> Use {{tl}}</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 21:54, 2 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 20:</td> <td colspan="2" class="diff-lineno">Line 20:</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>=== Helpful templates ===</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>=== Helpful templates ===</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>There are a few templates that can used with this module to help it adapt to certain scenarios:</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>There are a few templates that can used with this module to help it adapt to certain scenarios:</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;">[[Template:</del>Call wikitext<del style="font-weight: bold; text-decoration: none;">]]</del>: This template allows ArgRest to be demoed without the need to create a template.</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;">{{tl|</ins>Call wikitext<ins style="font-weight: bold; text-decoration: none;">}}</ins>: This template allows ArgRest to be demoed without the need to create a template.</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>** For example, &lt;code&gt;&lt;nowiki&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;amp;lt;/nowiki&gt;|1}}&amp;lt;/nowiki&gt;|foo|bar}}&lt;/nowiki&gt;&lt;/code&gt; outputs &lt;code&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki&gt;|1}}&lt;/nowiki&gt;|foo|bar}}&lt;/code&gt;.</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>** For example, &lt;code&gt;&lt;nowiki&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;amp;lt;/nowiki&gt;|1}}&amp;lt;/nowiki&gt;|foo|bar}}&lt;/nowiki&gt;&lt;/code&gt; outputs &lt;code&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki&gt;|1}}&lt;/nowiki&gt;|foo|bar}}&lt;/code&gt;.</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;">[[Template:</del>Expand wikitext<del style="font-weight: bold; text-decoration: none;">]]</del>: If you try to use ArgRest to generate parameters inside of an outer template (e.g. &lt;code&gt;&lt;nowiki&gt;{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;&lt;/code&gt;), it will fail to do so because the outer template won't get processed after ArgRest is done parsing. This template fixes this by invoking the parser to process the outer template.</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;">{{tl|</ins>Expand wikitext<ins style="font-weight: bold; text-decoration: none;">}}</ins>: If you try to use ArgRest to generate parameters inside of an outer template (e.g. &lt;code&gt;&lt;nowiki&gt;{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;&lt;/code&gt;), it will fail to do so because the outer template won't get processed after ArgRest is done parsing. This template fixes this by invoking the parser to process the outer template.</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>** For example, a template defined as &lt;code&gt;&lt;nowiki&gt;{{Expand wikitext|{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}}}&lt;/nowiki&gt;&lt;/code&gt; called with the arguments &lt;code&gt;&lt;nowiki&gt;{{__TEMPLATE__|foo|bar|Baz}}&lt;/nowiki&gt;&lt;/code&gt; would output &lt;code&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{Expand wikitext|{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}}}&lt;/nowiki&gt;|foo|bar|baz}}&lt;/code&gt; where as one defined as &lt;code&gt;&lt;nowiki&gt;{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;&lt;/code&gt; would output &lt;code&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;|foo|bar|baz}}&lt;/code&gt;.</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>** For example, a template defined as &lt;code&gt;&lt;nowiki&gt;{{Expand wikitext|{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}}}&lt;/nowiki&gt;&lt;/code&gt; called with the arguments &lt;code&gt;&lt;nowiki&gt;{{__TEMPLATE__|foo|bar|Baz}}&lt;/nowiki&gt;&lt;/code&gt; would output &lt;code&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{Expand wikitext|{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}}}&lt;/nowiki&gt;|foo|bar|baz}}&lt;/code&gt; where as one defined as &lt;code&gt;&lt;nowiki&gt;{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;&lt;/code&gt; would output &lt;code&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;|foo|bar|baz}}&lt;/code&gt;.</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>** &lt;strong&gt;WARNING:&lt;/strong&gt; ArgRest may become highly unstable if you use it this way, and is rather likely to not work as expected in these scenarios. If you do use it like this, heavy caution should be taken.</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>** &lt;strong&gt;WARNING:&lt;/strong&gt; ArgRest may become highly unstable if you use it this way, and is rather likely to not work as expected in these scenarios. If you do use it like this, heavy caution should be taken.</div></td> </tr> </table> BrandonXLF https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1243689078&oldid=prev BrandonXLF: /* Partner templates */ Add examples and use established templates 2024-09-02T21:54:00Z <p><span class="autocomment">Partner templates: </span> Add examples and use established templates</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 21:54, 2 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 18:</td> <td colspan="2" class="diff-lineno">Line 18:</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>:{{tlc|PlusMinusLoop|plus1{{{=}}}0|minus1{{{=}}}1|plus2{{{=}}}1|minus2{{{=}}}2|plus3{{{=}}}3|plus5{{{=}}}21}}</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>:{{tlc|PlusMinusLoop|plus1{{{=}}}0|minus1{{{=}}}1|plus2{{{=}}}1|minus2{{{=}}}2|plus3{{{=}}}3|plus5{{{=}}}21}}</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>will yield &lt;code&gt;0 - 1 + 1 - 2 + 3 - 5&lt;/code&gt;. The &lt;code&gt;- 5&lt;/code&gt; is present because &lt;code&gt;|minus3&lt;/code&gt; defaulted to 5, but &lt;code&gt;21&lt;/code&gt; never appears because, although &lt;code&gt;|plus5&lt;/code&gt; is defined, &lt;code&gt;|plus4&lt;/code&gt; isn't, so the module halts there.</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>will yield &lt;code&gt;0 - 1 + 1 - 2 + 3 - 5&lt;/code&gt;. The &lt;code&gt;- 5&lt;/code&gt; is present because &lt;code&gt;|minus3&lt;/code&gt; defaulted to 5, but &lt;code&gt;21&lt;/code&gt; never appears because, although &lt;code&gt;|plus5&lt;/code&gt; is defined, &lt;code&gt;|plus4&lt;/code&gt; isn't, so the module halts there.</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;">Partner</del> templates ===</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;">Helpful</ins> templates ===</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>There are a few templates that can used with this module to help it <del style="font-weight: bold; text-decoration: none;">in</del> certain scenarios:</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>There are a few templates that can used with this module to help it <ins style="font-weight: bold; text-decoration: none;">adapt to</ins> certain scenarios:</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>* [[Template:Call wikitext]]<del style="font-weight: bold; text-decoration: none;"> -</del> This template allows ArgRest to be demoed without the need to create a template.<del style="font-weight: bold; text-decoration: none;"> For example:</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>* [[Template:Call wikitext]]<ins style="font-weight: bold; text-decoration: none;">:</ins> This template allows ArgRest to be demoed without the need to create a template.</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;">nowiki</del> <del style="font-weight: bold; text-decoration: none;">template demo</del>|<del style="font-weight: bold; text-decoration: none;">format</del>=<del style="font-weight: bold; text-decoration: none;">inline|</del>&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki|1}}<del style="font-weight: bold; text-decoration: none;">&lt;</del>/nowiki&gt;|<del style="font-weight: bold; text-decoration: none;">Foo</del>|<del style="font-weight: bold; text-decoration: none;">Bar</del>}} <del style="font-weight: bold; text-decoration: none;">→</del> {{Call wikitext|sourceCode=&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki|1}}&lt;/nowiki&gt;}}</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;">** For example, &lt;code&gt;&lt;nowiki&gt;</ins>{{<ins style="font-weight: bold; text-decoration: none;">Call</ins> <ins style="font-weight: bold; text-decoration: none;">wikitext</ins>|<ins style="font-weight: bold; text-decoration: none;">sourceCode</ins>=&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;<ins style="font-weight: bold; text-decoration: none;">amp;</ins>lt;/nowiki<ins style="font-weight: bold; text-decoration: none;">&gt;</ins>|1}}<ins style="font-weight: bold; text-decoration: none;">&amp;lt;</ins>/nowiki&gt;|<ins style="font-weight: bold; text-decoration: none;">foo</ins>|<ins style="font-weight: bold; text-decoration: none;">bar</ins>}}<ins style="font-weight: bold; text-decoration: none;">&lt;/nowiki&gt;&lt;/code&gt;</ins> <ins style="font-weight: bold; text-decoration: none;">outputs</ins> <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>{{Call wikitext|sourceCode=&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki<ins style="font-weight: bold; text-decoration: none;">&gt;</ins>|1}}&lt;/nowiki&gt;<ins style="font-weight: bold; text-decoration: none;">|foo|bar</ins>}}<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;.</ins></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_6_1_lhs">&#x26AB;</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_2_0_rhs"></a>*<ins style="font-weight: bold; text-decoration: none;"> </ins>[[<ins style="font-weight: bold; text-decoration: none;">Template</ins>:<ins style="font-weight: bold; text-decoration: none;">Expand wikitext</ins>]]: If you try to use ArgRest to generate parameters inside of an outer template (e.g. &lt;code&gt;&lt;nowiki&gt;{{enum{{#invoke:ArgRest<ins style="font-weight: bold; text-decoration: none;">|main</ins>|&lt;nowiki&gt;|{{{1}}}&amp;amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;&lt;/code&gt;), it will fail to do so because the outer template won't get processed after ArgRest is done parsing<ins style="font-weight: bold; text-decoration: none;">.</ins> <ins style="font-weight: bold; text-decoration: none;">This</ins> <ins style="font-weight: bold; text-decoration: none;">template</ins> <ins style="font-weight: bold; text-decoration: none;">fixes</ins> <ins style="font-weight: bold; text-decoration: none;">this</ins> <ins style="font-weight: bold; text-decoration: none;">by</ins> <ins style="font-weight: bold; text-decoration: none;">invoking</ins> <ins style="font-weight: bold; text-decoration: none;">the</ins> <ins style="font-weight: bold; text-decoration: none;">parser</ins> <ins style="font-weight: bold; text-decoration: none;">to</ins> <ins style="font-weight: bold; text-decoration: none;">process</ins> the outer template.</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 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>** For example, a template defined as &lt;code&gt;&lt;nowiki&gt;{{Expand wikitext|{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}}}&lt;/nowiki&gt;&lt;/code&gt; called with the arguments &lt;code&gt;&lt;nowiki&gt;{{__TEMPLATE__|foo|bar|Baz}}&lt;/nowiki&gt;&lt;/code&gt; would output &lt;code&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{Expand wikitext|{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}}}&lt;/nowiki&gt;|foo|bar|baz}}&lt;/code&gt; where as one defined as &lt;code&gt;&lt;nowiki&gt;{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;&lt;/code&gt; would output &lt;code&gt;{{Call wikitext|sourceCode=&lt;nowiki&gt;{{enum{{#invoke:ArgRest|main|&lt;nowiki&gt;|{{{1}}}&amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;|foo|bar|baz}}&lt;/code&gt;.</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>This module has a few submodules that serve as "partners" for the module, to help it in certain scenarios:</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>*[[Module:ArgRest/testCaser]]: This submodule allows ArgRest to be used without needing to be inside of a template.</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_2_0_rhs">&#x26AB;</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_6_1_lhs"></a>*[[<del style="font-weight: bold; text-decoration: none;">Module</del>:<del style="font-weight: bold; text-decoration: none;">ArgRest/wrapper</del>]]: If you try to use ArgRest to generate parameters inside of an outer template (e.g. &lt;code&gt;&lt;nowiki&gt;{{enum{{#invoke:ArgRest|&lt;nowiki&gt;|{{{1}}}&amp;amp;lt;/nowiki&gt;|1}}}}&lt;/nowiki&gt;&lt;/code&gt;), it will<del style="font-weight: bold; text-decoration: none;"> normally</del> fail to do so because the outer template won't get processed after ArgRest is done parsing<del style="font-weight: bold; text-decoration: none;">;</del> <del style="font-weight: bold; text-decoration: none;">this</del> <del style="font-weight: bold; text-decoration: none;">submodule</del> <del style="font-weight: bold; text-decoration: none;">can</del> <del style="font-weight: bold; text-decoration: none;">fix</del> <del style="font-weight: bold; text-decoration: none;">that</del> <del style="font-weight: bold; text-decoration: none;">(albeit</del> <del style="font-weight: bold; text-decoration: none;">in</del> <del style="font-weight: bold; text-decoration: none;">a</del> <del style="font-weight: bold; text-decoration: none;">rather</del> <del style="font-weight: bold; text-decoration: none;">scrappy way) by simply processing</del> the outer template<del style="font-weight: bold; text-decoration: none;"> one extra time</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>** &lt;strong&gt;WARNING:&lt;/strong&gt; ArgRest may become highly unstable if you use it this way, and is rather likely to not work as expected in these scenarios. If you do use it like this, heavy caution should be taken.</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>** &lt;strong&gt;WARNING:&lt;/strong&gt; ArgRest may become highly unstable if you use it this way, and is rather likely to not work as expected in these scenarios. If you do use it like this, heavy caution should be taken.</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> BrandonXLF https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1243687153&oldid=prev BrandonXLF: /* Partner templates */ 2024-09-02T21:42:22Z <p><span class="autocomment">Partner templates</span></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 21:42, 2 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 21:</td> <td colspan="2" class="diff-lineno">Line 21:</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>There are a few templates that can used with this module to help it in certain scenarios:</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>There are a few templates that can used with this module to help it in certain scenarios:</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>* [[Template:Call wikitext]] - This template allows ArgRest to be demoed without the need to create a template. For example:</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>* [[Template:Call wikitext]] - This template allows ArgRest to be demoed without the need to create a template. For example:</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>{{nowiki template demo|format=inline|&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki|1<del style="font-weight: bold; text-decoration: none;">&gt;</del>}}&lt;/nowiki&gt;|Foo|Bar}}</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>{{nowiki template demo|format=inline|&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki|1}}&lt;/nowiki&gt;|Foo|Bar<ins style="font-weight: bold; text-decoration: none;">}} → {{Call wikitext|sourceCode=&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki|1}}&lt;/nowiki&gt;</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;"><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>This module has a few submodules that serve as "partners" for the module, to help it in certain scenarios:</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>This module has a few submodules that serve as "partners" for the module, to help it in certain scenarios:</div></td> </tr> </table> BrandonXLF https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1243686876&oldid=prev BrandonXLF: /* Partner modules */ 2024-09-02T21:40:39Z <p><span class="autocomment">Partner modules</span></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 21:40, 2 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 18:</td> <td colspan="2" class="diff-lineno">Line 18:</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>:{{tlc|PlusMinusLoop|plus1{{{=}}}0|minus1{{{=}}}1|plus2{{{=}}}1|minus2{{{=}}}2|plus3{{{=}}}3|plus5{{{=}}}21}}</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>:{{tlc|PlusMinusLoop|plus1{{{=}}}0|minus1{{{=}}}1|plus2{{{=}}}1|minus2{{{=}}}2|plus3{{{=}}}3|plus5{{{=}}}21}}</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>will yield &lt;code&gt;0 - 1 + 1 - 2 + 3 - 5&lt;/code&gt;. The &lt;code&gt;- 5&lt;/code&gt; is present because &lt;code&gt;|minus3&lt;/code&gt; defaulted to 5, but &lt;code&gt;21&lt;/code&gt; never appears because, although &lt;code&gt;|plus5&lt;/code&gt; is defined, &lt;code&gt;|plus4&lt;/code&gt; isn't, so the module halts there.</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>will yield &lt;code&gt;0 - 1 + 1 - 2 + 3 - 5&lt;/code&gt;. The &lt;code&gt;- 5&lt;/code&gt; is present because &lt;code&gt;|minus3&lt;/code&gt; defaulted to 5, but &lt;code&gt;21&lt;/code&gt; never appears because, although &lt;code&gt;|plus5&lt;/code&gt; is defined, &lt;code&gt;|plus4&lt;/code&gt; isn't, so the module halts there.</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>=== Partner <del style="font-weight: bold; text-decoration: none;">modules</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>=== Partner <ins style="font-weight: bold; text-decoration: none;">templates</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>There are a few templates that can used with this module to help it in certain scenarios:</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>* [[Template:Call wikitext]] - This template allows ArgRest to be demoed without the need to create a template. For example:</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>{{nowiki template demo|format=inline|&lt;nowiki&gt;{{#invoke:ArgRest|main|&lt;nowiki&gt;{{{1}}}&amp;lt;/nowiki|1&gt;}}&lt;/nowiki&gt;|Foo|Bar}}</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;"><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>This module has a few submodules that serve as "partners" for the module, to help it in certain scenarios:</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>This module has a few submodules that serve as "partners" for the module, to help it in certain scenarios:</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>*[[Module:ArgRest/testCaser]]: This submodule allows ArgRest to be used without needing to be inside of a template.</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>*[[Module:ArgRest/testCaser]]: This submodule allows ArgRest to be used without needing to be inside of a template.</div></td> </tr> </table> BrandonXLF https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1243520691&oldid=prev BrandonXLF: Add Category:Template metamodules 2024-09-01T22:37:45Z <p>Add <a href="/wiki/Category:Template_metamodules" title="Category:Template metamodules">Category:Template metamodules</a></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 22:37, 1 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 39:</td> <td colspan="2" class="diff-lineno">Line 39:</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>&lt;includeonly&gt;{{Sandbox other||</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>&lt;includeonly&gt;{{Sandbox other||</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>&lt;!-- Categories below this line; interwikis at Wikidata --&gt;</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>&lt;!-- Categories below this line; interwikis at Wikidata --&gt;</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>[[Category:<del style="font-weight: bold; text-decoration: none;">Wikipedia</del> <del style="font-weight: bold; text-decoration: none;">utility modules</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>[[Category:<ins style="font-weight: bold; text-decoration: none;">Template</ins> <ins style="font-weight: bold; text-decoration: none;">metamodules</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>[[Category:Wikipedia metatemplates]]</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>}}&lt;/includeonly&gt;</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>}}&lt;/includeonly&gt;</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>&lt;noinclude&gt;</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>&lt;noinclude&gt;</div></td> </tr> </table> BrandonXLF https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1243401863&oldid=prev BrandonXLF: /* See also */ Add Category:Wikipedia metatemplates 2024-09-01T07:00:32Z <p><span class="autocomment">See also: </span> Add <a href="/wiki/Category:Wikipedia_metatemplates" title="Category:Wikipedia metatemplates">Category:Wikipedia metatemplates</a></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 07:00, 1 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 40:</td> <td colspan="2" class="diff-lineno">Line 40:</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>&lt;!-- Categories below this line; interwikis at Wikidata --&gt;</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>&lt;!-- Categories below this line; interwikis at Wikidata --&gt;</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>[[Category:Wikipedia utility modules]]</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>[[Category:Wikipedia utility modules]]</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>[[Category:Wikipedia metatemplates]]</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>}}&lt;/includeonly&gt;</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>}}&lt;/includeonly&gt;</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>&lt;noinclude&gt;</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>&lt;noinclude&gt;</div></td> </tr> </table> BrandonXLF https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1243401676&oldid=prev BrandonXLF: /* See also */ Add Category:Wikipedia utility modules 2024-09-01T06:58:58Z <p><span class="autocomment">See also: </span> Add <a href="/wiki/Category:Wikipedia_utility_modules" title="Category:Wikipedia utility modules">Category:Wikipedia utility modules</a></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 06:58, 1 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 39:</td> <td colspan="2" class="diff-lineno">Line 39:</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>&lt;includeonly&gt;{{Sandbox other||</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>&lt;includeonly&gt;{{Sandbox other||</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>&lt;!-- Categories below this line; interwikis at Wikidata --&gt;</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>&lt;!-- Categories below this line; interwikis at Wikidata --&gt;</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>[[Category:Wikipedia utility modules]]</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>}}&lt;/includeonly&gt;</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>}}&lt;/includeonly&gt;</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>&lt;noinclude&gt;</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>&lt;noinclude&gt;</div></td> </tr> </table> BrandonXLF https://en.wikipedia.org/w/index.php?title=Module:ArgRest/doc&diff=1243401612&oldid=prev BrandonXLF: /* See also */ 2024-09-01T06:58:10Z <p><span class="autocomment">See also</span></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 06:58, 1 September 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 34:</td> <td colspan="2" class="diff-lineno">Line 34:</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>== See also ==</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>== See also ==</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>* {{mfl|params|with_name_matching}}, {{mfl|params|for_each}}</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>* {{mfl|params|with_name_matching}}, {{mfl|params|for_each}}</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>* {{mfl|for nowiki|<del style="font-weight: bold; text-decoration: none;">main</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>* {{mfl|for nowiki|<ins style="font-weight: bold; text-decoration: none;">template</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>* {{tl|for nowiki}}</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>* {{tl|for nowiki}}</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> BrandonXLF