Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
pretty sure this is redundant |
moving conwaylife URLs to https to get around issue with http links not working |
||
| Line 40: | Line 40: | ||
{{#if: {{{synthesisRLE|}}} | <tr> | {{#if: {{{synthesisRLE|}}} | <tr> | ||
<th> Uploaded synthesis [[RLE]] </th> | <th> Uploaded synthesis [[RLE]] </th> | ||
<td style="text-align:right;"> [ | <td style="text-align:right;"> [https://www.conwaylife.com/patterns/{{{pname|namenotfound}}}_synth.rle {{{pname|namenotfound}}}_synth.rle] </td></tr> | ||
| {{#ifexist:RLE:{{{pname}}}_synth|<tr> | | {{#ifexist:RLE:{{{pname}}}_synth|<tr> | ||
<th>[[RLE]]</th> | <th>[[RLE]]</th> | ||
| Line 69: | Line 69: | ||
{{#if: {{{mc|}}} | <tr> | {{#if: {{{mc|}}} | <tr> | ||
<th>[[Macrocell]]</th> | <th>[[Macrocell]]</th> | ||
<td style="text-align:right;"> [ | <td style="text-align:right;"> [https://www.conwaylife.com/patterns/{{{pname|name}}}.mc {{{pname|name}}}.mc]</td></tr> | ||
}} {{#if: {{{plaintext|}}} | <tr> | }} {{#if: {{{plaintext|}}} | <tr> | ||
<th>[[Plaintext]]</th> | <th>[[Plaintext]]</th> | ||
<td style="text-align:right;"> [ | <td style="text-align:right;"> [https://www.conwaylife.com/patterns/{{{pname|name}}}.cells {{{pname|name}}}.cells]</td></tr> | ||
}} {{#if: {{{rle|}}} | <tr> | }} {{#if: {{{rle|}}} | <tr> | ||
<th>[[RLE]]</th> | <th>[[RLE]]</th> | ||
<td style="text-align:right;"> [ | <td style="text-align:right;"> [https://www.conwaylife.com/patterns/{{{pname|name}}}.rle {{{pname|name}}}.rle]</td></tr> | ||
| {{#ifexist:RLE:{{{pname}}}|<tr> | | {{#ifexist:RLE:{{{pname}}}|<tr> | ||
<th>[[RLE]]</th> | <th>[[RLE]]</th> | ||
| Line 82: | Line 82: | ||
}} {{#if: {{{zip|}}} | <tr> | }} {{#if: {{{zip|}}} | <tr> | ||
<th>Zip archive</th> | <th>Zip archive</th> | ||
<td style="text-align:right;"> [ | <td style="text-align:right;"> [https://www.conwaylife.com/patterns/{{{pname|name}}}.zip {{{pname|name}}}.zip]</td></tr> | ||
}}</table> | }}</table> | ||
}} | }} | ||
Revision as of 18:43, 25 July 2020
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.