Difference between revisions of "Template:Crawler"

From LifeWiki
Jump to navigation Jump to search
(Pass through isorulemin, isorulemax to Template:PatternDownload)
(Links)
 
(One intermediate revision by one other user not shown)
Line 37: Line 37:
 
<tr>
 
<tr>
 
<th> [[Speed]] </th>
 
<th> [[Speed]] </th>
<td> {{{s|Unknown}}} </td></tr>
+
<td> {{#if: {{{s|}}} | [[:Category:Crawlers with speed {{{s}}}|{{{s}}}]] | Unknown }} </td></tr>
 
<tr>
 
<tr>
 
<th> [[Direction]] </th>
 
<th> [[Direction]] </th>
<td> {{{d|Unknown}}} </td></tr>
+
<td> {{#if: {{{d|}}} | [[:Category:{{{d}}} crawlers|{{{d}}}]] | Unknown }} </td></tr>
 
<tr>
 
<tr>
 
<th> Crawls on </th>
 
<th> Crawls on </th>
<td> {{{v|Unknown}}} </td></tr><!--
+
<td> {{#if: {{{v|}}} | [[:Category:{{{v}}}-crawling crawlers|{{{v}}}]] | Unknown }} </td></tr><!--
  
 
Display an infobox divider
 
Display an infobox divider
Line 100: Line 100:
  
 
--><includeonly>
 
--><includeonly>
 +
{{#ifeq:{{NAMESPACE}}|User||
 
[[Category:Patterns]]
 
[[Category:Patterns]]
 
[[Category:Crawlers]]
 
[[Category:Crawlers]]
 
{{#if: {{{s|}}} | [[Category:Crawlers with speed {{{s|}}}]] | [[Category:Crawlers with unknown speed]] }}{{#if: {{{d|}}}  |[[Category:{{{d|}}} crawlers]] }}{{#if: {{{v|}}} | [[Category:{{{v|}}}-crawling crawlers]] }}
 
{{#if: {{{s|}}} | [[Category:Crawlers with speed {{{s|}}}]] | [[Category:Crawlers with unknown speed]] }}{{#if: {{{d|}}}  |[[Category:{{{d|}}} crawlers]] }}{{#if: {{{v|}}} | [[Category:{{{v|}}}-crawling crawlers]] }}
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 03:25, 11 July 2019

Crawler 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