Difference between revisions of "Template:Gun"
Jump to navigation
Jump to search
m (Changed protection level for "Template:Gun" ([Edit=<protect-level-trusted>] (indefinite) [Move=<protect-level-trusted>] (indefinite))) |
Apple Bottom (talk | contribs) (Add b (barrels) parameter; categorize guns according to period and barrels.) |
||
Line 11: | Line 11: | ||
<th> [[Period]] </th> | <th> [[Period]] </th> | ||
<td> {{{p|Unknown}}} </td></tr> | <td> {{{p|Unknown}}} </td></tr> | ||
<tr> | |||
<th> [[Barrels]] </th> | |||
<td> {{{b|Unknown}}} </td></tr> | |||
<tr> | <tr> | ||
<th> Number of [[cell]]s </th> | <th> Number of [[cell]]s </th> | ||
Line 27: | Line 30: | ||
==Special parameters== | ==Special parameters== | ||
The following | The following parameters are optional and should only be specified if their values are known. | ||
*'''p''': the period of the gun (e.g. p=30). | *'''p''': the period of the gun (e.g. p=30). | ||
*'''b''': the gun's number of barrels (e.g. b=2). | |||
{{PatternTemplates}} | {{PatternTemplates}} | ||
Line 35: | Line 39: | ||
[[Category:Patterns]] | [[Category:Patterns]] | ||
[[Category:Guns]] | [[Category:Guns]] | ||
{{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }} {{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }} {{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }} | {{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }} {{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }} {{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if:{{{p|}}}|[[Category:Guns with period {{{p|}}}]]|[[Category:Guns with unknown period]]}}{{#if:{{{b|}}}|[[Category:Guns with {{{b|}}} barrels]]|[[Category:Guns with an unknown number of barrels]]}} | ||
</includeonly> | </includeonly> |
Revision as of 23:27, 23 July 2016
Gun Name | ||
Pattern type | Gun | |
---|---|---|
Period | Unknown | |
Barrels | Unknown | |
Number of cells | Unknown | |
Bounding box | Unknown | |
Discovered by | Unknown | |
Year of discovery | Unknown |
This is an infobox template for guns. 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 Gosper glider gun.
Special parameters
The following parameters are optional and should only be specified if their values are known.
- p: the period of the gun (e.g. p=30).
- b: the gun's number of barrels (e.g. b=2).
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