Template:Oscillator: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m Removed protection from "Template:Oscillator": Editing is already restricted to trusted users.
Support sv= for strict volatility.
Line 40: Line 40:
<th> [[Volatility]] </th>
<th> [[Volatility]] </th>
<td> {{#if: {{{v|}}} |[[:Category:Oscillators with volatility {{{v}}}|{{{v}}}]] | Unknown }} </td></tr>
<td> {{#if: {{{v|}}} |[[:Category:Oscillators with volatility {{{v}}}|{{{v}}}]] | Unknown }} </td></tr>
<tr>
<th> [[Strict volatility]] </th>
<td> {{#if: {{{sv|}}} |[[:Category:Oscillators with volatility {{{sv}}}|{{{sv}}}]] | Unknown }} </td></tr>
{{#if: {{{rotor|}}} |  
{{#if: {{{rotor|}}} |  
<tr>
<tr>
Line 60: Line 63:
*'''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.
*'''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.
*'''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. v=0.50). Include 2 digits after the decimal place.
*'''f1''': one category this oscillator falls under (e.g. f1=Muttering moat).
*'''f1''': one category this oscillator falls under (e.g. f1=Muttering moat).
*'''f2''': any other categories (e.g. f2=Billiard table).
*'''f2''': any other categories (e.g. f2=Billiard table).

Revision as of 11:28, 31 August 2017

Oscillator Name
{{{name}}} image
Pattern type Oscillator
Number of cells Unknown
Bounding box Unknown
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. v=0.50). Include 2 digits after the decimal place.
  • f1: one category this oscillator falls under (e.g. f1=Muttering moat).
  • f2: any other categories (e.g. f2=Billiard table).

Pattern templates