Difference between revisions of "Template:Spaceship"
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) (Support up to 5 discoverers.) |
Apple Bottom (talk | contribs) (fix vertical alignment for multiple discoverers) |
||
Line 42: | Line 42: | ||
<td> {{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | {{{h}}} | [[:Category:Spaceships with heat {{#expr: floor({{{h}}})}}|{{{h}}}]] }} | Unknown }} </td></tr> | <td> {{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | {{{h}}} | [[:Category:Spaceships with heat {{#expr: floor({{{h}}})}}|{{{h}}}]] }} | Unknown }} </td></tr> | ||
<tr> | <tr> | ||
<th> Discovered by </th> | <th valign="top"> Discovered by </th> | ||
<td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }}{{#if: {{{discoverer2|}}} | <br />[[{{{discoverer2|}}}]] | }}{{#if: {{{discoverer3|}}} | <br />[[{{{discoverer3|}}}]] | }}{{#if: {{{discoverer4|}}} | <br />[[{{{discoverer4|}}}]] | }}{{#if: {{{discoverer5|}}} | <br />[[{{{discoverer5|}}}]] | }} </td></tr> | <td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }}{{#if: {{{discoverer2|}}} | <br />[[{{{discoverer2|}}}]] | }}{{#if: {{{discoverer3|}}} | <br />[[{{{discoverer3|}}}]] | }}{{#if: {{{discoverer4|}}} | <br />[[{{{discoverer4|}}}]] | }}{{#if: {{{discoverer5|}}} | <br />[[{{{discoverer5|}}}]] | }} </td></tr> | ||
<tr> | <tr> |
Revision as of 18:25, 18 July 2017
Spaceship Name | ||
View static 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
- 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