Template:Methuselah: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Maintainability fixes; remove "oscillator population" category; fix pattern size category if c>=1000 (not that a pattern that large would qualify as a methuselah anyway)
Relink categories
Line 20: Line 20:
<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 29: Line 29:
<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

Methuselah Name
{{{name}}} image
Pattern type Methuselah
Lifespan Unknown
Number of cells Unknown
Bounding box Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for methuselahs. 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 bunnies.

Special parameters

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

  • l: number of generations before the pattern stabilizes (e.g. l=17332).
  • f: the final population of the pattern (e.g. f=1744).
  • mcps: the minimum covering polyplet size of the pattern (e.g. mcps=11).


Pattern templates