Template:Methuselah: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!--  
<!--


Display "request pattern file" box if no pattern files exist and "nofile" was not passed to suppress this
Begin infobox


--> <includeonly>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly><!--
-->{{InfoboxStart
|typename      = Methuselah
|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|}}}
}}<!--


Begin infobox
Display pattern type


--> <table class="infobox">
--><tr>
<tr><td colspan="2" class="infobox_head"> {{{name|Methuselah Name}}} </td></tr>
<tr>
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | [[Image:{{{pname|}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table></td></tr>{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]] </td></tr> }}
<!-- {{#if: {{{rle|}}} | <tr><td colspan="2" class="infobox_link"> [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java] </td></tr> }} -->
<tr>
<th> Pattern type </th>
<th> Pattern type </th>
<td> [[Methuselah]] </td></tr><!--
<td> [[Methuselah]] </td></tr><!--
Line 41: Line 51:
<td> {{{f|Unknown}}} </td></tr>
<td> {{{f|Unknown}}} </td></tr>
}}{{#if: {{{l|}}} | <tr>
}}{{#if: {{{l|}}} | <tr>
<th> L/I </th>
<th> [[L/I]] </th>
<td> {{#iferror: {{#expr: floor({{{c}}})}} | Unknown | {{#expr: {{{l}}}/{{{c}}} round 1 }} }}</td></tr>
<td> {{#iferror: {{#expr: floor({{{c}}})}} | Unknown | {{#expr: {{{l}}}/{{{c}}} round 1 }} }}</td></tr>
}}{{#if: {{{f|}}} | <tr>
}}{{#if: {{{f|}}} | <tr>
<th> F/I </th>
<th> [[F/I]] </th>
<td> {{#iferror: {{#expr: floor({{{c}}})}} | Unknown | {{#expr: {{{f}}}/{{{c}}} round 1 }} }}</td></tr>
<td> {{#iferror: {{#expr: floor({{{c}}})}} | Unknown | {{#expr: {{{f}}}/{{{c}}} round 1 }} }}</td></tr>
}}{{#if: {{{f|}}} | {{#if: {{{l|}}} | <tr>
}}{{#if: {{{f|}}} | {{#if: {{{l|}}} | <tr>
<th> F/L </th>
<th> [[F/L]] </th>
<td> {{#expr: {{{f}}}/{{{l}}} round 1 }}</td></tr>
<td> {{#expr: {{{f}}}/{{{l}}} round 3 }}</td></tr>
}} }}{{#if: {{{mcps|}}} | {{#if: {{{l|}}} | <tr>
}} }}{{#if: {{{mcps|}}} | {{#if: {{{l|}}} | <tr>
<th> L/MCPS </th>
<th> [[L/MCPS]] </th>
<td> {{#expr: {{{l}}}/{{{mcps}}} round 1 }}</td></tr>
<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
Display an infobox divider
Line 73: Line 90:
-->{{PatternDownload
-->{{PatternDownload
|synthesis    = {{{synthesis|}}}
|synthesis    = {{{synthesis|}}}
|synthesis2  = {{{synthesis2|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|life105      = {{{life105|}}}
|life105      = {{{life105|}}}
Line 84: Line 102:
|rulemax      = {{{rulemax|}}}
|rulemax      = {{{rulemax|}}}
|rulemin      = {{{rulemin|}}}  
|rulemin      = {{{rulemin|}}}  
|isorulemax  = {{{isorulemax|}}}
|isorulemin  = {{{isorulemin|}}}
}}<!--
}}<!--


Line 107: Line 127:


--><includeonly>
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Methuselahs]]
[[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