Difference between revisions of "Template:Rotor"

From LifeWiki
Jump to navigation Jump to search
(Maintainability tweaks)
Line 34: Line 34:
 
<th> [[Volatility]] </th>
 
<th> [[Volatility]] </th>
 
<td> {{#if: {{{v|}}} |[[:Category:Rotors with volatility {{{v}}}|{{{v}}}]] | Unknown }} </td></tr><!--
 
<td> {{#if: {{{v|}}} |[[:Category:Rotors with volatility {{{v}}}|{{{v}}}]] | Unknown }} </td></tr><!--
 +
 +
Display discoverers and year of discovery
 +
 +
-->{{PatternDiscovery
 +
|discoverer  = {{{discoverer|}}}
 +
|discoverer2  = {{{discoverer2|}}}
 +
|discoverer3  = {{{discoverer3|}}}
 +
|discoverer4  = {{{discoverer4|}}}
 +
|discoverer5  = {{{discoverer5|}}}
 +
|discoveryear = {{{discoveryear|}}}
 +
}}<!--
  
 
Display "Rules", "Glider synthesis", "Pattern files" sections
 
Display "Rules", "Glider synthesis", "Pattern files" sections

Revision as of 19:32, 18 February 2018

Rotor Name
Pattern type Rotor
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 rotors. 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 Diagonal on-off.

Special parameters

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

  • p: the period of the rotor (e.g. p=4).
  • m: the mod of the rotor (e.g. m=2).
  • h: the heat of the rotor (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 rotor (e.g. v=0.50). Include 2 digits after the decimal place.

Pattern templates