Template:Methuselah: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | | {{requestpatternfile}} }}</includeonly>
<!--
{| class="infobox"
 
|-
Begin infobox
| colspan="2" class="infobox_head" | {{{name|Methuselah Name}}}
 
|-
-->{{InfoboxStart
| colspan="2" class="infobox_img" | <table class="img_border" cellpadding="0"><tr><td>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | [[Image:{{{pname|acorn}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table>
|typename      = Methuselah
{{#if: {{{animated|}}} | {{!}}-
|defaultconfig = methuselah
{{!}} colspan="2" class="infobox_animlink" {{!}} [[Media:{{{pname|name}}}.gif|View animated image]]
|viewerconfig  = {{{viewerconfig|}}}
}}
|name          = {{{name|}}}
{{#if: {{{rle|}}} | {{!}}-
|zip          = {{{zip|}}}
{{!}} colspan="2" class="infobox_link" {{!}} [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java]
|mc            = {{{mc|}}}
}}
|life105      = {{{life105|}}}
|-
|life106      = {{{life106|}}}
! Pattern type
|plaintext    = {{{plaintext|}}}
| [[Methuselah]]
|rle          = {{{rle|}}}
|-
|nofile        = {{{nofile|}}}
! Lifespan
|pname        = {{{pname|}}}
| {{#if: {{{l|}}} | {{{l|}}} generations | Unknown }}
|animated      = {{{animated|}}}
|-
|hideimg      = {{{hideimg|}}}
! Number of [[cell]]s
}}<!--
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
 
|-
Display pattern type
! [[Bounding box]]
 
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }}
--><tr>
|-
<th> Pattern type </th>
! Discovered by
<td> [[Methuselah]] </td></tr><!--
| {{#if: {{{discoverer|}}} | [[:Category:Patterns_found_by_{{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }}
 
|-
Display population and bounding box
! Year of discovery
 
| {{#if: {{{discoveryear|}}} | [[:Category:Patterns_found_in_{{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }}
-->{{PatternPopulationAndBoundingBox
{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}|pname={{{pname|}}}}} |}
|c        = {{{c|}}}
<noinclude>
|bx      = {{{bx|}}}
This is an infobox template for '''[[methuselah]]s'''. 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]].
|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><!--


==Special parameters==
Transcluded documentation
The following parameter is optional and should only be specified if its value is known.
*'''l''': number of generations before the pattern stabilizes (e.g. l=17332).


--><noinclude>{{Methuselah/Doc}}
{{PatternTemplates}}
{{PatternTemplates}}
</noinclude>
</noinclude><!--
<includeonly>
 
[[Category:Methuselahs]]
Categories
 
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[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|}}}]] }}
[[Category:Methuselahs]]{{#if: {{{symmetry|}}} | [[Category:Patterns with {{{symmetry|}}} symmetry]] | [[Category:Patterns with unknown symmetry]] }}
}}
</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