Template:Puffer: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m Added bounding box
No edit summary
 
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox"
<!--
|-
 
| colspan="2" class="infobox_head" | {{{name|Puffer Name}}}
Begin infobox
|-
 
| colspan="2" class="infobox_img" | <table class="img_border" cellpadding="0"><tr><td>[[Image:{{{pname|backrake1}}}.png]]</td></tr></table>
-->{{InfoboxStart
{{#if: {{{animated|}}} | {{!}}-
|typename      = Puffer
{{!}} colspan="2" class="infobox_animlink" {{!}} [[Media:{{{pname|name}}}.gif|View animated image]]
|defaultconfig = puffer
|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> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Puffer]] </td></tr><!--
 
Display population and bounding box
 
-->{{PatternPopulationAndBoundingBox
|c        = {{{c|}}}
|bx      = {{{bx|}}}
|by      = {{{by|}}}
|fc      = {{{fc|}}}
}}<!--
 
Display an infobox divider
 
-->{{InfoboxDivider}}
<tr>
<th> Direction </th>
<td> {{#if: {{{dir|}}} | [[:Category:{{{dir|}}} puffers|{{{dir|}}}]] | Unknown }} </td></tr>
<tr>
<th> [[Period]] </th>
<td> {{#if: {{{p|}}} | [[:Category:Puffers with period {{{p|}}}|{{{p|}}}]] | Unknown }} </td></tr>
<tr>
<th> [[Speed]] </th>
<td> {{#if: {{{s|}}} | [[:Category:Puffers with speed {{{s|}}}|{{{s|}}}]] | Unknown }} </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|}}}
|apgcode      = {{{apgcode|}}}
|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>{{Puffer/Doc}}
{{PatternTemplates}}
</noinclude><!--
 
Categories
 
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[Category:Linear growth]]
[[Category:Infinite growth]]
[[Category:Puffers]]{{#if: {{{dir|}}} | [[Category:{{{dir|}}} puffers]] | [[Category:Puffers with unknown direction]] }}{{#if: {{{p|}}} | [[Category:Puffers with period {{{p|}}}]] | [[Category:Puffers with unknown period]] }}{{#if: {{{s|}}} | [[Category:Puffers with speed {{{s|}}}]] | [[Category:Puffers with unknown speed]] }}{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}
}}
}}
{{#if: {{{rle|}}} | {{!}}-
{{!}} colspan="2" class="infobox_link" {{!}} [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java]
}}
|-
! Pattern type
| [[Puffer]]
|-
! Direction
| {{{dir|Unknown}}}
|-
! [[Period]]
| {{{p|Unknown}}}
|-
! [[Speed]]
| {{{s|Unknown}}}
|-
! Number of [[cell]]s
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
|-
! [[Bounding box]]
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | 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 spaceship template is an infobox template for [[spaceship]] [[pattern|patterns]]. An example can be seen to the right.
</noinclude>
<includeonly>
[[Category:Patterns]]
[[Category:Puffers]]{{#if: {{{c|}}} | [[Category:Patterns with {{{c}}} cells]] }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
</includeonly>
</includeonly>

Latest revision as of 19:14, 28 April 2023

Puffer Name
image
Pattern type Puffer
Direction Unknown
Period Unknown
Speed 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 (dir=Orthogonal, dir=Diagonal, or dir=Oblique).
  • 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 are unsure.


Pattern templates