Difference between revisions of "Template:Sawtooth"

From LifeWiki
Jump to navigation Jump to search
(New pattern template)
 
m (Correct category)
Line 35: Line 35:
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Oscillators]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}
[[Category:Oscillators]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] [[Category:Oscillators with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] [[Category:Sawtooths with {{{c}}} cells]] }} }} }}{{#if: {{{e|}}} | {{#iferror: {{#expr: floor({{{e}}})}} | | [[Category:Sawtooths with expansion factor {{#expr: floor({{{e}}})}}]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] [[Category:Sawtooths with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] [[Category:Sawtooths with {{{c}}} cells]] }} }} }}{{#if: {{{e|}}} | {{#iferror: {{#expr: floor({{{e}}})}} | | [[Category:Sawtooths with expansion factor {{#expr: floor({{{e}}})}}]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
</includeonly>
</includeonly>

Revision as of 23:57, 7 May 2016

Pattern Name
{{{name}}} image
Pattern type Sawtooth
Number of cells Unknown
Bounding box Unknown
Expansion factor Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for sawtooths. 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 Cord puller.

Special parameters

The following parameter is optional and should only be specified if it is relevant.

  • e: the expansion factor of the sawtooth (e.g. e=11).

Pattern templates