User:Atavoidirc/Sandbox

From LifeWiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.

riwjwuejugwunehhnshdfynhsvdndhvnvhfaniapsnjanovinshid svvaf-->{{InfoboxStart
|typename      = Spaceship
|defaultconfig = spaceship
|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 and related information

--><tr>
<th valign="top"> Pattern type </th>
<td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Spaceship]] </td></tr>
{{#if: {{{family|}}} | 
<tr>
<th> Family </th>
<td> [[:Category:{{{family}}} variants|{{{family}}}]] </td></tr>
}}<!--

Display population and bounding box. Passing catextra= ensures we also get spaceship-specific categories, e.g. "Spaceships with ... cells".

-->{{PatternPopulationAndBoundingBox
|c        = {{{c|}}}
|bx       = {{{bx|}}}
|by       = {{{by|}}}
|fc       = {{{fc|}}}
|catextra = Spaceships
|periodic = true
}}<!--

Display an infobox divider

-->{{InfoboxDivider}}
<tr>
<th> [[Direction]] </th>
<td> {{#if: {{{dir|}}} | [[:Category:{{{dir}}} spaceships|{{{dir}}}]] | Unknown }} </td></tr>
{{#if: {{{slope|}}} | 
<tr>
<th> [[Slope]] </th>
<td> [[:Category:Spaceships with slope {{{slope}}}|{{{slope}}}]] </td></tr>
}}
<tr>
<th> [[Period#Spaceships|Period]] </th>
<td> {{#if: {{{p|}}} | [[:Category:Spaceships with period {{{p}}}|{{{p}}}]] | Unknown }} </td></tr>
<tr>
<th> [[Mod]] </th>
<td> {{#if: {{{m|}}} | [[:Category:Spaceships with mod {{{m}}}|{{{m}}}]] | Unknown }} </td></tr>
<tr>
<th> [[Speed]] </th>
<td> {{#if: {{{s|}}} | [[:Category:Spaceships with speed {{{s}}}|{{{s}}}]] | Unknown }} </td></tr>
<tr>
<th> [[Speed]] (unsimplified) </th>
<td> {{#if: {{{z|}}} | [[:Category:Spaceships with unsimplified speed {{{z}}}|{{{z}}}]] | Unknown }} </td></tr>
<tr>
<th> [[Heat]] </th>
<td> {{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | {{{h}}} | [[:Category:Spaceships with heat {{CellsCategoryName|{{#expr: floor({{{h}}})}}}}|{{{h}}}]] }} | 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|}}}
|synthesis2   = {{{synthesis2|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|apgcode      = {{{apgcode|}}}
|apgcode2     = {{{apgcode2|}}}
|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|}}}
|apgcode2         = {{{apgcode2|}}}
|niemiecid        = {{{niemiecid|}}}
|pentadecathlonid = {{{pentadecathlonid|}}}
|eppsteinid       = {{{eppsteinid|}}}
}}<!--

End infobox

-->