Difference between revisions of "Template:Crawler"

From LifeWiki
Jump to navigation Jump to search
(fix vertical alignment for multiple discoverers)
(Don't display bounding box if not specified)
Line 17: Line 17:
 
<th> Crawls on </th>
 
<th> Crawls on </th>
 
<td> {{{v|Unknown}}} </td></tr>
 
<td> {{{v|Unknown}}} </td></tr>
<tr>
+
{{#if: {{{bx|}}} | <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>
+
}}<tr>
 
<th valign="top"> Discovered by </th>
 
<th valign="top"> Discovered by </th>
 
<td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }}{{#if: {{{discoverer2|}}} | <br />[[{{{discoverer2|}}}]] | }}{{#if: {{{discoverer3|}}} | <br />[[{{{discoverer3|}}}]] | }}{{#if: {{{discoverer4|}}} | <br />[[{{{discoverer4|}}}]] | }}{{#if: {{{discoverer5|}}} | <br />[[{{{discoverer5|}}}]] | }} </td></tr>
 
<td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }}{{#if: {{{discoverer2|}}} | <br />[[{{{discoverer2|}}}]] | }}{{#if: {{{discoverer3|}}} | <br />[[{{{discoverer3|}}}]] | }}{{#if: {{{discoverer4|}}} | <br />[[{{{discoverer4|}}}]] | }}{{#if: {{{discoverer5|}}} | <br />[[{{{discoverer5|}}}]] | }} </td></tr>

Revision as of 09:31, 5 February 2018

Crawler Name
{{{name}}} image
Pattern type Crawler
Speed Unknown
Direction Unknown
Crawls on Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for crawlers. 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 17c/45 reaction.

Special parameters

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

  • s: the speed of the crawler (e.g. p=17c/45).
  • d: the direction of the crawler (e.g. d=orthogonal).
  • v: what the crawler crawls on (e.g. v=blinker).

Pattern templates