Template:Oscillator: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
m added some more categorization (allowing type=)
Line 13: Line 13:
|-
|-
! Pattern type
! Pattern type
| [[Oscillator]]
| {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Oscillator]]
|-
|-
! Number of [[cell]]s
! Number of [[cell]]s
Line 45: Line 45:
<includeonly>
<includeonly>
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Oscillators]]
[[Category:Oscillators]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }} }}{{#if: {{{p|}}} | [[Category:Oscillators with period {{{p}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Oscillators with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }} }}{{#if: {{{p|}}} | [[Category:Oscillators with period {{{p}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Oscillators with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
</includeonly>
</includeonly>

Revision as of 11:13, 11 June 2009

Oscillator Name
{{{name}}} image


Pattern type Oscillator
Number of cells Unknown
Bounding box Unknown
Period Unknown
Heat Unknown
Discovered by Unknown
Year of discovery Unknown


This is an infobox template for oscillators. 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 Achim's p4.

Special parameters

The following parameters are optional and should only be specified if their values are known.

  • h: the heat of the oscillator (e.g. h=4). Decimal values are allowed, though it is most common not to include more than 1 decimal place.
  • p: the period of the oscillator (e.g. p=4).

Pattern templates