Difference between revisions of "Template:Gun"

From LifeWiki
Jump to navigation Jump to search
(Relink categories)
Line 26: Line 26:
<tr>
<tr>
<th> [[Bounding box]] </th>
<th> [[Bounding box]] </th>
<td> {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }} </td></tr>
<td> {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }} </td></tr><!--
<tr>
 
<th valign="top"> Discovered by </th>
Display discoverers and year of discovery
<td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }}{{#if: {{{discoverer2|}}} | <br />[[{{{discoverer2|}}}]] | }}{{#if: {{{discoverer3|}}} | <br />[[{{{discoverer3|}}}]] | }}{{#if: {{{discoverer4|}}} | <br />[[{{{discoverer4|}}}]] | }}{{#if: {{{discoverer5|}}} | <br />[[{{{discoverer5|}}}]] | }} </td></tr>
 
<tr>
-->{{PatternDiscovery
<th> Year of discovery </th>
|discoverer   = {{{discoverer|}}}
<td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr><!--
|discoverer2 = {{{discoverer2|}}}
|discoverer3 = {{{discoverer3|}}}
|discoverer4 = {{{discoverer4|}}}
|discoverer5 = {{{discoverer5|}}}
|discoveryear = {{{discoveryear|}}}
}}<!--


Display "Rules", "Glider synthesis", "Pattern files" sections
Display "Rules", "Glider synthesis", "Pattern files" sections

Revision as of 19:31, 18 February 2018

Gun Name
{{{name}}} image
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