Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
fixed 0 synthesis categorization |
m added rules box (testing) |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{rulesbox|}}| | |||
{{!}}- | |||
{{!}} 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]] | |||
{{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | {{#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] | |||
}} }} | | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} No syntheses are known.}} | |||
|}}} | |||
|- | |- | ||
| colspan="2" style="height:3px;" | | | colspan="2" style="height:3px;" | | ||
| Line 53: | Line 79: | ||
|}{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]]}} }} | |}{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]]}} }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude>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. | ||
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 00:31, 18 June 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.