Template:PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m changed wiki table tags to HTML tags for spacing reasons
Spam User (talk | contribs)
Replacing page with 'Delete this page!'
Line 1: Line 1:
<includeonly>{{#if: {{{rulemax|}}}{{{rulespecial|}}} | <tr>
[[Delete this page!]]
<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>
}} {{#if: {{{synthesis|}}}{{{synthesisRLE|}}} |
<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" {{!}} [[Glider synthesis]]
{{#ifeq: {{{synthesis|}}} | 0 | {{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} Synthesis is [[:Category:Patterns that can not be constructed with gliders|not possible]]. | {{!}}-
{{#if: {{{synthesis|}}} | {{!}}-
! Fewest&nbsp;[[glider]]s
{{!}} style="text-align:right;" {{!}} [[:Category:Patterns that can be constructed with {{{synthesis|}}} gliders|{{{synthesis|}}}]]
}}
{{#if: {{{synthesisRLE|}}} | {{!}}-
! Java&nbsp;link
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com?p={{{pname|name}}}_synth click here]
{{!}}-
! [[RLE]]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_synth.rle {{{pname|name}}}_synth.rle]
}} }}
{{!}}}</td></tr> }} {{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} |
<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
{{#if: {{{life105|}}} | {{!}}-
! [[Life 1.05]]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_105.lif {{{pname|name}}}_105.lif]
}}
{{#if: {{{life106|}}} | {{!}}-
! [[Life 1.06]]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}_106.lif {{{pname|name}}}_106.lif]
}}
{{#if: {{{plaintext|}}} | {{!}}-
! [[Plaintext]]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}.cells {{{pname|name}}}.cells]
}}
{{#if: {{{rle|}}} | {{!}}-
! [[RLE]]
{{!}} style="text-align:right;" {{!}} [http://www.conwaylife.com/pattern.asp?p={{{pname|name}}}.rle {{{pname|name}}}.rle]
}}
{{!}}} </td></tr> }}{{#if: {{{synthesis|}}} | {{#ifeq: {{{synthesis|}}} | 0 | [[Category:Patterns that can not be constructed with gliders]] | [[Category:Patterns that can be constructed with {{{synthesis|}}} gliders]]}} }}
</includeonly>
<noinclude>This template displays the "Rules", "Glider synthesis" and "Pattern files" boxes that appear on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox template such as [[Template:Pattern]] and [[Template:Oscillator]]. All of its parameters are passed in from the corresponding parameters of the template that calls it.
</noinclude>

Revision as of 17:45, 5 September 2009