Template:MovingBreeder: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Maintainability fixes
Relink categories
Line 26: Line 26:
<tr>
<tr>
<th> Number of [[cell]]s </th>
<th> Number of [[cell]]s </th>
<td> {{{c|Unknown}}} </td></tr>
<td> {{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | {{{c}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} }} | Unknown }} </td></tr>
<tr>
<tr>
<th> [[Bounding box]] </th>
<th> [[Bounding box]] </th>
Line 35: Line 35:
<tr>
<tr>
<th> Year of discovery </th>
<th> Year of discovery </th>
<td> {{{discoveryear|Unknown}}} </td></tr><!--
<td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr><!--


Display "Rules", "Glider synthesis", "Pattern files" sections
Display "Rules", "Glider synthesis", "Pattern files" sections

Revision as of 12:33, 18 February 2018

Breeder Name
{{{name}}} image
Pattern type Breeder
Direction Unknown
Period Unknown
Speed Unknown
Number of cells Unknown
Bounding box Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for breeders with a moving engine. An example can be seen to the right. For general information about how to use pattern templates, see LifeWiki:Style guide/Pattern layout. To see a live example of this template in action, see breeder 1.

Special parameters

The following parameters are optional and should only be specified if their values are known.

  • dir: the direction of the breeder (either dir=Orthogonal, dir=Diagonal, or dir=Oblique).
  • p: the period of the breeder (e.g. p=8).
  • s: the speed of the breeder (e.g. s=c/2).


Pattern templates