Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
change displayed link text for Catagolue-generated synthesis RLEs |
remove "rulespecial" parameter per LifeWiki:Tiki_bar/Archive/2021#Future_of_the_rulespecial_parameter and LifeWiki:Tiki_bar#Back_into_the_Future_of_the_rulespecial_parameter |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{ | <includeonly>{{#if:{{{rulespecial|}}}|[[Category:Pages needing cleanup]]|}}<!-- | ||
-->{{#if: {{{rulemin|}}}{{{rulemax|}}} | <tr> | |||
<td colspan="2" style="height:3px;"></td></tr> | <td colspan="2" style="height:3px;"></td></tr> | ||
<tr> | <tr> | ||
| Line 11: | Line 12: | ||
<th> [[Outer-totalistic]] rules </th> | <th> [[Outer-totalistic]] rules </th> | ||
<td style="text-align:right;"> {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{#if:{{{rulemin|}}}|{{{rulemin}}}|unknown}} – {{#if:{{{rulemax|}}}|{{{rulemax}}}|unknown}}}}</td></tr> | <td style="text-align:right;"> {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{#if:{{{rulemin|}}}|{{{rulemin}}}|unknown}} – {{#if:{{{rulemax|}}}|{{{rulemax}}}|unknown}}}}</td></tr> | ||
<tr> | |||
<th> # of rules </th> | <th> # of rules </th> | ||
<td style="text-align:right;"> {{#if: {{{rulemin|}}} | {{#if: {{{rulemax|}}} | 2<sup>{{#expr:{{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}}}}</sup> = {{#expr: 2^({{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}})}} | Unknown }} | Unknown }} </td></tr> | <td style="text-align:right;"> {{#if: {{{rulemin|}}} | {{#if: {{{rulemax|}}} | 2<sup>{{#expr:{{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}}}}</sup> = {{#expr: 2^({{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}})}} | Unknown }} | Unknown }} </td></tr> | ||
| Line 90: | Line 88: | ||
}} | }} | ||
{{#ifeq:{{NAMESPACE}}|User||{{#ifeq:{{NAMESPACE}}|Template|| | {{#ifeq:{{NAMESPACE}}|User||{{#ifeq:{{NAMESPACE}}|Template|| | ||
{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{GlidersCategoryName|{{{synthesis|}}}}} gliders]] }} }}{{#if: {{{synthesis2|}}} | {{#ifeq: {{{synthesis2|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{GlidersCategoryName|{{{synthesis2|}}}}} gliders]] }} }}{{#if: {{{rulemin|}}} | {{#if: {{{rulemax|}}} | {{#ifeq: {{{rulemin}}} | {{{rulemax}}} | [[Category:Outer-totalistically endemic patterns]] }} | [[Category:Patterns with unknown or incomplete rule information]] }} | {{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{GlidersCategoryName|{{{synthesis|}}}}} gliders]] }} }}{{#if: {{{synthesis2|}}} | {{#ifeq: {{{synthesis2|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{GlidersCategoryName|{{{synthesis2|}}}}} gliders]] }} }}{{#if: {{{rulemin|}}} | {{#if: {{{rulemax|}}} | {{#ifeq: {{{rulemin}}} | {{{rulemax}}} | [[Category:Outer-totalistically endemic patterns]] }} | [[Category:Patterns with unknown or incomplete rule information]] }} | [[Category:Patterns with unknown or incomplete rule information]] }}{{#if: {{{isorulemin|}}} | {{#if: {{{isorulemax|}}} | {{#ifeq: {{{isorulemin}}} | {{{isorulemax}}} | [[Category:Isotropically endemic patterns]] }} | [[Category:Patterns with unknown or incomplete rule information]] }} | [[Category:Patterns with unknown or incomplete rule information]] }} }} }}</includeonly> | ||
<noinclude>This template displays the "Rules", "Glider synthesis" and "Pattern files" boxes that appear on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as [[Template:Pattern]] and [[Template:Oscillator]]. All of its parameters are passed in from the corresponding parameters of the template that calls it. | <noinclude>This template displays the "Rules", "Glider synthesis" and "Pattern files" boxes that appear on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as [[Template:Pattern]] and [[Template:Oscillator]]. All of its parameters are passed in from the corresponding parameters of the template that calls it. | ||
[[Category:Infobox subtemplates]]</noinclude> | [[Category:Infobox subtemplates]]</noinclude> | ||
Revision as of 06:35, 16 September 2023
This template displays the "Rules", "Glider synthesis" and "Pattern files" boxes that appear on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as Template:Pattern and Template:Oscillator. All of its parameters are passed in from the corresponding parameters of the template that calls it.