Template:PatternDownload: Difference between revisions
Jump to navigation
Jump to search
load RLE from namespace |
No edit summary |
||
| Line 39: | Line 39: | ||
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/patterns/{{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle] | {{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/patterns/{{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle] | ||
}} }} | }} }} | ||
{{!}}}</td></tr> }} {{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{#ifexist:RLE:{{{pname}}}| | {{!}}}</td></tr> }} {{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{#ifexist:RLE:{{{pname}}}|true|}} | | ||
<tr> | <tr> | ||
<td colspan="2" style="height:3px;"></td></tr> | <td colspan="2" style="height:3px;"></td></tr> | ||
| Line 64: | Line 64: | ||
<th>[[RLE]]</th> | <th>[[RLE]]</th> | ||
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.rle {{{pname|name}}}.rle]</td></tr> | <td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.rle {{{pname|name}}}.rle]</td></tr> | ||
| {{#ifexist:RLE:{{{pname}}}|[[RLE:{{{pname}}}|raw RLE code]]}} }} {{#if: {{{zip|}}} | <tr> | | {{#ifexist:RLE:{{{pname}}}|<tr> | ||
<th>[[RLE]]</th> | |||
<td style="text-align:right;"> [[RLE:{{{pname}}}|raw RLE code]]</td></tr>}} }} {{#if: {{{zip|}}} | <tr> | |||
<th>Zip archive</th> | <th>Zip archive</th> | ||
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.zip {{{pname|name}}}.zip]</td></tr> | <td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}.zip {{{pname|name}}}.zip]</td></tr> | ||
Revision as of 11:48, 18 June 2016
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 template such as Template:Pattern and Template:Oscillator. All of its parameters are passed in from the corresponding parameters of the template that calls it.