User:Saka/SpaceshipInfo: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly> <table class="infobox"><..."
 
No edit summary
 
Line 3: Line 3:
<td colspan="2" class="infobox_head"> {{{name|Spaceship Name}}} </td></tr>
<td colspan="2" class="infobox_head"> {{{name|Spaceship Name}}} </td></tr>
<tr>
<tr>
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{zip|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}}{{{mc|}}} | {{#ifexist:RLE:{{{pname}}}|{{LV:Viewer|{{RLE:{{{pname}}}}}
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{zip|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}}{{{mc|}}} | {{#ifexist:RLE:{{{pname}}}|{{LV:Viewer|{{:RLE:{{{pname}}}}}
{{LifeViewer config/spaceship}}
{{LifeViewer config/spaceship}}
{{#tag:nowiki|{{{viewerconfig|}}}}}|{{LifeViewer config/spaceship}}}}|[[Image:{{{pname|Glider}}}.png|{{{name}}} image]]}}|[[Image:{{{pname|Glider}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table></td></tr>{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]]}}<tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.png|View static image]]</td></tr>
{{#tag:nowiki|{{{viewerconfig|}}}}}|{{LifeViewer config/spaceship}}}}|[[Image:{{{pname|Glider}}}.png|{{{name}}} image]]}}|[[Image:{{{pname|Glider}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table></td></tr>{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]]}}<tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.png|View static image]]</td></tr>
<!-- {{#if: {{{rle|}}} | <tr><td colspan="2" class="infobox_link"> [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java] </td></tr> }} -->
<tr>
<tr>
<th valign="top"> Pattern type </th>
<th valign="top"> Pattern type </th>
<td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Spaceship]] </td></tr>
<td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Spaceship]] </td></tr>
{{#if: {{{family|}}} |
<tr>
<th> Family </th>
<td> [[Category:{{{family}}} variants|{{{family}}}]] </td></tr>
}}
<tr>
<tr>
<th> Number of [[cell]]s </th>
<th> Number of [[cell]]s </th>
<td> {{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells|{{{c}}}]] | [[Category:Patterns with {{{c}}} cells|{{{c}}}]] }} | Unknown }} </td></tr>
<td> {{{c|Unknown}}} </td></tr>
<tr>
<tr>
<th> [[Bounding box]] </th>
<th> [[Bounding box]] </th>
<td> {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }} </td></tr>
<td> {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }} </td></tr>
<tr>
<tr>
<th> [[Direction]] </th>
<th> Direction </th>
<td> {{#if: {{{dir|}}} | [[Category:{{{dir}}} spaceships|{{{dir}}}]] | Unknown }} </td></tr>
<td> {{{dir|Unknown}}} </td></tr>
{{#if: {{{slope|}}} |  
{{#if: {{{slope|}}} |  
<tr>
<tr>
<th> Slope </th>
<th> Slope </th>
<td> [[:Category:Spaceships with slope {{{slope}}}|{{{slope}}}]] </td></tr>
<td> {{{slope}}} </td></tr>
}}
}}
<tr>
<tr>
<th> [[Period#Spaceships|Period]] </th>
<th> [[Period#Spaceships|Period]] </th>
<td> {{#if: {{{p|}}} | [[Category:Spaceships with period {{{p}}}|{{{p}}}]] | Unknown }} </td></tr>
<td> {{{p|Unknown}}} </td></tr>
<tr>
<th> [[Mod]] </th>
<td> {{#if: {{{m|}}} | [[Category:Spaceships with mod {{{m}}}|{{{m}}}]] | Unknown }} </td></tr>
<tr>
<tr>
<th> [[Speed]] </th>
<th> [[Speed]] </th>
<td> {{#if: {{{s|}}} | [[Category:Spaceships with speed {{{s}}}|{{{s}}}]] | Unknown }} </td></tr>
<td> {{{s|Unknown}}} </td></tr>
<tr>
<tr>
<th> [[Heat]] </th>
<th> [[Heat]] </th>
<td> {{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | {{{h}}} | [[:Category:Spaceships with heat {{#expr: floor({{{h}}})}}|{{{h}}}]] }} | Unknown }} </td></tr>
<td> {{{h|Unknown}}} </td></tr>
<tr>
<tr>
<th> Discovered by </th>
<th> Discovered by </th>
<td> {{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }} </td></tr>
<td> {{{discoverer|Unknown}}} </td></tr>
<tr>
<tr>
<th> Year of discovery </th>
<th> Year of discovery </th>
<td> {{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr>{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|zip={{{zip|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}}|mc={{{mc|}}} }} </table>
<td> {{{discoveryear|Unknown}}} </td></tr>
<noinclude>
{{#if: {{{rulemax|}}}{{{rulespecial|}}} | <tr>
<td colspan="2" style="height:3px;"></td></tr>
<tr>
<td colspan="2" style="background-color:#A7A8C1;height:2px;"></td></tr>
<tr>
<td colspan="2">
{{{!}} class="infobox_table collapsible collapsed" style="width:100%"
{{!}}-
! colspan="2" class="infobox_subhead" {{!}} [[Life-like cellular automaton|Rules]]
{{!}}-
! All&nbsp;rules
{{!}} style="text-align:right;" {{!}} {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{{rulemin|}}}&nbsp;–&nbsp;{{{rulemax|}}}}}
{{#if: {{{rulespecial|}}} | {{!}}-
! Important&nbsp;rules
{{!}} style="text-align:right;" valign="top" {{!}} {{{rulespecial|}}}  
{{!}}- | {{!}}- }}
! #&nbsp;of&nbsp;rules
{{!}} style="text-align:right;" {{!}} 2<sup>{{#expr:{{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}}}}</sup> = {{#expr: 2^({{#len:{{{rulemax|}}}}}-{{#len:{{{rulemin|}}}}})}}
{{!}}}
</td></tr>
}} {{#ifexist:RLE:{{{pname}}} |
<tr>
<td colspan="2" style="height:3px;"></td></tr>
<tr>
<td colspan="2" style="background-color:#A7A8C1;height:2px;"></td></tr>
<tr>
<td colspan="2">
{{{!}} class="infobox_table collapsible collapsed" style="width:100%"
{{!}}-
! colspan="2" class="infobox_subhead" {{!}} Pattern files
<tr>
<th>[[RLE]]</th>
<td style="text-align:right;"> [[RLE:{{{pname}}}|raw RLE code]]</td></tr>
{{!}}} }}
</table>

Latest revision as of 07:30, 6 December 2016

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