User:Apple Bottom/Sandbox/PatternDownload: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) No edit summary |
Apple Bottom (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{#ifexist:RLE:{{{pname}}}|true|}} | | {{#if: {{{rulemin|}}}{{{rulemax|}}}{{{rulespecial|}}} | <tr> | ||
<td colspan="2" style="height:3px;"></td></tr> | |||
<tr> | |||
<td colspan="2" style="background-color:#A7A8C1;height:2px;"></td></tr> | |||
<tr> | |||
<td colspan="2"> | |||
{{{!}} class="infobox_table collapsible collapsed" style="width:100%" | |||
{{!}}- | |||
! colspan="2" class="infobox_subhead" {{!}} [[Life-like cellular automaton|Rules]] | |||
{{!}}- | |||
! All rules | |||
{{!}} style="text-align:right;" {{!}} {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{#if:{{{rulemin|}}}|{{{rulemin}}}|unknown}} – {{#if:{{{rulemax|}}}|{{{rulemax}}}|unknown}}}} | |||
{{#if: {{{rulespecial|}}} | {{!}}- | |||
! Important rules | |||
{{!}} style="text-align:right;" valign="top" {{!}} {{{rulespecial|}}} | |||
{{!}}- | {{!}}- }} | |||
! # of rules | |||
{{!}} 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> | |||
}} {{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | | |||
<tr> | |||
<td colspan="2" style="height:3px;"></td></tr> | |||
<tr> | |||
<td colspan="2" style="background-color:#A7A8C1;height:2px;"></td></tr> | |||
<tr> | |||
<td colspan="2"> | |||
{{{!}} class="infobox_table collapsible collapsed" style="width:100%" | |||
{{!}}- | |||
! colspan="2" class="infobox_subhead" {{!}} [[Glider synthesis]] | |||
{{#ifeq: {{{synthesis|}}} | 0 | {{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} Synthesis is [[:Category:Patterns that can not be constructed with gliders|not possible]]. | {{!}}- | |||
{{#if: {{{synthesis|}}} | {{!}}- | |||
! Fewest [[glider]]s | |||
{{!}} style="text-align:right;" {{!}} [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]] | |||
}} | |||
{{#if: {{{synthesisRLE|}}} | {{!}}- | |||
! [[RLE]] | |||
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/patterns/{{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle] | |||
}} }} | |||
{{!}}}</td></tr> }} {{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{#ifexist:RLE:{{{pname}}}|true|}} | | |||
<tr> | <tr> | ||
<td colspan="2" style="height:3px;"></td></tr> | <td colspan="2" style="height:3px;"></td></tr> | ||
| Line 32: | Line 72: | ||
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.zip {{{pname|name}}}.zip]</td></tr> | <td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.zip {{{pname|name}}}.zip]</td></tr> | ||
}} | }} | ||
{{!}}}} | {{!}}}}{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]]}} }} | ||