Template:PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
Try fixing infobox layout
Line 33: Line 33:
{{#if: {{{synthesis|}}} | {{!}}-
{{#if: {{{synthesis|}}} | {{!}}-
! Fewest [[glider]]s
! Fewest [[glider]]s
{{!}} style="text-align:right;" {{!}} [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]] }}
{{!}} style="text-align:right;" {{!}} [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]] }}{{#if: {{{synthesisRLE|}}} |  
{{#if: {{{synthesisRLE|}}} | {{!}}-
{{!}}-
! [[RLE]]
! [[RLE]]
{{!}} 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]
|[[Category:Patterns without synthesis files]]}} }}
|[[Category:Patterns without synthesis files]]}} }}{{#if: {{{apgcode|}}} |  
{{#if: {{{apgcode|}}} | {{!}}-
{{!}}-
! Auto-generated synthesis
! Auto-generated synthesis
{{!}} style="text-align:right; word-break: break-all" {{!}} [https://glidersynth.neocities.org/?{{{apgcode|}}} {{{apgcode|}}}] }}
{{!}} style="text-align:right; word-break: break-all" {{!}} [https://glidersynth.neocities.org/?{{{apgcode|}}} {{{apgcode|}}}] }}{{#if: {{{pentadecathlonid|}}} |  
{{#if: {{{pentadecathlonid|}}} |  
{{!}}-
{{!}}-
! As source
! As source

Revision as of 12:23, 7 August 2017

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.