Template:Oscillator: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
support synthesis2 and apgcode2
only add periodic object category if strict oscillator
Line 47: Line 47:
|fc      = {{{fc|}}}
|fc      = {{{fc|}}}
|catextra = Oscillators
|catextra = Oscillators
|periodic = true
|periodic = {{#ifeq: {{{type|}}} | pseudo | | true }}
}}<!--
}}<!--



Revision as of 20:53, 14 December 2021

Oscillator Name
image
Pattern type Oscillator
Period Unknown
Mod Unknown
Heat Unknown
Volatility Unknown
Strict 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 Gray counter.

Special parameters

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

  • p: the period of the oscillator (e.g. p=4).
  • m: the mod of the oscillator (e.g. m=2).
  • 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.
  • v: the volatility of the oscillator (e.g. v=0.50). Include 2 digits after the decimal place.
  • sv: the strict volatility of the oscillator (e.g. sv=0.50). Include 2 digits after the decimal place, or as many digits as necessary to distinguish a non-zero number from zero.
  • f1: one category this oscillator falls under (e.g. f1=Muttering moat).
  • f2: any other categories (e.g. f2=Billiard table).


Pattern templates