Template:Puffer: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m added "type" parameter
No edit summary
 
(29 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|}}}
{{#if: {{{rle|}}} | {{!}}-
|name          = {{{name|}}}
{{!}} colspan="2" class="infobox_link" {{!}} [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java]
|zip          = {{{zip|}}}
}}
|mc            = {{{mc|}}}
|-
|life105      = {{{life105|}}}
! Pattern type
|life106      = {{{life106|}}}
| {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Puffer]]
|plaintext    = {{{plaintext|}}}
|-
|rle          = {{{rle|}}}
! Direction
|nofile        = {{{nofile|}}}
| {{{dir|Unknown}}}
|pname        = {{{pname|}}}
|-
|animated      = {{{animated|}}}
! [[Period]]
|hideimg      = {{{hideimg|}}}
| {{{p|Unknown}}}
}}<!--
|-
 
! [[Speed]]
Display pattern type
| {{{s|Unknown}}}
 
|-
--><tr>
! Number of [[cell]]s
<th> Pattern type </th>
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
<td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Puffer]] </td></tr><!--
|-
 
! [[Bounding box]]
Display population and bounding box
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }}
 
|-
-->{{PatternPopulationAndBoundingBox
! Discovered by
|c        = {{{c|}}}
| {{#if: {{{discoverer|}}} | [[:Category:Patterns found by {{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }}
|bx      = {{{bx|}}}
|-
|by      = {{{by|}}}
! Year of discovery
|fc      = {{{fc|}}}
| {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }}
}}<!--
{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}|pname={{{pname|}}}}} |}
 
<noinclude>
Display an infobox divider
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]].
 
-->{{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><!--


==Special parameters==
Transcluded documentation
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).


--><noinclude>{{Puffer/Doc}}
{{PatternTemplates}}
{{PatternTemplates}}
</noinclude>
</noinclude><!--
<includeonly>
 
Categories
 
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[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|}}}]] }}
[[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]] }}
}}
</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