Template:Spaceship: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Pass id paramaters to Template:PatternDownload
Add eppsteinid parameter (e.g. 115 for the glider) and pass it to Template:PatternDownload.
Line 46: Line 46:
<tr>
<tr>
<th> Year of discovery </th>
<th> Year of discovery </th>
<td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr>{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|zip={{{zip|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}}|mc={{{mc|}}}|apgcode={{{apgcode|}}}|niemiecid={{{niemiecid|}}}|pentadecathlonid={{{pentadecathlonid|}}} }}{{PatternIdentifiers|apgcode={{{apgcode|}}}|niemiecid={{{niemiecid|}}}|pentadecathlonid={{{pentadecathlonid|}}} }} </table>
<td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr>{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|zip={{{zip|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}}|mc={{{mc|}}}|apgcode={{{apgcode|}}}|niemiecid={{{niemiecid|}}}|pentadecathlonid={{{pentadecathlonid|}}} }}{{PatternIdentifiers|apgcode={{{apgcode|}}}|niemiecid={{{niemiecid|}}}|pentadecathlonid={{{pentadecathlonid|}}}|eppsteinid={{{eppsteinid|}}} }} </table>
<noinclude>
<noinclude>
This is an infobox template for '''[[spaceship]]s'''. 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 [[glider]].
This is an infobox template for '''[[spaceship]]s'''. 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 [[glider]].

Revision as of 10:20, 17 July 2017

Spaceship Name
{{{name}}} image
Pattern type Spaceship
Number of cells Unknown
Bounding box Unknown
Direction Unknown
Period Unknown
Mod Unknown
Speed Unknown
Heat Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for spaceships. 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 glider.

Special parameters

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

  • dir: the direction of the spaceship (either dir=Orthogonal, dir=Diagonal or dir=Oblique).
  • slope: the slope of the spaceship (for dir=Oblique only, e.g. slope=5).
  • h: the heat of the spaceship (e.g. h=4).
  • p: the period of the spaceship (e.g. p=4).
  • m: the mod of the spaceship (e.g. m=2).
  • s: the speed of the spaceship (e.g. s=c/4).
  • type: a subcategory of spaceships – leave blank for a normal spaceship or if you're unsure. The only supported value currently is "type=Puffer engine".

Pattern templates