User:Ian07/Test/Template: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
maybe the <br> isn't actually necessary
mNo edit summary
Line 39: Line 39:
}}
}}
{{#if: {{{synthesis2|}}} | <tr>
{{#if: {{{synthesis2|}}} | <tr>
<th> Fewest&nbsp;[[glider]]s (cheapest variant) </th>
<th> Fewest&nbsp;[[glider]]s (cheapest&nbsp;variant) </th>
<td style="text-align:right;"> [[:Category:Patterns that can be constructed with {{GlidersCategoryName|{{{synthesis2|}}}}} gliders|{{{synthesis2|}}}]] {{#ifexpr: 0{{{synthesis2|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|{{{synthesis2|}}}}} gliders|{{{synthesis2|}}}]] {{#ifexpr: 0{{{synthesis2|0}}} > {{Reverse caber tosser/Lower bound}} | &nbsp;({{Reverse caber tosser/Lower bound}}<sup>&dagger;</sup>) | }} </td></tr>
}}
}}
{{#if: {{{apgcode2|}}} | <tr>
{{#if: {{{apgcode2|}}} | <tr>
<th> [[Catagolue]]-generated [[RLE]] (cheapest variant) </th>
<th> [[Catagolue]]-generated [[RLE]] (cheapest&nbsp;variant) </th>
<td style="text-align:right;"> [https://catagolue.hatsya.com/textsamples/{{{apgcode2|apgcodenotfound}}}/b3s23/synthesis {{{pname|namenotfound}}}_synth.rle] </td></tr>
<td style="text-align:right;"> [https://catagolue.hatsya.com/textsamples/{{{apgcode2|apgcodenotfound}}}/b3s23/synthesis {{{pname|namenotfound}}}_synth.rle] </td></tr>
}}
}}

Revision as of 22:02, 10 July 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.