Template:Wick: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Maintainability tweaks
Line 21: Line 21:
<tr>
<tr>
<th> [[Speed]] </th>
<th> [[Speed]] </th>
<td> {{{s|Unknown}}} </td></tr>
<td> {{{s|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:32, 18 February 2018

Wick Name
{{{name}}} image
Pattern type Wick
Period Unknown
Speed Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for wicks. 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 ants.

Special parameters

The following parameters are optional and should only be specified if their values are known.

  • p: the period of the wick (e.g. p=5).
  • s: the speed of the wick (e.g. s=c).


Pattern templates