Template:Methuselah: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
add divider
Use Template:PatternPopulationAndBoundingBox; group "generic" parameters at top of infobox
Line 14: Line 14:
<tr>
<tr>
<th> Pattern type </th>
<th> Pattern type </th>
<td> [[Methuselah]] </td></tr>
<td> [[Methuselah]] </td></tr><!--
 
Display population and bounding box
 
-->{{PatternPopulationAndBoundingBox
|c        = {{{c|}}}
|bx      = {{{bx|}}}
|by      = {{{by|}}}
}}<!--
 
Display an infobox divider
 
-->{{InfoboxDivider}}
<tr>
<tr>
<th> Lifespan </th>
<th> Lifespan </th>
<td> {{#if: {{{l|}}} | {{{l|}}} generations | Unknown }} </td></tr>
<td> {{#if: {{{l|}}} | {{{l|}}} generations | Unknown }} </td></tr>
<tr>
<!--
<th> Number of [[cell]]s </th>
<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>
<th> [[Bounding box]] </th>
<td> {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }} </td></tr><!--


Display an infobox divider
Display an infobox divider
Line 80: Line 87:
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Methuselahs]]
[[Category:Methuselahs]]
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }} }}
</includeonly>
</includeonly>

Revision as of 20:49, 18 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