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

From LifeWiki
Jump to navigation Jump to search
No edit summary
Blanked the page
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#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>
<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" {{!}} Pattern files
{{#if: {{{life105|}}} | <tr>
<th>[[Life 1.05]]</th>
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}_105.lif {{{pname|name}}}_105.lif]</td></tr>
}} {{#if: {{{life106|}}} | <tr>
<th>[[Life 1.06]]</th>
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}_106.lif {{{pname|name}}}_106.lif]</td></tr>
}} {{#if: {{{mc|}}} | <tr>
<th>[[Macrocell]]</th>
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.mc {{{pname|name}}}.mc]</td></tr>
}} {{#if: {{{plaintext|}}} | <tr>
<th>[[Plaintext]]</th>
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.cells {{{pname|name}}}.cells]</td></tr>
}} {{#if: {{{rle|}}} | <tr>
<th>[[RLE]]</th>
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.rle {{{pname|name}}}.rle]</td></tr>
| {{#ifexist:RLE:{{{pname}}}|<tr>
<th>[[RLE]]</th>
<td style="text-align:right;"> [[RLE:{{{pname}}}|raw RLE code]]</td></tr>
{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}||[[Category:Pages with raw RLE code but no uploaded pattern files]]}}}}
}} {{#if: {{{zip|}}} | <tr>
<th>Zip archive</th>
<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]]}} }}

Latest revision as of 19:21, 27 September 2016