Template:Pattern: Difference between revisions
Jump to navigation
Jump to search
m Changed protection level for "Template:Pattern" ([Edit=<protect-level-trusted>] (indefinite) [Move=<protect-level-trusted>] (indefinite)) |
Apple Bottom (talk | contribs) Add family= parameter |
||
| Line 8: | Line 8: | ||
<th> Pattern type </th> | <th> Pattern type </th> | ||
<td> {{#if: {{{type|}}} | [[{{{type}}}]] | Miscellaneous }} </td></tr> | <td> {{#if: {{{type|}}} | [[{{{type}}}]] | Miscellaneous }} </td></tr> | ||
{{#if: {{{family|}}} | | |||
<tr> | |||
<th> Family </th> | |||
<td> [[:Category:{{{family}}} variants|{{{family}}}]] </td></tr> | |||
}} | |||
<tr> | <tr> | ||
<th> Number of [[cell]]s </th> | <th> Number of [[cell]]s </th> | ||
| Line 30: | Line 35: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
[[Category:Patterns]]{{#if: {{{type|}}} | {{#ifeq: {{{type|}}} | Garden of Eden | [[Category:Gardens of Eden]] | [[Category:{{{type}}}s]] }} }}{{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }} | [[Category:Patterns]]{{#if: {{{type|}}} | {{#ifeq: {{{type|}}} | Garden of Eden | [[Category:Gardens of Eden]] | [[Category:{{{type}}}s]] }} }}{{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}{{#if: {{{family|}}} | [[Category:{{{family|}}} variants]] }} | ||
</includeonly> | </includeonly> | ||
Revision as of 23:57, 23 July 2016
| Pattern Name | ||
| ||
| Pattern type | Miscellaneous | |
|---|---|---|
| Number of cells | Unknown | |
| Bounding box | Unknown | |
| Discovered by | Unknown | |
| Year of discovery | Unknown | |
This is an infobox template for patterns. If there is a template listed below that looks like it is more appropriate for the pattern in question, use that template instead. If none of the other templates applies, then this template may be used. 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 table.
Special parameters
The following parameter is optional and should only be specified if it is relevant.
- type: a category that the pattern fits into (e.g. type=induction coil).
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
