User:Apple Bottom/Spaceship: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) Variant of Template:Spaceship without categories, for User:AwesoMan3000. Let's see if this works. |
DroneBetter (talk | contribs) m Replace LifeViewer embed parts with those from Template:InfoboxStart, I have tried for quite a while and the spaceship configuration seems to cause non-mainspace infoboxes to have not a thumbnail but a full LifeViewer interface, it seems each page will have to have AUTOSTART enabled |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
<table class="infobox"><tr> | <table class="infobox"><tr> | ||
<td colspan="2" class="infobox_head"> {{{name|Spaceship Name}}} </td></tr> | <td colspan="2" class="infobox_head"> {{{name|Spaceship Name}}} </td></tr> | ||
<tr> | {{#if: {{{hideimg|}}} || <tr> | ||
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{zip|}}}{{{ | <td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | {{#ifexist:RLE:{{{pname}}}|{{LV:Viewer|{{RLE:{{{pname}}}}} | ||
{{LifeViewer config/ | {{LifeViewer config/default}}{{#ifexist:Template:LifeViewer config/{{{defaultconfig|}}} | | ||
{{# | {{LifeViewer config/{{{defaultconfig|}}}}} }} | ||
{{#tag:nowiki|{{{viewerconfig|}}}}} | [[Image:{{{pname|}}}.png|{{{name}}} image]] }} | [[Image:{{{pname|}}}.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]] </td></tr> }}<tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.png|View static image]]</td></tr> | |||
<tr> | <tr> | ||
<th valign="top"> Pattern type </th> | <th valign="top"> Pattern type </th> | ||
| Line 39: | Line 40: | ||
<th> Year of discovery </th> | <th> Year of discovery </th> | ||
<td> {{{discoveryear|Unknown}}} </td></tr> | <td> {{{discoveryear|Unknown}}} </td></tr> | ||
{{#ifexist:RLE:{{{pname}}} | | {{#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 rules | |||
{{!}} style="text-align:right;" {{!}} {{#ifeq: {{{rulemin|}}} | {{{rulemax|}}} | {{{rulemax|}}} only | {{{rulemin|}}} – {{{rulemax|}}}}} | |||
{{#if: {{{rulespecial|}}} | {{!}}- | |||
! Important rules | |||
{{!}} style="text-align:right;" valign="top" {{!}} {{{rulespecial|}}} | |||
{{!}}- | {{!}}- }} | |||
! # of 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> | <tr> | ||
<td colspan="2" style="height:3px;"></td></tr> | <td colspan="2" style="height:3px;"></td></tr> | ||
| Line 52: | Line 73: | ||
<th>[[RLE]]</th> | <th>[[RLE]]</th> | ||
<td style="text-align:right;"> [[RLE:{{{pname}}}|raw RLE code]]</td></tr> | <td style="text-align:right;"> [[RLE:{{{pname}}}|raw RLE code]]</td></tr> | ||
}} | {{!}}} }} | ||
</table> | </table> | ||
Latest revision as of 17:52, 23 July 2023
| Spaceship Name | ||
| ||
| View static 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 | |
