Template:Spaceship: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
added heat as an option to the template
No edit summary
Line 15: Line 15:
|-
|-
! Number of [[cell]]s
! Number of [[cell]]s
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
| {{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} | Unknown }}
|-
|-
! [[Bounding box]]
! [[Bounding box]]
Line 43: 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: {{{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|}}}]] }}
[[Category:Spaceships]]{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells|{{{c}}}]] | [[Category:Patterns with {{{c}}} cells|{{{c}}}]] }} }}{{#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 18:24, 23 March 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.