Template:Puffer: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m Protected "Template:Puffer" [edit=sysop:move=sysop]
No edit summary
 
(34 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
|-
|typename      = Puffer
| colspan="2" class="infobox_link" | [http://www.conwaylife.com?p={{{pname|name}}} See it evolve]
|defaultconfig = puffer
|-
|viewerconfig  = {{{viewerconfig|}}}
! Pattern type
|name          = {{{name|}}}
| [[Puffer]]
|zip          = {{{zip|}}}
|-
|mc            = {{{mc|}}}
! Direction
|life105      = {{{life105|}}}
| {{{dir|Unknown}}}
|life106      = {{{life106|}}}
|-
|plaintext    = {{{plaintext|}}}
! [[Period]]
|rle          = {{{rle|}}}
| {{{p|Unknown}}}
|nofile        = {{{nofile|}}}
|-
|pname        = {{{pname|}}}
! Speed
|animated      = {{{animated|}}}
| {{{s|Unknown}}}
|hideimg      = {{{hideimg|}}}
|-
}}<!--
! Number of cells
 
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
Display pattern type
|-
 
! Discovered by
--><tr>
| {{#if: {{{discoverer|}}} | [[:Category:Patterns found by {{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }}
<th> Pattern type </th>
|-
<td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Puffer]] </td></tr><!--
! Year of discovery
 
| {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }}
Display population and bounding box
{{PatternDownload|pname={{{pname|name}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}}}
 
<noinclude>
-->{{PatternPopulationAndBoundingBox
The spaceship template is an infobox template for [[spaceship]] [[pattern|patterns]]. An example can be seen to the right.
|c        = {{{c|}}}
</noinclude>
|bx      = {{{bx|}}}
<includeonly>
|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: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