Difference between revisions of "Template:PatternDownload"
Jump to navigation
Jump to search
m (spacing fix) |
m (spacing test) |
||
Line 10: | Line 10: | ||
{{!}}- | {{!}}- | ||
! All rules | ! All rules | ||
{{!}} style="text-align:right;" {{!}} {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{{rulemin|}}} – {{{rulemax|}}}}} | {{!}} style="text-align:right;" {{!}} {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{{rulemin|}}} – {{{rulemax|}}}}} {{#if: {{{rulespecial|}}} | | ||
{{!}}- | {{!}}- | ||
! Important rules | ! Important rules | ||
{{!}} style="text-align:right;" valign="top" {{!}} {{{rulespecial|}}} | {{!}} style="text-align:right;" valign="top" {{!}} {{{rulespecial|}}} }} | ||
{{!}}- | {{!}}- | ||
! # 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;" {{!}} |
Revision as of 17:05, 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.