Template:PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
added Java link, reformatted things a bit, added some documentation
Line 11: Line 11:
{{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | {{!}}-
{{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | {{!}}-
{{#if: {{{synthesis|}}} | {{!}}-
{{#if: {{{synthesis|}}} | {{!}}-
! Fewest [[glider]]s
! style="width:70%" {{!}} Fewest [[glider]]s
{{!}} style="text-align:right;" {{!}} [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]]
{{!}} [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]]
}}
}}
{{#if: {{{synthesisRLE|}}} | {{!}}-
{{#if: {{{synthesisRLE|}}} | {{!}}-
! [[RLE]] file
! 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]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle]
}} |
}} |
Line 50: Line 53:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
This is the template for displaying the "Download" box on pattern pages in the Wiki.
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.
</noinclude>
</noinclude>

Revision as of 13:47, 23 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.