Template:Pattern: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
Undo revision 158115 by HotdogPi (talk) didn't work, but I'm not going to mess with it further; someone else can do that
Tag: Undo
 
(81 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#ifeq: {{{type|}}} | Spaceship |
<!--
{{Spaceship|name={{{name|}}}|pname={{{pname|}}}|dir={{{dir|}}}|p={{{p|}}}|s={{{s|}}}|c={{{c|}}}|discoverer={{{discoverer|}}}|discoveryear={{{discoveryear|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|rle={{{rle|}}}}}
 
|
Begin infobox
Unknown
 
-->{{InfoboxStart
|typename      = Pattern
|defaultconfig = pattern
|viewerconfig  = {{{viewerconfig|}}}
|name          = {{{name|}}}
|zip          = {{{zip|}}}
|mc            = {{{mc|}}}
|life105      = {{{life105|}}}
|life106      = {{{life106|}}}
|plaintext    = {{{plaintext|}}}
|rle          = {{{rle|}}}
|nofile        = {{{nofile|}}}
|pname         = {{{pname|}}}
|animated      = {{{animated|}}}
|hideimg      = {{{hideimg|}}}
}}<!--
 
Display pattern type and related information
 
--><tr>
<th> Pattern type </th>
<td> {{#if: {{{type|}}} | [[{{{type}}}]] | Miscellaneous }} </td></tr>
{{#if: {{{family|}}} |
<tr>
<th> Family </th>
<td> [[:Category:{{{family}}} variants|{{{family}}}]] </td></tr>
}}<!--
 
Display population and bounding box
 
-->{{PatternPopulationAndBoundingBox
|c       = {{{c|}}}
|bx      = {{{bx|}}}
|by      = {{{by|}}}
}}<!--
 
Display an infobox divider
 
-->{{InfoboxDivider}}
<tr>
<th> [[Static symmetry]] </th>
<td> {{#if: {{NAMESPACE}} | {{{symmetry|Unspecified}}} | {{#if: {{{symmetry|}}} | [[:Category:Patterns with {{{symmetry}}} symmetry|{{{symmetry}}}]] | Unspecified }} | Unspecified }} </td></tr><!--
 
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|}}}
|synthesis2  = {{{synthesis2|}}}
|synthesisRLE = {{{synthesisRLE|}}}
|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><!--
 
Transcluded documentation
 
--><noinclude>{{Pattern/Doc}}
{{PatternTemplates}}
</noinclude><!--
 
Categories
 
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
{{#if: {{{type|}}} | {{#ifeq: {{{type|}}} | Garden of Eden | [[Category:Gardens of Eden]] | {{#ifeq:{{{type|}}}|Breeder|[[Category:Quadratic growth]]|[[Category:{{{type}}}s]]}} }} }}{{#if: {{{family|}}} | [[Category:{{{family|}}} variants]] }}{{#if: {{{symmetry|}}} | [[Category:Patterns with {{{symmetry|}}} symmetry]] | [[Category:Patterns with unknown symmetry]] }}
}}
}}
<includeonly>
[[Category:Patterns]]
{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] | [[Category:Patterns found by an unknown author]] }}
{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] | [[Category:Patterns found in an unknown year]] }}
</includeonly>
</includeonly>

Latest revision as of 16:18, 20 January 2025

Pattern Name
image
Pattern type Miscellaneous
Static symmetry Unspecified
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 pi calculator.

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=Garden of Eden).


Pattern templates