Template:Spaceship: Difference between revisions
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}}}×{{{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 }} | ||
|- | |- | ||
! | ! [[Heat]] | ||
| {{#if: {{{ | | {{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | {{{h}}} | [[:Category:Spaceships with heat {{#expr: floor({{{h}}})}}|{{{h}}}]] }} | 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> | ||
