Difference between revisions of "User:Sokwe/Template:btest2"
Jump to navigation
Jump to search
m |
m |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | <includeonly>{{#if: {{{rulemax|}}}{{{rulespecial|}}} | {{!}}- | ||
{{!}} colspan="2" style="height:3px;" {{!}} | |||
{{!}}- | |||
{{!}} colspan="2" style="background-color:#A7A8C1;height:2px;" {{!}} | |||
{{!}}- | |||
{{!}} 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|}}}}} | |||
{{!}}- | |||
! 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|}}}}})}} | |||
{{!}}} }}{{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | | |||
{{!}}- | |||
{{!}} colspan="2" style="height:3px;" {{!}} | |||
{{!}}- | |||
{{!}} colspan="2" style="background-color:#A7A8C1;height:2px;" {{!}} | |||
{{!}}- | |||
{{!}} 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] | |||
}} }} | |||
{{!}}} }}{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | | |||
{{!}}- | |||
{{!}} colspan="2" style="height:3px;" {{!}} | |||
{{!}}- | |||
{{!}} colspan="2" style="background-color:#A7A8C1;height:2px;" {{!}} | |||
{{!}}- | |||
{{!}} 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] | |||
}} | |||
{{!}}} }}{{#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> | |||
Latest revision as of 17:03, 18 June 2009
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.