Template:Oscillator: Difference between revisions
Jump to navigation
Jump to search
m made rule boxes work |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | | {{requestpatternfile}} }}</includeonly> | <includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | | {{requestpatternfile}} }}</includeonly> | ||
<table class="infobox"> | |||
<tr><td colspan="2" class="infobox_head"> {{{name|Oscillator Name}}} </td></tr> | |||
<tr> | |||
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | [[Image:{{{pname|}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table></td></tr> | |||
{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]] </td></tr> }} | |||
{{#if: {{{animated|}}} | | {{#if: {{{rle|}}} | <tr><td colspan="2" class="infobox_link"> [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java] </td></tr> }} | ||
<tr> | |||
}} | <th> Pattern type </th> | ||
{{#if: {{{rle|}}} | | <td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Oscillator]] </td></tr> | ||
<tr> | |||
}} | <th> Number of [[cell]]s </th> | ||
<td> {{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | {{{c}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} }} | Unknown }} </td></tr> | |||
<tr> | |||
<th> [[Bounding box]] </th> | |||
<td> {{#if: {{{bx|}}} | {{{bx}}}×{{{by}}} | Unknown }} </td></tr> | |||
<tr> | |||
<th> [[Period#Oscillators|Period]] </th> | |||
<td> {{#if: {{{p|}}} | [[:Category:Oscillators with period {{{p}}}|{{{p}}}]] | Unknown }} </td></tr> | |||
<tr> | |||
<th> [[Heat]] </th> | |||
<td> {{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | {{{h}}} | [[:Category:Oscillators with heat {{#expr: floor({{{h}}})}}|{{{h}}}]] }} | Unknown }} </td></tr> | |||
<tr> | |||
<th> Discovered by </th> | |||
<td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }} </td></tr> | |||
<tr> | |||
<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|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }} </table> | |||
{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }} | |||
<noinclude> | <noinclude> | ||
This is an infobox template for '''[[oscillator]]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 [[Achim's p4]]. | This is an infobox template for '''[[oscillator]]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 [[Achim's p4]]. | ||
Revision as of 13:16, 19 June 2009
| Oscillator Name | ||
| ||
| Pattern type | Oscillator | |
|---|---|---|
| Number of cells | Unknown | |
| Bounding box | Unknown | |
| Period | Unknown | |
| Heat | Unknown | |
| Discovered by | Unknown | |
| Year of discovery | Unknown | |
This is an infobox template for oscillators. 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 Achim's p4.
Special parameters
The following parameters are optional and should only be specified if their values are known.
- h: the heat of the oscillator (e.g. h=4). Decimal values are allowed, though it is most common not to include more than 1 decimal place.
- p: the period of the oscillator (e.g. p=4).
Pattern templates
- Template:Agar
- Template:Conduit
- Template:Crawler
- Template:Fuse
- Template:GrowingSpaceship
- Template:Gun
- Template:Methuselah
- Template:MovingBreeder
- Template:Oscillator
- Template:OscillatorComponent
- Template:Pattern
- Template:Puffer
- Template:Reflector
- Template:Rotor
- Template:Sawtooth
- Template:Spaceship
- Template:StillLifeComponent
- Template:Stilllife
- Template:UnitCell
- Template:Wave
- Template:Wick
- Template:Wickstretcher
