Template:Pattern: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m rule options
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly>
<includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly>
{| class="infobox"
<table class="infobox">
|-
<tr><td colspan="2" class="infobox_head"> {{{name|Pattern Name}}} </td></tr>
| colspan="2" class="infobox_head" | {{{name|Pattern Name}}}
<tr>
|-
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | [[Image:{{{pname|}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table></td></tr>
| colspan="2" class="infobox_img" | <table class="img_border" cellpadding="0"><tr><td>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | [[Image:{{{pname|4812diamond}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table>
{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]] </td></tr> }}
{{#if: {{{animated|}}} | {{!}}-
{{#if: {{{rle|}}} | <tr><td colspan="2" class="infobox_link"> [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java] </td></tr> }}
{{!}} colspan="2" class="infobox_animlink" {{!}} [[Media:{{{pname|name}}}.gif|View animated image]]
<tr>
}}
<th> Pattern type </th>
{{#if: {{{rle|}}} | {{!}}-
<td> {{#if: {{{type|}}} | [[{{{type}}}]] | Miscellaneous }} </td></tr>
{{!}} colspan="2" class="infobox_link" {{!}} [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java]
<tr>
}}
<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>
! Pattern type
<tr>
| {{#if: {{{type|}}} | [[{{{type}}}]] | Miscellaneous }}
<th> [[Bounding box]] </th>
|-
<td> {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }} </td></tr>
! Number of [[cell]]s
<tr>
| {{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} | Unknown }}
<th> Discovered by </th>
|-
<td> {{#if: {{{discoverer|}}} | [[:Category:Patterns_found_by_{{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }} </td></tr>
! [[Bounding box]]
<tr>
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }}
<th> Year of discovery </th>
|-
<td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns_found_in_{{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr>
! Discovered by
{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }} </table>
| {{#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|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }} |}
<noinclude>
<noinclude>
This is an infobox template for '''[[pattern]]s'''. If there is a template listed below that looks like it is more appropriate for the pattern in question, use that template instead. If none of the other templates applies, then this template may be used. 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 [[table]].
This is an infobox template for '''[[pattern]]s'''. If there is a template listed below that looks like it is more appropriate for the pattern in question, use that template instead. If none of the other templates applies, then this template may be used. 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 [[table]].

Revision as of 13:28, 19 June 2009



Pattern Name
{{{name}}} image
Pattern type Miscellaneous
Number of cells Unknown
Bounding box Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for patterns. If there is a template listed below that looks like it is more appropriate for the pattern in question, use that template instead. If none of the other templates applies, then this template may be used. 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 table.

Special parameters

The following parameter is optional and should only be specified if it is relevant.

  • type: a category that the pattern fits into (e.g. type=induction coil).

Pattern templates