Template:Spaceship: Difference between revisions
Jump to navigation
Jump to search
m rule options |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly> | <includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly> | ||
<table class="infobox"><tr> | |||
<td colspan="2" class="infobox_head"> {{{name|Spaceship 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|Glider}}}.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 /> }}[[Spaceship]] </td></tr> | ||
<tr> | |||
}} | <th> Number of [[cell]]s </th> | ||
<td> {{#if: {{{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> Direction </th> | |||
<td> {{{dir|Unknown}}} </td></tr> | |||
<tr> | |||
<th> [[Period#Spaceships|Period]] </th> | |||
<td> {{#if: {{{p|}}} | [[:Category:Spaceships with period {{{p}}}|{{{p}}}]] | Unknown }} </td></tr> | |||
<tr> | |||
<th> [[Speed]] </th> | |||
<td> {{#if: {{{s|}}} | [[:Category:Spaceships with speed {{{s}}}|{{{s}}}]] | Unknown }} </td></tr> | |||
<tr> | |||
<th> [[Heat]] </th> | |||
<td> {{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | {{{h}}} | [[:Category:Spaceships with heat {{#expr: floor({{{h}}})}}|{{{h}}}]] }} | Unknown }} </td></tr> | |||
<tr> | |||
<th> Discovered by </th> | |||
<td> {{#if: {{{discoverer|}}} | [[:Category:Patterns found by {{{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 '''[[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 13:10, 19 June 2009
| Spaceship Name | ||
| ||
| Pattern type | Spaceship | |
|---|---|---|
| Number of cells | Unknown | |
| Bounding box | Unknown | |
| Direction | Unknown | |
| Period | 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 or dir=Diagonal).
- h: the heat of the spaceship (e.g. h=4).
- p: the period of the spaceship (e.g. p=4).
- 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
- 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
