Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
EAypmNQlDLqaHlz |
m Undo revision 14075 by 80.58.29.173 (Talk) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{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 | {{{rulemin|}}} – {{{rulemax|}}}}} | |||
{{#if: {{{rulespecial|}}} | {{!}}- | |||
! Important rules | |||
{{!}} style="text-align:right;" valign="top" {{!}} {{{rulespecial|}}} | |||
{{!}}- | {{!}}- }} | |||
! # of rules | |||
{{!}} style="text-align:right;" {{!}} 2<sup>{{#expr:{{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}}}}</sup> = {{#expr: 2^({{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}})}} | |||
{{!}}} | |||
</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|}}} | {{!}}- | |||
! Java link | |||
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com?p={{{pname|name}}}_synth click here] | |||
{{!}}- | |||
! [[RLE]] | |||
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle] | |||
}} }} | |||
{{!}}}</td></tr> }} {{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | | |||
<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|}}} | {{!}}- | |||
! [[Life 1.05]] | |||
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_105.lif {{{pname|name}}}_105.lif] | |||
}} | |||
{{#if: {{{life106|}}} | {{!}}- | |||
! [[Life 1.06]] | |||
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_106.lif {{{pname|name}}}_106.lif] | |||
}} | |||
{{#if: {{{plaintext|}}} | {{!}}- | |||
! [[Plaintext]] | |||
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}.cells {{{pname|name}}}.cells] | |||
}} | |||
{{#if: {{{rle|}}} | {{!}}- | |||
! [[RLE]] | |||
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}.rle {{{pname|name}}}.rle] | |||
}} | |||
{{!}}} </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]]}} }} | |||
</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 template 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> | |||
Revision as of 06:02, 13 April 2011
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 template such as Template:Pattern and Template:Oscillator. All of its parameters are passed in from the corresponding parameters of the template that calls it.