Difference between revisions of "Template:PatternDownload"

From LifeWiki
Jump to navigation Jump to search
(moving conwaylife URLs to https to get around issue with http links not working)
(per tiki bar)
(7 intermediate revisions by the same user not shown)
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|0}}} >= 101 | [[:Category:Patterns that can be constructed with 101 or more gliders|{{{synthesis|}}}]] | [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]] }}{{#ifexpr: 0{{{synthesis|0}}} > {{Reverse caber tosser/Lower bound}} | &nbsp;({{Reverse caber tosser/Lower bound}}<sup>&dagger;</sup>) | }} </td></tr>
<td style="text-align:right;"> [[:Category:Patterns that can be constructed with {{GlidersCategoryName|{{{synthesis|}}}}} gliders|{{{synthesis|}}}]] {{#ifexpr: 0{{{synthesis|0}}} > {{Reverse caber tosser/Lower bound}} | &nbsp;({{Reverse caber tosser/Lower bound}}<sup>&dagger;</sup>) | }} </td></tr>
}}
}}
{{#if: {{{apgcode|}}} | <tr>
{{#if: {{{apgcode|}}} | <tr>
<th> [[Catagolue]]-generated [[RLE]] </th>
<th> [[Catagolue]]-generated [[RLE]] </th>
<td style="text-align:right;"> [https://catagolue.appspot.com/textsamples/{{{apgcode|apgcodenotfound}}}/b3s23/synthesis {{{pname|namenotfound}}}_synth.rle] </td></tr>
<td style="text-align:right;"> [https://catagolue.hatsya.com/textsamples/{{{apgcode|apgcodenotfound}}}/b3s23/synthesis {{{pname|namenotfound}}}_synth.rle] </td></tr>
}}
}}
{{#if: {{{synthesisRLE|}}} | <tr>
{{#if: {{{synthesisRLE|}}} | <tr>
Line 46: Line 46:
<!--{{#if: {{{apgcode|}}} | <tr>
<!--{{#if: {{{apgcode|}}} | <tr>
<th> Auto-generated synthesis </th>
<th> Auto-generated synthesis </th>
<td style="text-align:right; word-break: break-all"> [https://glidersynth.neocities.org/?{{{apgcode|}}} {{{apgcode|}}}]<br />[https://catagolue.appspot.com/js/glidersynth.html?{{{apgcode|}}} {{{apgcode|}}}] (alt.)</td></tr>
<td style="text-align:right; word-break: break-all"> [https://glidersynth.neocities.org/?{{{apgcode|}}} {{{apgcode|}}}]<br />[https://catagolue.hatsya.com/js/glidersynth.html?{{{apgcode|}}} {{{apgcode|}}}] (alt.)</td></tr>
}}-->
}}-->
{{#if: {{{pentadecathlonid|}}} |  
{{#if: {{{pentadecathlonid|}}} |  
Line 85: Line 85:
}}</table>
}}</table>
}}
}}
{{#ifeq:{{NAMESPACE}}|User||
{{#ifeq:{{NAMESPACE}}|User||{{#ifeq:{{NAMESPACE}}|Template||
{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | {{#ifexpr: {{{synthesis|0}}} >= 101 | [[Category:Patterns that can be constructed with 101 or more gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]] }} }} }}{{#if: {{{rulemin|}}} | {{#if: {{{rulemax|}}} | {{#ifeq: {{{rulemin}}} | {{{rulemax}}} | [[Category:Outer-totalistically endemic patterns]] }}}}}}{{#if: {{{isorulemin|}}} | {{#if: {{{isorulemax|}}} | {{#ifeq: {{{isorulemin}}} | {{{isorulemax}}} | [[Category:Isotropically endemic patterns]] }}}}}}
{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{GlidersCategoryName|{{{synthesis|}}}}} gliders]] }} }}{{#if: {{{rulemin|}}} | {{#if: {{{rulemax|}}} | {{#ifeq: {{{rulemin}}} | {{{rulemax}}} | [[Category:Outer-totalistically endemic patterns]] }} | [[Category:Patterns with unknown or incomplete rule information]] }} | [[Category:Patterns with unknown or incomplete rule information]] }}{{#if: {{{rulespecial|}}} | | [[Category:Patterns with unknown or incomplete rule information]] }}{{#if: {{{isorulemin|}}} | {{#if: {{{isorulemax|}}} | {{#ifeq: {{{isorulemin}}} | {{{isorulemax}}} | [[Category:Isotropically endemic patterns]] }} | [[Category:Patterns with unknown or incomplete rule information]] }} | [[Category:Patterns with unknown or incomplete rule information]] }} }} }}</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 subtemplates]]</noinclude>

Revision as of 23:23, 10 May 2021

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.