Template:Spaceship: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m added bounding box
added heat as an option to the template
Line 13: Line 13:
! Pattern type
! Pattern type
| {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Spaceship]]
| {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Spaceship]]
|-
! Number of [[cell]]s
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
|-
! [[Bounding box]]
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }}
|-
|-
! Direction
! Direction
Line 23: Line 29:
| {{#if: {{{s|}}} | [[:Category:Spaceships with speed {{{s}}}|{{{s}}}]] | Unknown }}
| {{#if: {{{s|}}} | [[:Category:Spaceships with speed {{{s}}}|{{{s}}}]] | Unknown }}
|-
|-
! Number of [[cell]]s
! [[Heat]]
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
| {{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | {{{h}}} | [[:Category:Spaceships with heat {{#expr: floor({{{h}}})}}|{{{h}}}]] }} | Unknown }}
|-
! [[Bounding box]]
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }}
|-
|-
! Discovered by
! Discovered by
Line 40: Line 43:
<includeonly>
<includeonly>
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Spaceships]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{c|}}} | [[Category:Patterns with {{{c}}} cells]] }}{{#if: {{{p|}}} | [[Category:Spaceships with period {{{p}}}]] }}{{#if: {{{s|}}} | [[Category:Spaceships with speed {{{s}}}]] }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
[[Category:Spaceships]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{c|}}} | [[Category:Patterns with {{{c}}} cells]] }}{{#if: {{{p|}}} | [[Category:Spaceships with period {{{p}}}]] }}{{#if: {{{s|}}} | [[Category:Spaceships with speed {{{s}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Spaceships with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
</includeonly>
</includeonly>

Revision as of 16:37, 13 February 2009

Spaceship Name
{{{name}}} image


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



The spaceship template is an infobox template for spaceship patterns. An example can be seen to the right.