Difference between revisions of "Template:Gun"

From LifeWiki
Jump to navigation Jump to search
(Remove user pages from categories)
(Pass apgcode to {{PatternDownload}})
 
(One intermediate revision by the same user not shown)
Line 64: Line 64:
 
|synthesis    = {{{synthesis|}}}
 
|synthesis    = {{{synthesis|}}}
 
|synthesisRLE = {{{synthesisRLE|}}}
 
|synthesisRLE = {{{synthesisRLE|}}}
 +
|apgcode      = {{{apgcode|}}}
 
|life105      = {{{life105|}}}
 
|life105      = {{{life105|}}}
 
|life106      = {{{life106|}}}
 
|life106      = {{{life106|}}}
Line 103: Line 104:
 
[[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 17:44, 23 April 2019

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