Template:PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m Protected "Template:PatternDownload": Protected due to its inclusion on many other pages [edit=sysop:move=sysop]
Updating files to new URL structure
Line 40: Line 40:
{{!}}-
{{!}}-
! [[RLE]]
! [[RLE]]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{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: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} |
{{!}}}</td></tr> }} {{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} |
Line 54: Line 54:
{{#if: {{{life105|}}} | <tr>
{{#if: {{{life105|}}} | <tr>
<th>[[Life 1.05]]</th>
<th>[[Life 1.05]]</th>
<td style="text-align:right;"> [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_105.lif {{{pname|name}}}_105.lif]</td></tr>
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}_105.lif {{{pname|name}}}_105.lif]</td></tr>
}} {{#if: {{{life106|}}} | <tr>
}} {{#if: {{{life106|}}} | <tr>
<th>[[Life 1.06]]</th>
<th>[[Life 1.06]]</th>
<td style="text-align:right;"> [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_106.lif {{{pname|name}}}_106.lif]</td></tr>
<td style="text-align:right;"> [http://www.conwaylife.com/patterns/{{{pname|name}}}_106.lif {{{pname|name}}}_106.lif]</td></tr>
}} {{#if: {{{plaintext|}}} | <tr>
}} {{#if: {{{plaintext|}}} | <tr>
<th>[[Plaintext]]</th>
<th>[[Plaintext]]</th>
<td style="text-align:right;"> [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}.cells {{{pname|name}}}.cells]</td></tr>
<td style="text-align:right;"> [http://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;"> [http://www.conwaylife.com/pattern.asp?p={{{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>
}}
}}
{{!}}} }}{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]]}} }}
{{!}}} }}{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]]}} }}

Revision as of 16:59, 24 May 2011

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.