Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) I think that's all of 'em. |
Apple Bottom (talk | contribs) Let's try to be sneaky and actually test for an empty string here, rather than an unpassed parameter. Hope this'll work -- hooves crossed. |
||
| Line 30: | Line 30: | ||
{{#ifeq: {{{synthesis|}}} | 0 | <tr> | {{#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> | | <td colspan="2" style="text-align:center;"> Synthesis is [[:Category:Patterns that can not be constructed with gliders|not possible]].</td></tr> | | ||
{{# | {{#ifeq: x{{{synthesis|}}} | x | | <tr> | ||
<th> Fewest [[glider]]s </th> | <th> Fewest [[glider]]s </th> | ||
<td style="text-align:right;"> {{#ifexpr: {{{synthesis|0}}} >= 1000 | [[:Category:Patterns that can be constructed with 1000 or more gliders|{{{synthesis|}}}]] | [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]] }}{{#ifexpr: {{{synthesis|0}}} > {{Reverse caber tosser/Lower bound}} | ({{Reverse caber tosser/Lower bound}}<sup>†</sup>) | }} </td></tr> | <td style="text-align:right;"> {{#ifexpr: {{{synthesis|0}}} >= 1000 | [[:Category:Patterns that can be constructed with 1000 or more gliders|{{{synthesis|}}}]] | [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]] }}{{#ifexpr: {{{synthesis|0}}} > {{Reverse caber tosser/Lower bound}} | ({{Reverse caber tosser/Lower bound}}<sup>†</sup>) | }} </td></tr> | ||
Revision as of 20:48, 3 November 2018
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 templates such as Template:Pattern and Template:Oscillator. All of its parameters are passed in from the corresponding parameters of the template that calls it.