Difference between revisions of "Template:Reflector"

From LifeWiki
Jump to navigation Jump to search
m (valign pattern type)
(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|}}}|zip={{{zip|}}}|plaintext={{{plaintext|}}}|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|}}}|zip={{{zip|}}}|plaintext={{{plaintext|}}}|mc={{{mc|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }}{{PatternIdentifiers|apgcode={{{apgcode|}}}|niemiecid={{{niemiecid|}}}|pentadecathlonid={{{pentadecathlonid|}}} }} </table>
<noinclude>__NOTOC__
<noinclude>__NOTOC__
This is an infobox template for '''[[reflector]]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 [[buckaroo]].
This is an infobox template for '''[[reflector]]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 [[buckaroo]].

Revision as of 12:00, 11 January 2017

Reflector Name
{{{name}}} image
Pattern type Reflector
Oscillator
Number of cells Unknown
Bounding box Unknown
Angle Unknown
Period Unknown
Heat Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for reflectors. 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 buckaroo.

Note: This template was only designed for glider reflectors. If other types of reflectors are to be included then the template will need to be updated to provide this information.

Special Parameters

  • type: only supports "stable"; if it is an oscillating reflector leave this parameter undefined.
  • p: is simply the period of an oscillating reflector; however, for stable reflectors this is the repeat time.
  • a: is the angle of the output glider in relation to the input glider (should be one of two values: 90 or 180).
  • isosc: tells whether the reflector can function as an oscillator on its own (some reflectors require a constant stream of gliders). If the pattern can not function as an oscillator on its own this parameter should be "false", otherwise leave it undefined.

Images

The image in this infobox should NOT include the glider that is to be reflected (except in the case of reflectors that require a constant stream of gliders); this can be added below in an image gallery. The animation for an oscillating reflector should NOT show the reflection capabilities of the pattern but merely the oscillator itself (except in the case of patterns that need a constant stream of gliders). Stable reflectors should not have an animated image in this infobox. Instead, an animation of the reflection capabilities (for both stable and oscillating reflectors) can be linked to in the image gallery. Do NOT place animated images directly onto the page; instead, consider using a static image of the reflector with a caption that links to the animation. An example is shown below:

Example image gallery

A buckaroo reflecting a glider
View animated image

Pattern templates