https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ABracket%2Fdoc Module:Bracket/doc - Revision history 2025-05-25T17:30:17Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.2 https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1268839704&oldid=prev TheCaseDogg: /* Adding new templates */ fixed typo 2025-01-11T20:31:57Z <p><span class="autocomment">Adding new templates: </span> fixed typo</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 20:31, 11 January 2025</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 27:</td> <td colspan="2" class="diff-lineno">Line 27:</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>* '''TEMPLATE_NAME''' is the name of the template without "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>* '''TEMPLATE_NAME''' is the name of the template without "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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom parameters and the standard parameter of [[<del style="font-weight: bold; text-decoration: none;">:Moduke</del>:Team <del style="font-weight: bold; text-decoration: none;">Bracket</del>]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number or contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom parameters and the standard parameter of [[<ins style="font-weight: bold; text-decoration: none;">Module</ins>:Team <ins style="font-weight: bold; text-decoration: none;">bracket</ins>]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number or contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used if a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_DEFAULTS'':</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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used if a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_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;"><div>** &lt;code&gt;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</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;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</div></td> </tr> </table> TheCaseDogg https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1268426179&oldid=prev Ahecht: {{lua|Module:Team bracket}} 2025-01-09T18:43:17Z <p>{{lua|Module:Team bracket}}</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 18:43, 9 January 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" 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 <del style="font-weight: bold; text-decoration: none;">rating|beta</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;">lua|</ins>Module<ins style="font-weight: bold; text-decoration: none;">:Team</ins> <ins style="font-weight: bold; text-decoration: none;">bracket</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>&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"></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> Ahecht https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1254556331&oldid=prev Ahecht: /* Adding new templates */ spelling 2024-10-31T15:46:29Z <p><span class="autocomment">Adding new templates: </span> spelling</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 15:46, 31 October 2024</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>* '''TEMPLATE_NAME''' is the name of the template without "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>* '''TEMPLATE_NAME''' is the name of the template without "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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom parameters and the standard parameter of [[:Moduke:Team Bracket]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number or contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom parameters and the standard parameter of [[:Moduke:Team Bracket]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number or contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used <del style="font-weight: bold; text-decoration: none;">in</del> a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used <ins style="font-weight: bold; text-decoration: none;">if</ins> a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_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;"><div>** &lt;code&gt;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</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;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</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>** Templates with &lt;code&gt;-Tennis##&lt;/code&gt; or &lt;code&gt;-Squash##&lt;/code&gt; in ''TEMPLATE-NAME'' will have &lt;code&gt;sets&lt;/code&gt; set to the value of &lt;code&gt;##&lt;/code&gt;. In addition, these templates will have &lt;syntaxhighlight lang="lua" inline&gt;{seeds = "yes", nowrap = "yes"}&lt;/syntaxhighlight&gt; set.</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>** Templates with &lt;code&gt;-Tennis##&lt;/code&gt; or &lt;code&gt;-Squash##&lt;/code&gt; in ''TEMPLATE-NAME'' will have &lt;code&gt;sets&lt;/code&gt; set to the value of &lt;code&gt;##&lt;/code&gt;. In addition, these templates will have &lt;syntaxhighlight lang="lua" inline&gt;{seeds = "yes", nowrap = "yes"}&lt;/syntaxhighlight&gt; set.</div></td> </tr> </table> Ahecht https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1242980938&oldid=prev Warudo: Added the page to :Category:Module documentation pages 2024-08-29T20:27:23Z <p>Added the page to <a href="/wiki/Category:Module_documentation_pages" title="Category:Module documentation pages">Category:Module documentation pages</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 20:27, 29 August 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 32:</td> <td colspan="2" class="diff-lineno">Line 32:</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>** Templates with &lt;code&gt;-Tennis##&lt;/code&gt; or &lt;code&gt;-Squash##&lt;/code&gt; in ''TEMPLATE-NAME'' will have &lt;code&gt;sets&lt;/code&gt; set to the value of &lt;code&gt;##&lt;/code&gt;. In addition, these templates will have &lt;syntaxhighlight lang="lua" inline&gt;{seeds = "yes", nowrap = "yes"}&lt;/syntaxhighlight&gt; set.</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>** Templates with &lt;code&gt;-Tennis##&lt;/code&gt; or &lt;code&gt;-Squash##&lt;/code&gt; in ''TEMPLATE-NAME'' will have &lt;code&gt;sets&lt;/code&gt; set to the value of &lt;code&gt;##&lt;/code&gt;. In addition, these templates will have &lt;syntaxhighlight lang="lua" inline&gt;{seeds = "yes", nowrap = "yes"}&lt;/syntaxhighlight&gt; set.</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>** Templates with &lt;code&gt;-Compact&lt;/code&gt; in ''TEMPLATE-NAME'' will automatically default to &lt;syntaxhighlight lang="lua" inline&gt;compact = "yes"&lt;/syntaxhighlight&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>** Templates with &lt;code&gt;-Compact&lt;/code&gt; in ''TEMPLATE-NAME'' will automatically default to &lt;syntaxhighlight lang="lua" inline&gt;compact = "yes"&lt;/syntaxhighlight&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>&lt;noinclude&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:Module documentation pages]]</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>&lt;/noinclude&gt;</div></td> </tr> </table> Warudo https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1242118943&oldid=prev Ahecht: /* Adding new templates */ typo 2024-08-25T03:14:44Z <p><span class="autocomment">Adding new templates: </span> typo</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 03:14, 25 August 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 27:</td> <td colspan="2" class="diff-lineno">Line 27:</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>* '''TEMPLATE_NAME''' is the name of the template without "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>* '''TEMPLATE_NAME''' is the name of the template without "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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom parameters and the standard parameter of [[:Moduke:Team Bracket]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number <del style="font-weight: bold; text-decoration: none;">of</del> contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom parameters and the standard parameter of [[:Moduke:Team Bracket]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number <ins style="font-weight: bold; text-decoration: none;">or</ins> contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used in a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_DEFAULTS'':</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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used in a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_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;"><div>** &lt;code&gt;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</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;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</div></td> </tr> </table> Ahecht https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1242118905&oldid=prev Ahecht: /* Adding new templates */ remove duplicated duplicated word 2024-08-25T03:14:17Z <p><span class="autocomment">Adding new templates: </span> remove duplicated duplicated word</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 03:14, 25 August 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 27:</td> <td colspan="2" class="diff-lineno">Line 27:</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>* '''TEMPLATE_NAME''' is the name of the template without "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>* '''TEMPLATE_NAME''' is the name of the template without "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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom<del style="font-weight: bold; text-decoration: none;"> parameters</del> parameters and the standard parameter of [[:Moduke:Team Bracket]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number of contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom parameters and the standard parameter of [[:Moduke:Team Bracket]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number of contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used in a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_DEFAULTS'':</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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used in a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_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;"><div>** &lt;code&gt;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</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;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</div></td> </tr> </table> Ahecht https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1241721026&oldid=prev Ahecht: /* Example */ Adding new templates 2024-08-22T19:56:23Z <p><span class="autocomment">Example: </span> Adding new 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 19:56, 22 August 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 19:</td> <td colspan="2" class="diff-lineno">Line 19:</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:Tournament bracket templates]][[Category:4-Team bracket templates]][[Category:6-Team bracket templates]][[Category:7-Team bracket templates]][[Category:8-Team bracket templates]][[Category:16-Team bracket 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>[[Category:Tournament bracket templates]][[Category:4-Team bracket templates]][[Category:6-Team bracket templates]][[Category:7-Team bracket templates]][[Category:8-Team bracket templates]][[Category:16-Team bracket 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>}}&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 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 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>== Adding new templates ==</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>New templates can be added using the following format:</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>&lt;syntaxhighlight lang="lua"&gt;p['TEMPLATE_NAME'] = function (frame) </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> return p._teamBracket(frame, 'TEMPLATE_NAME', {ALTERNATIVE_PARAMETER_NAMES}, {PARAMETER_DEFAULTS})</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>end&lt;/syntaxhighlight&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;"><br /></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_NAME''' is the name of the template without "Template:"</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>* '''ALTERNATIVE_PARAMETER_NAMES''' is an array of custom parameters parameters and the standard parameter of [[:Moduke:Team Bracket]] that they translate to, in the form &lt;syntaxhighlight lang="lua" inline&gt;CUSTOM_NAME = "STANDARD_NAME"&lt;/syntaxhighlight&gt;. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1-group1 = {{{RD1-group1|{{{group1|}}}}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;group1 = "RD1-group1"&lt;/syntaxhighlight&gt;. Any parameters that start with a number of contain a dash need to be specified as &lt;syntaxhighlight lang="lua" inline&gt;['CUSTOM_NAME']&lt;/syntaxhighlight&gt;, e.g. &lt;syntaxhighlight lang="lua" inline&gt;['RD1-seed01'] = 'RD1-seed1'&lt;/syntaxhighlight&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>* '''PARAMETER_DEFAULTS''' is an array of default parameter values that are used in a parameter is not specified. For example, a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|RD1 = Quarterfinals&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;RD1 = "Quarterfinals"&lt;/syntaxhighlight&gt;, or a template that uses &lt;syntaxhighlight lang="wikitext" inline&gt;|team-width = {{{team-width|125}}}&lt;/syntaxhighlight&gt; would have &lt;syntaxhighlight lang="lua" inline&gt;['team-width'] = "125"&lt;/syntaxhighlight&gt;. Some parameters are automatically determined based on ''TEMPLATE-NAME'' unless explicity specified in ''PARAMETER_DEFAULTS'':</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>** &lt;code&gt;rounds&lt;/code&gt; is automatically calculated based on the &lt;code&gt;##Team&lt;/code&gt; or &lt;code&gt;##Round&lt;/code&gt; text present in ''TEMPLATE-NAME''. This does not need to be specified.</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>** Templates with &lt;code&gt;-Tennis##&lt;/code&gt; or &lt;code&gt;-Squash##&lt;/code&gt; in ''TEMPLATE-NAME'' will have &lt;code&gt;sets&lt;/code&gt; set to the value of &lt;code&gt;##&lt;/code&gt;. In addition, these templates will have &lt;syntaxhighlight lang="lua" inline&gt;{seeds = "yes", nowrap = "yes"}&lt;/syntaxhighlight&gt; set.</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>** Templates with &lt;code&gt;-Compact&lt;/code&gt; in ''TEMPLATE-NAME'' will automatically default to &lt;syntaxhighlight lang="lua" inline&gt;compact = "yes"&lt;/syntaxhighlight&gt;</div></td> </tr> </table> Ahecht https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1241182909&oldid=prev Ahecht: {{Module rating|beta}} 2024-08-19T19:59:56Z <p>{{Module rating|beta}}</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 19:59, 19 August 2024</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" 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 rating|<del style="font-weight: bold; text-decoration: none;">pre-alpha</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>{{Module rating|<ins style="font-weight: bold; text-decoration: none;">beta</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>&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"></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> Ahecht https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1241142364&oldid=prev Ahecht: div col 2024-08-19T15:29:23Z <p>div col</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 15:29, 19 August 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 3:</td> <td colspan="2" class="diff-lineno">Line 3:</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>Wrapper for bracket templates, which can be used in place of the following for reduced [[WP:PEIS|Post-expand include size]]:</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>Wrapper for bracket templates, which can be used in place of the following for reduced [[WP:PEIS|Post-expand include size]]:</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>{{div col}}</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>{{#invoke:{{BASEPAGENAME}}|list}}</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>{{#invoke:{{BASEPAGENAME}}|list}}</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>{{div col 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>== 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> </table> Ahecht https://en.wikipedia.org/w/index.php?title=Module:Bracket/doc&diff=1241134537&oldid=prev Ahecht: {{#invoke:{{BASEPAGENAME}}|list}} 2024-08-19T14:35:49Z <p>{{#invoke:{{BASEPAGENAME}}|list}}</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 14:35, 19 August 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 3:</td> <td colspan="2" class="diff-lineno">Line 3:</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>Wrapper for bracket templates, which can be used in place of the following for reduced [[WP:PEIS|Post-expand include size]]:</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>Wrapper for bracket templates, which can be used in place of the following for reduced [[WP:PEIS|Post-expand include size]]:</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>{{#invoke:{{BASEPAGENAME}}|list}}</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>* {{tl|2TeamBracket}}</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>* {{tl|4TeamBracket}}</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>* {{tl|4TeamBracket-Tennis3}}</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>* {{tl|4TeamBracket-Tennis5}}</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>* {{tl|4TeamBracket-Tennis35}}</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>* {{tl|6TeamBracket}}</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>* {{tl|7TeamBracket}}</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>* {{tl|8TeamBracket}}</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>* {{tl|8TeamBracket-Byes}}</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>* {{tl|8TeamBracket-Tennis3}}</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>* {{tl|8TeamBracket-Tennis5}}</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>* {{tl|16TeamBracket}}</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>* {{tl|16TeamBracket-Byes}}</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>* {{tl|16TeamBracket-Tennis3}}</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>* {{tl|16TeamBracket-Compact-Archery}}</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>* {{tl|16TeamBracket-Compact-Tennis3}}</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>* {{tl|16TeamBracket-Compact-Tennis3-Byes}}</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>* {{tl|16TeamBracket-Compact-NoSeeds-Byes}}</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>* {{tl|16TeamBracket-Tennis5}}</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>* {{tl|16TeamBracket-Compact-Tennis5}}</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>* {{tl|16TeamBracket-Compact-Tennis5-Byes}}</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>* {{tl|32TeamBracket}}</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>* {{tl|32TeamBracket-Compact-Squash5}}</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>* {{tl|64TeamBracket}}</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;"><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> </table> Ahecht