Difference between revisions of "Template:PatternDownload"

From LifeWiki
Jump to navigation Jump to search
(This should at least make the links show up (even in infoboxes where they're not really wanted))
(Trying to make the problem a little clearer: the apgcode parameter is coming up blank when building the Catagolue URL, even though the apgcode is retrieved with no trouble later in the template)
Line 35: Line 35:
 
<tr>
 
<tr>
 
<th> [[RLE|Catagolue-generated RLE]] </th>
 
<th> [[RLE|Catagolue-generated RLE]] </th>
<td style="text-align:right;"> [https://catagolue.appspot.com/textsamples/{{{apgcode|}}}/b3s23/synthesis/{{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle] </td></tr>
+
<td style="text-align:right;"> [https://catagolue.appspot.com/textsamples/{{{apgcode|apgcodenotfound}}}/b3s23/synthesis/{{{pname|namenotfound}}}_synth.rle {{{pname|namenotfound}}}_synth.rle] </td></tr>
 
}}
 
}}
 
{{#if: {{{synthesisRLE|}}} | <tr>
 
{{#if: {{{synthesisRLE|}}} | <tr>

Revision as of 17:44, 23 April 2019

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.