Template:PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
distinguish between canonical and cheapest synth; changes tested at User:Ian07/Test/Template
Line 10: Line 10:
<tr>
<tr>
<th> [[Outer-totalistic]]&nbsp;rules </th>
<th> [[Outer-totalistic]]&nbsp;rules </th>
<td style="text-align:right;"> {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{#if:{{{rulemin|}}}|{{{rulemin}}}|unknown}}&nbsp;–&nbsp;{{#if:{{{rulemax|}}}|{{{rulemax}}}|unknown}}}}</td><tr />
<td style="text-align:right;"> {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{#if:{{{rulemin|}}}|{{{rulemin}}}|unknown}}&nbsp;–&nbsp;{{#if:{{{rulemax|}}}|{{{rulemax}}}|unknown}}}}</td></tr>
{{#if: {{{rulespecial|}}} | <tr>
{{#if: {{{rulespecial|}}} | <tr>
<th> Important&nbsp;rules </th>
<th> Important&nbsp;rules </th>
Line 50: Line 50:
<!--{{#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.hatsya.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|}}} |  

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