Template:Puffer: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m rule options
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | | {{requestpatternfile}} }}</includeonly>
<includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly>
{| class="infobox"
<table class="infobox">
|-
<tr><td colspan="2" class="infobox_head"> {{{name|Puffer Name}}} </td></tr>
| colspan="2" class="infobox_head" | {{{name|Puffer Name}}}
<tr>
|-
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | [[Image:{{{pname|}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table></td></tr>
| colspan="2" class="infobox_img" | <table class="img_border" cellpadding="0"><tr><td>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | [[Image:{{{pname|backrake1}}}.png]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table>
{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]] </td></tr> }}
{{#if: {{{animated|}}} | {{!}}-
{{#if: {{{rle|}}} | <tr><td colspan="2" class="infobox_link"> [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java] </td></tr> }}
{{!}} colspan="2" class="infobox_animlink" {{!}} [[Media:{{{pname|name}}}.gif|View animated image]]
<tr>
}}
<th> Pattern type </th>
{{#if: {{{rle|}}} | {{!}}-
<td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Puffer]] </td></tr>
{{!}} colspan="2" class="infobox_link" {{!}} [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java]
<tr>
}}
<th> Direction </th>
|-
<td> {{{dir|Unknown}}} </td></tr>
! Pattern type
<tr>
| {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Puffer]]
<th> [[Period]] </th>
|-
<td> {{{p|Unknown}}} </td></tr>
! Direction
<tr>
| {{{dir|Unknown}}}
<th> [[Speed]] </th>
|-
<td> {{{s|Unknown}}} </td></tr>
! [[Period]]
<tr>
| {{{p|Unknown}}}
<th> Number of [[cell]]s </th>
|-
<td> {{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} | Unknown }} </td></tr>
! [[Speed]]
<tr>
| {{{s|Unknown}}}
<th> [[Bounding box]] </th>
|-
<td> {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }} </td></tr>
! Number of [[cell]]s
<tr>
| {{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} | Unknown }}
<th> Discovered by </th>
|-
<td> {{#if: {{{discoverer|}}} | [[:Category:Patterns found by {{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }} </td></tr>
! [[Bounding box]]
<tr>
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }}
<th> Year of discovery </th>
|-
<td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr>
! Discovered by
{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }} </table>
| {{#if: {{{discoverer|}}} | [[:Category:Patterns found by {{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }}
|-
! Year of discovery
| {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }}
{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }} |}
<noinclude>
<noinclude>
This is an infobox template for '''[[puffer]]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 [[backrake 1]].
This is an infobox template for '''[[puffer]]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 [[backrake 1]].

Revision as of 13:31, 19 June 2009



Puffer Name
{{{name}}} image
Pattern type Puffer
Direction Unknown
Period Unknown
Speed Unknown
Number of cells Unknown
Bounding box Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for puffers. 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 backrake 1.

Special parameters

The following parameters are optional and should only be specified if their values are known.

  • dir: the direction of the puffer (either dir=Orthogonal or dir=Diagonal).
  • p: the period of the puffer (e.g. p=8).
  • s: the speed of the puffer (e.g. s=c/2).
  • type: a subcategory (such as rake) for the puffer. Leave blank if it does not apply or if you're unsure.

Pattern templates