Template:Puffer: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m Removed protection from "Template:Puffer": Editing is already restricted to trusted users.
Categorize puffers based on dir(ection)/p(eriod)/s(peed)
Line 37: Line 37:
*'''p''': the period of the puffer (e.g. p=8).
*'''p''': the period of the puffer (e.g. p=8).
*'''s''': the speed of the puffer (e.g. s=c/2).
*'''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.
*'''type''': a subcategory (such as [[rake]]) for the puffer. Leave blank if it does not apply or if you are unsure.


{{PatternTemplates}}
{{PatternTemplates}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
[[Category:Patterns]]
[[Category:Patterns]][[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: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoverer2|}}} | [[Category:Patterns found by {{{discoverer2|}}}]] }}{{#if: {{{discoverer3|}}} | [[Category:Patterns found by {{{discoverer3|}}}]] }}{{#if: {{{discoverer4|}}} | [[Category:Patterns found by {{{discoverer4|}}}]] }}{{#if: {{{discoverer5|}}} | [[Category:Patterns found by {{{discoverer5|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
[[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: {{{discoverer2|}}} | [[Category:Patterns found by {{{discoverer2|}}}]] }}{{#if: {{{discoverer3|}}} | [[Category:Patterns found by {{{discoverer3|}}}]] }}{{#if: {{{discoverer4|}}} | [[Category:Patterns found by {{{discoverer4|}}}]] }}{{#if: {{{discoverer5|}}} | [[Category:Patterns found by {{{discoverer5|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
</includeonly>
</includeonly>

Revision as of 15:28, 22 January 2018

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 are unsure.

Pattern templates