Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
m made glider synth and pattern file boxes not display if they are empty |
m spacing fix |
||
| Line 17: | Line 17: | ||
! # of rules | ! # of rules | ||
{{!}} 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|}}} | {{!}}- | {{!}}- | ||
{{!}} colspan="2" style="height:3px;" {{!}} | {{!}} colspan="2" style="height:3px;" {{!}} | ||
{{!}}- | {{!}}- | ||
| Line 40: | Line 40: | ||
{{!}} 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] | ||
}} }} | }} }} | ||
{{!}}} }} | {{!}}} }}{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | | ||
{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | {{!}}- | {{!}}- | ||
{{!}} colspan="2" style="height:3px;" {{!}} | {{!}} colspan="2" style="height:3px;" {{!}} | ||
{{!}}- | {{!}}- | ||
Revision as of 16:56, 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.