Template:Oscillator: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 63: Line 63:
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Oscillators]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}
[[Category:Oscillators]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] [[Category:Oscillators with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] [[Category:Oscillators with {{{c}}} cells]] }} }} }}{{#if: {{{p|}}} | [[Category:Oscillators with period {{{p}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Oscillators with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{v|}}} | [[Category:Oscillators with volatility {{{v}}}]] }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}{{#if: {{{family|}}} | [[Category:{{{family|}}} variants]] }}{{#if: {{{m|}}} | [[Category:Oscillators with mod {{{m|}}}]] }}{{#if: {{{f1|}}} | [[Category:{{{f1|}}}s]] }}{{#if: {{{f2|}}} | [[Category:{{{f2|}}}s]] }}
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] [[Category:Oscillators with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] [[Category:Oscillators with {{{c}}} cells]] }} }} }}{{#if: {{{family|}}} | [[Category:{{{family|}}} variants]] }}{{#if: {{{f1|}}} | [[Category:{{{f1|}}}s]] }}{{#if: {{{f2|}}} | [[Category:{{{f2|}}}s]] }}{{#if: {{{p|}}} | [[Category:Oscillators with period {{{p}}}]] }}{{#if: {{{m|}}} | [[Category:Oscillators with mod {{{m|}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Oscillators with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{v|}}} | [[Category:Oscillators with volatility {{{v}}}]] }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
</includeonly>
</includeonly>

Revision as of 13:21, 8 August 2016


Oscillator Name
Pattern type Oscillator
Number of cells Unknown
Bounding box Unknown
Period Unknown
Mod Unknown
Heat Unknown
Volatility 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).
  • m: the mod of the oscillator (e.g. m=2).
  • v: the volatility of the oscillator (e.g. v=0.50). Include 2 digits after the decimal place.

Pattern templates