Template:Oscillator: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
Reworking how LV parameters work a bit
Line 4: Line 4:
<tr>
<tr>
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | {{#ifexist:RLE:{{{pname}}}|{{LV:Viewer|{{:RLE:{{{pname}}}}}
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | {{#ifexist:RLE:{{{pname}}}|{{LV:Viewer|{{:RLE:{{{pname}}}}}
{{#ifexist:Template:LifeViewer config/{{{pname}}}|{{LifeViewer config/{{{pname}}}}}|{{LifeViewer config/oscillator}}}}|[[Image:{{{pname|}}}.png|{{{name}}} image]]}}|[[Image:{{{pname|}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}}}</td></tr></table></td></tr>{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]]}}<tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.png|View static image]] </td></tr>
{{LifeViewer config/oscillator}}{{#ifexist:Template:LifeViewer config/{{{pname}}}|{{LifeViewer config/{{{pname}}}}}}}|[[Image:{{{pname|}}}.png|{{{name}}} image]]}}|[[Image:{{{pname|}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}}}</td></tr></table></td></tr>{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]]}}<tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.png|View static image]] </td></tr>
<!-- {{#if: {{{rle|}}} | <tr><td colspan="2" class="infobox_link"> [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java] </td></tr> }} -->
<tr>
<tr>
<th valign="top"> Pattern type </th>
<th valign="top"> Pattern type </th>

Revision as of 17:38, 16 June 2016

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

Pattern templates