User:Apple Bottom/Sandbox/PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
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&nbsp;rules
{{!}} style="text-align:right;" {{!}} {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{#if:{{{rulemin|}}}|{{{rulemin}}}|unknown}}&nbsp;–&nbsp;{{#if:{{{rulemax|}}}|{{{rulemax}}}|unknown}}}}
{{#if: {{{rulespecial|}}} | {{!}}-
! Important&nbsp;rules
{{!}} style="text-align:right;" valign="top" {{!}} {{{rulespecial|}}}
{{!}}- | {{!}}- }}
! #&nbsp;of&nbsp;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&nbsp;[[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]]}} }}

Revision as of 18:53, 27 September 2016