Template:Methuselah: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Use Template:PatternPopulationAndBoundingBox; group "generic" parameters at top of infobox
Let's try adding a few more optional parameters, matching List of long-lived methuselahs.
Line 22: Line 22:
|bx      = {{{bx|}}}
|bx      = {{{bx|}}}
|by      = {{{by|}}}
|by      = {{{by|}}}
}}<!--
Display minimum covering polyplet size
-->{{#if: {{{mcps|}}} | <tr>
<th> [[MCPS]] </th>
<td> {{{mcps|Unknown}}} </td></tr>
}}<!--
}}<!--


Line 30: Line 37:
<th> Lifespan </th>
<th> Lifespan </th>
<td> {{#if: {{{l|}}} | {{{l|}}} generations | Unknown }} </td></tr>
<td> {{#if: {{{l|}}} | {{{l|}}} generations | Unknown }} </td></tr>
<!--
{{#if: {{{f|}}} | <tr>
<th> Final population </th>
<td> {{{f|Unknown}}} </td></tr>
}}{{#if: {{{l|}}} | <tr>
<th> L/I </th>
<td> {{{#iferror: {{#expr: floor({{{c}}})}} | Unknown | {{#expr: {{{l}}}/{{{c}}} round 1 }} }}</td></tr>
}}{{#if: {{{f|}}} | <tr>
<th> F/I </th>
<td> {{{#iferror: {{#expr: floor({{{c}}})}} | Unknown | {{#expr: {{{f}}}/{{{c}}} round 1 }} }}</td></tr>
}}{{#if: {{{f|}}} | {{#if: {{{l|}}} | <tr>
<th> F/L </th>
<td> {{#expr: {{{f}}}/{{{l}}} round 1 }}</td></tr>
}} }}{{#if: {{{mcps|}}} | {{#if: {{{l|}}} | <tr>
<th> L/MCPS </th>
<td> {{#expr: {{{l}}}/{{{mcps}}} round 1 }}</td></tr>
}} }}<!--


Display an infobox divider
Display an infobox divider

Revision as of 11:28, 20 February 2018

Methuselah Name
{{{name}}} image
Pattern type Methuselah
Lifespan 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