Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) And include an explanatory footnote. |
Apple Bottom (talk | contribs) Move footnote up to the "Glider synthesis" section |
||
| Line 32: | Line 32: | ||
{{#if: {{{synthesis|}}} | <tr> | {{#if: {{{synthesis|}}} | <tr> | ||
<th> Fewest [[glider]]s </th> | <th> Fewest [[glider]]s </th> | ||
<td style="text-align:right;"> {{#ifexpr: {{{synthesis|}}} >= 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|}}} > {{Reverse caber tosser/Lower bound}} | ({{Reverse caber tosser/Lower bound}}<sup>†</sup>) | }} </td></tr> | <td style="text-align:right;"> {{#ifexpr: {{{synthesis|}}} >= 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|}}} > {{Reverse caber tosser/Lower bound}} | ({{Reverse caber tosser/Lower bound}}<sup>†</sup>) | }} </td></tr> | ||
}}{{#if: {{{synthesisRLE|}}} | <tr> | }}{{#if: {{{synthesisRLE|}}} | <tr> | ||
<th> [[RLE]] </th> | <th> [[RLE]] </th> | ||
| Line 50: | Line 50: | ||
<th> As result </th> | <th> As result </th> | ||
<td style="text-align:right;"> [http://pentadecathlon.com/objects/object-info.php?objid={{{pentadecathlonid|}}}&content=constructions {{{pentadecathlonid|}}}] </td></tr> | <td style="text-align:right;"> [http://pentadecathlon.com/objects/object-info.php?objid={{{pentadecathlonid|}}}&content=constructions {{{pentadecathlonid|}}}] </td></tr> | ||
}}{{#ifexpr: {{{synthesis|}}} > {{Reverse caber tosser/Lower bound}} | <tr> | |||
<td colspan="2" style="height:3px;"></td></tr> | |||
<tr> | |||
<td colspan="2" style="background-color:#A7A8C1;height:2px;"></td></tr> | |||
<tr> | |||
<td colspan="2"><sup>†</sup>Can be constructed with {{Reverse caber tosser/Lower bound}} gliders using the [[reverse caber tosser]] [[universal constructor]].</td></tr> | |||
}}</table></td></tr> }} {{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{#ifexist:RLE:{{{pname}}}|true|}} | | }}</table></td></tr> }} {{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{#ifexist:RLE:{{{pname}}}|true|}} | | ||
<tr> | <tr> | ||
| Line 82: | Line 88: | ||
<th>Zip archive</th> | <th>Zip archive</th> | ||
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.zip {{{pname|name}}}.zip]</td></tr> | <td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.zip {{{pname|name}}}.zip]</td></tr> | ||
}}</table> | }}</table> | ||
}}{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | {{#ifexpr: {{{synthesis|}}} >= 1000 | [[Category:Patterns that can be constructed with 1000 or more gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]] }} }} }} | }}{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | {{#ifexpr: {{{synthesis|}}} >= 1000 | [[Category:Patterns that can be constructed with 1000 or more gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]] }} }} }} | ||
Revision as of 12:22, 23 June 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.