Difference between revisions of "Template:Gun"

From LifeWiki
Jump to navigation Jump to search
(Pass through isorulemin, isorulemax to Template:PatternDownload)
 
(3 intermediate revisions by 2 users not shown)
Line 17: Line 17:
|pname        = {{{pname|}}}
|pname        = {{{pname|}}}
|animated      = {{{animated|}}}
|animated      = {{{animated|}}}
|hideimg      = {{{hideimg|}}}
}}<!--
}}<!--


Line 64: Line 65:
|synthesis    = {{{synthesis|}}}
|synthesis    = {{{synthesis|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|apgcode      = {{{apgcode|}}}
|life105      = {{{life105|}}}
|life105      = {{{life105|}}}
|life106      = {{{life106|}}}
|life106      = {{{life106|}}}
Line 99: Line 101:


--><includeonly>
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Guns]]
[[Category:Guns]]
[[Category:Linear growth]]
[[Category:Linear growth]]
[[Category:Infinite growth]]
{{#if: {{{p|}}} | [[Category:Guns with period {{{p|}}}]] | [[Category:Guns with unknown period]]}}{{#if:{{{b|}}}|{{#ifeq: {{{b|}}} | 1 | [[Category:Guns with 1 barrel]] | [[Category:Guns with {{{b|}}} barrels]] }} | [[Category:Guns with an unknown number of barrels]] }}
{{#if: {{{p|}}} | [[Category:Guns with period {{{p|}}}]] | [[Category:Guns with unknown period]]}}{{#if:{{{b|}}}|{{#ifeq: {{{b|}}} | 1 | [[Category:Guns with 1 barrel]] | [[Category:Guns with {{{b|}}} barrels]] }} | [[Category:Guns with an unknown number of barrels]] }}
}}
</includeonly>
</includeonly>

Latest revision as of 19:14, 28 April 2023

Gun Name
image
Pattern type Gun
Period Unknown
Barrels 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