Difference between revisions of "Template:Rotor"

From LifeWiki
Jump to navigation Jump to search
(Pass through isorulemin, isorulemax to Template:PatternDownload)
(Remove user pages from categories)
 
Line 105: Line 105:
  
 
--><includeonly>
 
--><includeonly>
 +
{{#ifeq:{{NAMESPACE}}|User||
 
[[Category:Patterns]]
 
[[Category:Patterns]]
 
[[Category:Rotors]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}
 
[[Category:Rotors]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}
 
{{#if: {{{p|}}} | [[Category:Rotors with period {{{p}}}]] }}{{#if: {{{m|}}} | [[Category:Rotors with mod {{{m|}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Rotors with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{v|}}} | [[Category:Rotors with volatility {{{v}}}]] }}
 
{{#if: {{{p|}}} | [[Category:Rotors with period {{{p}}}]] }}{{#if: {{{m|}}} | [[Category:Rotors with mod {{{m|}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Rotors with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{v|}}} | [[Category:Rotors with volatility {{{v}}}]] }}
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 01:33, 10 December 2018

Rotor Name
image
Pattern type Rotor
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