Template:PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
OK, maybe I should actually put that in the right spot.
And include an explanatory footnote.
Line 32: Line 32:
{{#if: {{{synthesis|}}} | <tr>
{{#if: {{{synthesis|}}} | <tr>
<th> Fewest&nbsp;[[glider]]s </th>
<th> Fewest&nbsp;[[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}} | &dagger; | }} </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>&dagger;</sup>) | }} </td></tr>
}}{{#if: {{{synthesisRLE|}}} | <tr>
}}{{#if: {{{synthesisRLE|}}} | <tr>
<th> [[RLE]] </th>
<th> [[RLE]] </th>
Line 82: Line 82:
<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>
}}
}}{{#ifexpr: {{{synthesis|}}} > {{Reverse caber tosser/Lower bound}} | <tr>
</table>
<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>&dagger;</sup>Can be constructed with {{Reverse caber tosser/Lower bound}} gliders using the [[reverse caber tosser]] [[universal constructor]].</td></tr>
}}</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]] }} }} }}
</includeonly>
</includeonly>
<noinclude>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.
<noinclude>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.
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 12:20, 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.