Difference between revisions of "Template:Stilllife"

From LifeWiki
Jump to navigation Jump to search
m
(Periodic objects with more than 1000 cells put in that category)
(46 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | | {{requestpatternfile}} }}</includeonly>
<!--
{| class="infobox"
 
|-
Begin infobox
| colspan="2" class="infobox_head" | {{{name|Still Life Name}}}
 
|-
-->{{InfoboxStart
| colspan="2" class="infobox_img" | <table class="img_border" cellpadding="0"><tr><td>{{#if: {{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}} | [[Image:{{{pname|fourteener}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table>
|typename      = Still Life
{{#if: {{{rle|}}} | {{!}}-
|defaultconfig = stilllife
{{!}} colspan="2" class="infobox_link" {{!}} [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java]
|viewerconfig  = {{{viewerconfig|}}}
}}
|name          = {{{name|}}}
|-
|zip          = {{{zip|}}}
! Pattern type
|mc            = {{{mc|}}}
| {{#ifeq: {{{type|}}} | pseudo | [[still life#Pseudo still lifes|Pseudo still life]] | {{#ifeq: {{{type|}}} | fake | [[Still life]] | {{#ifeq: {{{type|}}} | eater | [[Eater]] | [[still life#Strict still lifes|Strict still life]] }} }} }}
|life105      = {{{life105|}}}
|-
|life106      = {{{life106|}}}
! Number of [[cell]]s
|plaintext    = {{{plaintext|}}}
| {{#if: {{{c|}}} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] | Unknown }}
|rle          = {{{rle|}}}
|-
|nofile        = {{{nofile|}}}
! [[Bounding box]]
|pname        = {{{pname|}}}
| {{#if: {{{bx|}}} | {{{bx}}}&times;{{{by}}} | Unknown }}
|animated      = {{{animated|}}}
|-
}}<!--
! Discovered by
 
| {{#if: {{{discoverer|}}} | [[:Category:Patterns found by {{{discoverer|}}}|{{{discoverer|}}}]] | Unknown }}
Display pattern type and family
|-
 
! Year of discovery
--><tr>
| {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }}
<th> Pattern type </th>
{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulecat1={{{rulecat1|}}}|rule1max={{{rule1max|}}}|rule1min={{{rule1min}}}|rulecat2={{{rulecat2|}}}|rule2max={{{rule2max|}}}|rule2min={{{rule2min}}} }} |}
<td> {{#switch: {{{type|}}}
<noinclude>
    | pseudo        = [[Still life#Pseudo still lifes|Pseudo still life]]  
This is an infobox template for '''[[still life]]s'''. 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 [[block]].
    | constellation = [[Constellation]]
    | eater        = [[Eater]]
    |                 [[Still life#Strict still lifes|Strict still life]]  
}} {{#if: {{{type2|}}} | <br />{{#switch: {{{type2|}}}  
    | pseudo        = [[Still life#Pseudo still lifes|Pseudo still life]]
    | constellation = [[Constellation]]
    | eater        = [[Eater]]  
    |                 {{{type2}}}
}} }}</td></tr>
{{#if: {{{family|}}} |  
<tr>
<th> Family </th>
<td> {{{family|}}} </td></tr>
}}<!--
 
Display population and bounding box
 
-->{{PatternPopulationAndBoundingBox
|c        = {{{c|}}}
|bx      = {{{bx|}}}
|by      = {{{by|}}}
|fc      = {{{fc|}}}
|periodic = true
}}<!--
 
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|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|apgcode      = {{{apgcode|}}}
|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|}}}
|niemiecid        = {{{niemiecid|}}}
|pentadecathlonid = {{{pentadecathlonid|}}}  
}}<!--
 
End infobox
 
--></table><!--


==Special parameters==
Transcluded documentation
The following parameter is optional.
*'''type''': any of "strict", "pseudo", "eater", or "fake" (without the quotes) which refer to [[strict still life]]s, [[pseudo still life]]s, [[eater]]s, or other still lifes, respectively. If omitted, it will default to strict still life.


--><noinclude>{{Stilllife/Doc}}
{{PatternTemplates}}
{{PatternTemplates}}
</noinclude>
</noinclude><!--
<includeonly>
 
[[Category:Patterns]]
Categories
{{#ifeq: {{{type|}}} | pseudo | [[Category:Still lifes]][[Category:Pseudo still lifes]] | {{#ifeq: {{{type|}}} | fake | [[Category:Still lifes]] | {{#ifeq: {{{type|}}} | eater | [[Category:Still lifes]][[Category:Eaters]] | [[Category:Still lifes]][[Category:Strict still lifes]]{{#if: {{{c|}}} | [[Category:Strict still lifes with {{{c}}} cells]] }} }} }} }}{{#if: {{{c|}}} | [[Category:Patterns with {{{c}}} cells]] }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
 
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
{{#ifeq: {{{type|}}} | pseudo | [[Category:Still lifes]][[Category:Pseudo still lifes]] {{#if: {{{c|}}} | [[Category:Pseudo still lifes with {{{c}}} cells]] }} | {{#ifeq: {{{type|}}} | constellation | [[Category:Constellations]] {{#if: {{{c|}}} | [[Category:Constellations with {{{c}}} cells]] }} | {{#ifeq: {{{type|}}} | eater | [[Category:Still lifes]][[Category:Eaters]] {{#if: {{{c|}}} | [[Category:Eaters with {{{c}}} cells]] }} | [[Category:Still lifes]][[Category:Strict still lifes]]{{#if: {{{c|}}} | [[Category:Strict still lifes with {{{c}}} cells]][[Category:Periodic objects with minimum population {{{c}}}]] }} }} }} }}{{#ifeq: {{{type2|}}} | pseudo | [[Category:Still lifes]][[Category:Pseudo still lifes]] {{#if: {{{c|}}} | [[Category:Pseudo still lifes with {{{c}}} cells]] }} | {{#ifeq: {{{type2|}}} | constellation | [[Category:Still lifes]] {{#if: {{{c|}}} | [[Category:Constellations with {{{c}}} cells]] }} | {{#ifeq: {{{type2|}}} | eater | [[Category:Still lifes]][[Category:Eaters]] {{#if: {{{c|}}} | [[Category:Eaters with {{{c}}} cells]] }} }} }} }}{{#if: {{{family|}}} | [[Category:{{{family|}}} variants]] }}{{#if: {{{apgcode|}}} | | {{#ifeq: {{{type|}}} | constellation | | {{#ifeq: {{{type|}}} | pseudo | | {{#ifeq: {{{type2|}}} | constellation | | {{#ifeq: {{{type2|}}} | pseudo | | [[Category:Still lifes with no apgcode infobox parameter]] }} }} }} }} }}{{#if: {{{pentadecathlonid|}}} | | {{#ifeq: {{{type|}}} | constellation | | {{#ifeq: {{{type|}}} | pseudo | | {{#ifeq: {{{type2|}}} | constellation | | {{#ifeq: {{{type2|}}} | pseudo | | [[Category:Still lifes with no Pentadecathlon ID]] }} }} }} }} }}
}}
</includeonly>
</includeonly>

Revision as of 17:18, 27 April 2019

Still Life Name
image
Pattern type Strict still life
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for still lifes. 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 block.

Special parameters

The following parameters are optional.


Pattern templates