Template:Methuselah: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox"
<!--
|-
 
| colspan="2" class="infobox_head" | {{{name|Methuselah Name}}}
Begin infobox
|-
 
| colspan="2" class="infobox_img" | <table class="img_border" cellpadding="0"><tr><td>[[Image:{{{pname|acorn}}}.png]]</td></tr></table>
-->{{InfoboxStart
{{#if: {{{animated|}}} | {{!}}-
|typename      = Methuselah
{{!}} colspan="2" class="infobox_animlink" {{!}} [[Media:{{{pname|name}}}.gif|View animated image]]
|defaultconfig = methuselah
|viewerconfig  = {{{viewerconfig|}}}
|name          = {{{name|}}}
|zip          = {{{zip|}}}
|mc            = {{{mc|}}}
|life105      = {{{life105|}}}
|life106      = {{{life106|}}}
|plaintext    = {{{plaintext|}}}
|rle          = {{{rle|}}}
|nofile        = {{{nofile|}}}
|pname        = {{{pname|}}}
|animated      = {{{animated|}}}
|hideimg      = {{{hideimg|}}}
}}<!--
 
Display pattern type
 
--><tr>
<th> Pattern type </th>
<td> [[Methuselah]] </td></tr><!--
 
Display population and bounding box
 
-->{{PatternPopulationAndBoundingBox
|c        = {{{c|}}}
|bx      = {{{bx|}}}
|by      = {{{by|}}}
}}<!--
 
Display minimum covering polyplet size
 
-->{{#if: {{{mcps|}}} | <tr>
<th> [[MCPS]] </th>
<td> {{{mcps|Unknown}}} </td></tr>
}}<!--
 
Display an infobox divider
 
-->{{InfoboxDivider}}
<tr>
<th> Lifespan </th>
<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 3 }}</td></tr>
}} }}{{#if: {{{mcps|}}} | {{#if: {{{l|}}} | <tr>
<th> [[L/MCPS]] </th>
<td> {{#expr: {{{l}}}/{{{mcps}}} round 1 }}</td></tr>
}} }}<!--
 
Display an infobox divider
 
-->{{InfoboxDivider}}
<tr>
<th> [[Static symmetry]] </th>
<td> {{#if: {{NAMESPACE}} | {{{symmetry|Unspecified}}} | {{#if: {{{symmetry|}}} | [[:Category:Patterns with {{{symmetry}}} symmetry|{{{symmetry}}}]] | Unspecified }} | Unspecified }} </td></tr><!--
 
Display an infobox divider
 
-->{{InfoboxDivider}}<!--
 
Display discoverers and year of discovery
 
-->{{PatternDiscovery
|discoverer  = {{{discoverer|}}}
|discoverer2  = {{{discoverer2|}}}
|discoverer3  = {{{discoverer3|}}}
|discoverer4  = {{{discoverer4|}}}
|discoverer5  = {{{discoverer5|}}}
|discoveryear = {{{discoveryear|}}}
}}<!--
 
Display "Rules", "Glider synthesis", "Pattern files" sections
 
-->{{PatternDownload
|synthesis    = {{{synthesis|}}}
|synthesis2  = {{{synthesis2|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|life105      = {{{life105|}}}
|life106      = {{{life106|}}}
|plaintext    = {{{plaintext|}}}
|zip          = {{{zip|}}}
|mc          = {{{mc|}}}
|rle          = {{{rle|}}}
|pname        = {{{pname|}}}
|rulespecial  = {{{rulespecial|}}}
|rulemax      = {{{rulemax|}}}
|rulemin      = {{{rulemin|}}}
|isorulemax  = {{{isorulemax|}}}
|isorulemin  = {{{isorulemin|}}}
}}<!--
 
Display "Identifiers" section
 
-->{{PatternIdentifiers
|apgcode          = {{{apgcode|}}}
|niemiecid        = {{{niemiecid|}}}
|pentadecathlonid = {{{pentadecathlonid|}}}
}}<!--
 
End infobox
 
--></table><!--
 
Transcluded documentation
 
--><noinclude>{{Methuselah/Doc}}
{{PatternTemplates}}
</noinclude><!--
 
Categories
 
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[Category:Methuselahs]]{{#if: {{{symmetry|}}} | [[Category:Patterns with {{{symmetry|}}} symmetry]] | [[Category:Patterns with unknown symmetry]] }}
}}
}}
{{#if: {{{rle|}}} | {{!}}-
{{!}} colspan="2" class="infobox_link" {{!}} [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java]
}}
|-
! Pattern type
| [[Methuselah]]
|-
! Lifespan
| {{#if: {{{l|}}} | {{{l|}}} generations | Unknown }}
|-
! Number of cells
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
|-
! Discovered by
| {{#if: {{{discoverer|}}} | [[:Category:Patterns_found_by_{{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }}
|-
! Year of discovery
| {{#if: {{{discoveryear|}}} | [[:Category:Patterns_found_in_{{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }}
{{PatternDownload|pname={{{pname|name}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}}}
<noinclude>
The methuselah template is an infobox template for [[methuselah]] [[pattern|patterns]]. An example can be seen to the right.
</noinclude>
<includeonly>
[[Category:Methuselahs]]
[[Category:Patterns]]
{{#if: {{{c|}}} | [[Category:Patterns with {{{c}}} cells]] }}{{#if: {{{p|}}} | [[Category:Oscillators with period {{{p}}}]] }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
</includeonly>
</includeonly>

Latest revision as of 17:06, 21 August 2024

Methuselah Name
image
Pattern type Methuselah
Lifespan Unknown
Static symmetry Unspecified
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