Difference between revisions of "Template:Gun"

From LifeWiki
Jump to navigation Jump to search
(Pass through isorulemin, isorulemax to Template:PatternDownload)
(Remove user pages from categories)
Line 99: Line 99:
  
 
--><includeonly>
 
--><includeonly>
 +
{{#ifeq:{{NAMESPACE}}|User||
 
[[Category:Patterns]]
 
[[Category:Patterns]]
 
[[Category:Guns]]
 
[[Category:Guns]]
 
[[Category:Linear growth]]
 
[[Category:Linear 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>

Revision as of 01:29, 10 December 2018

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