Template:PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m minor layout change again
added "synthesis=0" option for impossible to synthesis objects such as Gardens of Eden
Line 9: Line 9:
|-
|-
! colspan="2" class="infobox_subhead" | [[Glider synthesis]]
! colspan="2" class="infobox_subhead" | [[Glider synthesis]]
{{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | {{!}}-
{{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | {{#ifeq: {{{synthesis|}}} | 0 | {{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} Synthesis is not possible.}} | {{!}}-
{{#if: {{{synthesis|}}} | {{!}}-
{{#if: {{{synthesis|}}} | {{!}}-
! Fewest [[glider]]s
! Fewest [[glider]]s
Line 20: Line 21:
! [[RLE]]
! [[RLE]]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle]
}} |
}} }} |
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} No syntheses are known.}}
{{!}} colspan="2" style="text-align:center;" {{!}} No syntheses are known.}}

Revision as of 14:39, 29 April 2009


This template displays the "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.