Template:Puffer: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Added .zip support for pattern files
Use PatternIdentifiers template
Line 28: Line 28:
<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|}}}|mc={{{mc|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }} </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|}}}|mc={{{mc|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }}{{PatternIdentifiers|apgcode={{{apgcode|}}}|niemiecid={{{niemiecid|}}}|pentadecathlonid={{{pentadecathlonid|}}} }} </table>
<noinclude>
<noinclude>
This is an infobox template for '''[[puffer]]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 [[backrake 1]].
This is an infobox template for '''[[puffer]]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 [[backrake 1]].

Revision as of 12:00, 11 January 2017

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

This is an infobox template for puffers. 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 backrake 1.

Special parameters

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

  • dir: the direction of the puffer (either dir=Orthogonal or dir=Diagonal).
  • p: the period of the puffer (e.g. p=8).
  • s: the speed of the puffer (e.g. s=c/2).
  • type: a subcategory (such as rake) for the puffer. Leave blank if it does not apply or if you're unsure.

Pattern templates