Difference between revisions of "Template:GrowingSpaceship"

From LifeWiki
Jump to navigation Jump to search
(fixed)
(Pass apgcode to {{PatternDownload}})
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox"
<!--
|-
 
| colspan="2" class="infobox_head" | {{{name|Growing Spaceship Name}}}
Begin infobox
|-
 
| colspan="2" class="infobox_img" | <table class="img_border" cellpadding="0"><tr><td>[[Image:{{{pname|blinkership1}}}.png|{{{name}}} image]]</td></tr></table>
-->{{InfoboxStart
{{#if: {{{animated|}}} | {{!}}-
|typename      = Growing Spaceship
{{!}} colspan="2" class="infobox_animlink" {{!}} [[Media:{{{pname|name}}}.gif|View animated image]]
|defaultconfig = growingspaceship
|viewerconfig  = {{{viewerconfig|}}}
|name          = {{{name|}}}
|zip          = {{{zip|}}}
|mc            = {{{mc|}}}
|life105      = {{{life105|}}}
|life106      = {{{life106|}}}
|plaintext    = {{{plaintext|}}}
|rle          = {{{rle|}}}
|nofile        = {{{nofile|}}}
|pname        = {{{pname|}}}
|animated      = {{{animated|}}}
}}<!--
 
Display pattern type
 
--><tr>
<th> Pattern type </th>
<td> [[Growing spaceship]] </td></tr><!--
 
Display population and bounding box
 
-->{{PatternPopulationAndBoundingBox
|c        = {{{c|}}}
|bx      = {{{bx|}}}
|by      = {{{by|}}}
}}<!--
 
Display an infobox divider
 
-->{{InfoboxDivider}}
<tr>
<th> Direction </th>
<td> {{{dir|Unknown}}} </td></tr>
<tr>
<th> Front [[period]] </th>
<td> {{{fp|Unknown}}} </td></tr>
<tr>
<th> Front speed </th>
<td> {{{fs|Unknown}}} </td></tr>
<tr>
<th> Back period </th>
<td> {{{bp|Unknown}}} </td></tr>
<tr>
<th> Back speed </th>
<td> {{{bs|Unknown}}} </td></tr>
<!--
 
Display an infobox divider
 
-->{{InfoboxDivider}}<!--
 
Display discoverers and year of discovery
 
-->{{PatternDiscovery
|discoverer  = {{{discoverer|}}}
|discoverer2  = {{{discoverer2|}}}
|discoverer3  = {{{discoverer3|}}}
|discoverer4  = {{{discoverer4|}}}
|discoverer5  = {{{discoverer5|}}}
|discoveryear = {{{discoveryear|}}}
}}<!--
 
Display "Rules", "Glider synthesis", "Pattern files" sections
 
-->{{PatternDownload
|synthesis    = {{{synthesis|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|apgcode      = {{{apgcode|}}}
|life105      = {{{life105|}}}
|life106      = {{{life106|}}}
|plaintext    = {{{plaintext|}}}
|zip          = {{{zip|}}}
|mc          = {{{mc|}}}
|rle          = {{{rle|}}}
|pname        = {{{pname|}}}
|rulespecial  = {{{rulespecial|}}}
|rulemax      = {{{rulemax|}}}
|rulemin      = {{{rulemin|}}}
|isorulemax  = {{{isorulemax|}}}
|isorulemin  = {{{isorulemin|}}}
}}<!--
 
Display "Identifiers" section
 
-->{{PatternIdentifiers
|apgcode          = {{{apgcode|}}}
|niemiecid        = {{{niemiecid|}}}
|pentadecathlonid = {{{pentadecathlonid|}}}  
}}<!--
 
End infobox
 
--></table><!--
 
Transcluded documentation
 
--><noinclude>{{GrowingSpaceship/Doc}}
{{PatternTemplates}}
</noinclude><!--
 
Categories
 
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[Category:Linear growth]]
[[Category:Infinite growth]]
[[Category:Growing spaceships]]
}}
}}
{{#if: {{{rle|}}} | {{!}}-
{{!}} colspan="2" class="infobox_link" {{!}} [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java]
}}
|-
! Pattern type
| [[Growing spaceship]]
|-
! Direction
| {{{dir|Unknown}}}
|-
! Front [[period]]
| {{{fp|Unknown}}}
|-
! Front speed
| {{{fs|Unknown}}}
|-
! Back period
| {{{bp|Unknown}}}
|-
! Back speed
| {{{bs|Unknown}}}
|-
! Number of cells
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
|-
! Discovered by
| {{#if: {{{discoverer|}}} | [[:Category:Patterns found by {{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }}
|-
! Year of discovery
| {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }}
{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}|pname={{{pname|}}}}} |}
<noinclude>
The spaceship template is an infobox template for [[spaceship]] [[pattern|patterns]]. An example can be seen to the right.
</noinclude>
<includeonly>
[[Category:Patterns]]
[[Category:Growing spaceships]]{{#if: {{{c|}}} | [[Category:Patterns with {{{c}}} cells]] }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
</includeonly>
</includeonly>

Revision as of 17:44, 23 April 2019

Growing Spaceship Name
image
Pattern type Growing spaceship
Direction Unknown
Front period Unknown
Front speed Unknown
Back period Unknown
Back speed Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for growing 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 blinker ship 1.

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).
  • bp: the period of the back part of the spaceship (e.g. bp=26).
  • bs: the speed of the back part of the spaceship (e.g. bs=6c/13).
  • fp: the period of the front part of the spaceship (e.g. fp=12).
  • fs: the speed of the front part of the spaceship (e.g. fs=c/2).


Pattern templates