Template:Puffer: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m fixed categorization for large puffers
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|Puffer Name}}}
 
|-
-->{{InfoboxStart
| 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>
|typename      = Puffer
{{#if: {{{animated|}}} | {{!}}-
|defaultconfig = puffer
{{!}} 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|}}}
| {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Puffer]]
|rle          = {{{rle|}}}
|-
|nofile        = {{{nofile|}}}
! Direction
|pname        = {{{pname|}}}
| {{{dir|Unknown}}}
|animated      = {{{animated|}}}
|-
|hideimg      = {{{hideimg|}}}
! [[Period]]
}}<!--
| {{{p|Unknown}}}
 
|-
Display pattern type
! [[Speed]]
 
| {{{s|Unknown}}}
--><tr>
|-
<th> Pattern type </th>
! Number of [[cell]]s
<td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Puffer]] </td></tr><!--
| {{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} | Unknown }}
 
|-
Display population and bounding box
! [[Bounding box]]
 
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }}
-->{{PatternPopulationAndBoundingBox
|-
|c        = {{{c|}}}
! Discovered by
|bx      = {{{bx|}}}
| {{#if: {{{discoverer|}}} | [[:Category:Patterns found by {{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }}
|by      = {{{by|}}}
|-
|fc      = {{{fc|}}}
! 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|}}}}} |}
Display an infobox divider
<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]].
-->{{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).
*'''type''': a subcategory (such as [[rake]]) for the puffer. Leave blank if it does not apply or if you're unsure.


--><noinclude>{{Puffer/Doc}}
{{PatternTemplates}}
{{PatternTemplates}}
</noinclude>
</noinclude><!--
<includeonly>
 
Categories
 
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Puffers]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[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