Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 18: | Line 18: | ||
{{!}} style="text-align:right;" {{!}} 2<sup>{{#expr:{{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}}}}</sup> = {{#expr: 2^({{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}})}} | {{!}} style="text-align:right;" {{!}} 2<sup>{{#expr:{{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}}}}</sup> = {{#expr: 2^({{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}})}} | ||
{{!}}} | {{!}}} | ||
}} | }} {{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | | ||
{{#if: {{{synthesis|}}}{{{synthesisRLE|}}} | | |||
<tr> | <tr> | ||
<td colspan="2" style="height:3px;"></td></tr> | <td colspan="2" style="height:3px;"></td></tr> | ||
| Line 26: | Line 25: | ||
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
<table class="infobox_table collapsible collapsed" style="width:100%"> | |||
<tr> | |||
<th colspan="2" class="infobox_subhead"> [[Glider synthesis]] </th> | |||
{{#ifeq: {{{synthesis|}}} | 0 | | {{#ifeq: {{{synthesis|}}} | 0 | <tr><td colspan="2" style="text-align:center;"> Synthesis is [[:Category:Patterns that can not be constructed with gliders|not possible]]. </td></tr> | | ||
{{#if: {{{synthesis|}}} | <tr> | |||
{{#if: {{{synthesis|}}} | | <th> Fewest [[glider]]s </th> | ||
<td style="text-align:right;"> [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]] </td></tr> }} | |||
{{#if: {{{synthesisRLE|}}} | <tr> | |||
}} | <th> Java link </th> | ||
{{#if: {{{synthesisRLE|}}} | | <td style="text-align:right;"> [http://www.conwaylife.com?p={{{pname|name}}}_synth click here] </td></tr> | ||
<tr> | |||
<th> [[RLE]] </th> | |||
<td style="text-align:right;"> [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle] </td> | |||
</tr>}} }} | |||
</table></td></tr> }} | |||
}} }} | |||
{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | {{!}}- | {{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | {{!}}- | ||
{{!}} colspan="2" style="height:3px;" {{!}} | {{!}} colspan="2" style="height:3px;" {{!}} | ||
Revision as of 13:01, 19 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.