Difference between revisions of "Template:Sawtooth"
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) (Use PatternIdentifiers template) |
Apple Bottom (talk | contribs) (Support up to 5 discoverers.) |
||
Line 19: | Line 19: | ||
<tr> | <tr> | ||
<th> Discovered by </th> | <th> Discovered by </th> | ||
<td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }} </td></tr> | <td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }}{{#if: {{{discoverer2|}}} | <br />[[{{{discoverer2|}}}]] | }}{{#if: {{{discoverer3|}}} | <br />[[{{{discoverer3|}}}]] | }}{{#if: {{{discoverer4|}}} | <br />[[{{{discoverer4|}}}]] | }}{{#if: {{{discoverer5|}}} | <br />[[{{{discoverer5|}}}]] | }} </td></tr> | ||
<tr> | <tr> | ||
<th> Year of discovery </th> | <th> Year of discovery </th> | ||
Line 35: | Line 35: | ||
[[Category:Patterns]] | [[Category:Patterns]] | ||
[[Category:Sawtooths]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }} | [[Category:Sawtooths]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }} | ||
{{#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|}}} | {{#ifeq: {{{e|}}} | n/a | [[Category:Sawtooths with no expansion factor]] | {{#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|}}} | {{#ifeq: {{{e|}}} | n/a | [[Category:Sawtooths with no expansion factor]] | {{#iferror: {{#expr: floor({{{e}}})}} | | [[Category:Sawtooths with expansion factor {{#expr: floor({{{e}}})}}]] }} }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoverer2|}}} | [[Category:Patterns found by {{{discoverer2|}}}]] }}{{#if: {{{discoverer3|}}} | [[Category:Patterns found by {{{discoverer3|}}}]] }}{{#if: {{{discoverer4|}}} | [[Category:Patterns found by {{{discoverer4|}}}]] }}{{#if: {{{discoverer5|}}} | [[Category:Patterns found by {{{discoverer5|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }} | ||
</includeonly> | </includeonly> |
Revision as of 10:49, 18 July 2017
Pattern Name | ||
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). For sawtooths with no expansion factor in the usual sense, specify e=n/a.
Pattern templates
- Template:Agar
- Template:Conduit
- Template:Crawler
- Template:Fuse
- Template:GrowingSpaceship
- Template:Gun
- Template:Methuselah
- Template:MovingBreeder
- Template:Oscillator
- Template:OscillatorComponent
- Template:Pattern
- Template:Puffer
- Template:Reflector
- Template:Rotor
- Template:Sawtooth
- Template:Spaceship
- Template:StillLifeComponent
- Template:Stilllife
- Template:UnitCell
- Template:Wave
- Template:Wick
- Template:Wickstretcher