Template:Puffer: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) dir=Oblique is also acceptable; compare spaceships |
Apple Bottom (talk | contribs) Maintainability tweaks, extra category links |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly> | <!-- | ||
<table class="infobox"> | |||
Display "request pattern file" box if no pattern files exist and "nofile" was not passed to suppress this | |||
--> <includeonly>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly><!-- | |||
Begin infobox | |||
--> <table class="infobox"> | |||
<tr><td colspan="2" class="infobox_head"> {{{name|Puffer Name}}} </td></tr> | <tr><td colspan="2" class="infobox_head"> {{{name|Puffer Name}}} </td></tr> | ||
<tr> | <tr> | ||
| Line 10: | Line 17: | ||
<tr> | <tr> | ||
<th> Direction </th> | <th> Direction </th> | ||
<td> {{{dir|Unknown | <td> {{#if: {{{dir|}}} | [[:Category:{{{dir|}}} puffers|{{{dir|}}}]] | Unknown }} </td></tr> | ||
<tr> | <tr> | ||
<th> [[Period]] </th> | <th> [[Period]] </th> | ||
<td> {{{p|Unknown | <td> {{#if: {{{p|}}} | [[:Category:Puffers with period {{{p|}}}|{{{p|}}}]] | Unknown }} </td></tr> | ||
<tr> | <tr> | ||
<th> [[Speed]] </th> | <th> [[Speed]] </th> | ||
<td> {{{s|Unknown | <td> {{#if: {{{s|}}} | [[:Category:Puffers with speed {{{s|}}}|{{{s|}}}]] | Unknown }} </td></tr> | ||
<tr> | <tr> | ||
<th> Number of [[cell]]s </th> | <th> Number of [[cell]]s </th> | ||
| Line 28: | Line 35: | ||
<tr> | <tr> | ||
<th> Year of discovery </th> | <th> Year of discovery </th> | ||
<td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr>{{PatternDownload|synthesis={{{synthesis|}}}|synthesisRLE={{{synthesisRLE|}}}|life105={{{life105|}}}|life106={{{life106|}}}|plaintext={{{plaintext|}}}|zip={{{zip|}}}|mc={{{mc|}}}|rle={{{rle|}}}|pname={{{pname|}}}|rulespecial={{{rulespecial|}}}|rulemax={{{rulemax|}}}|rulemin={{{rulemin|}}} }}{{PatternIdentifiers|apgcode={{{apgcode|}}}|niemiecid={{{niemiecid|}}}|pentadecathlonid={{{pentadecathlonid|}}} }} </table> | <td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr><!-- | ||
< | |||
Display "Rules", "Glider synthesis", "Pattern files" sections | |||
-->{{PatternDownload | |||
|synthesis = {{{synthesis|}}} | |||
|synthesisRLE = {{{synthesisRLE|}}} | |||
|life105 = {{{life105|}}} | |||
|life106 = {{{life106|}}} | |||
|plaintext = {{{plaintext|}}} | |||
|zip = {{{zip|}}} | |||
|mc = {{{mc|}}} | |||
|rle = {{{rle|}}} | |||
|pname = {{{pname|}}} | |||
|rulespecial = {{{rulespecial|}}} | |||
|rulemax = {{{rulemax|}}} | |||
|rulemin = {{{rulemin|}}} | |||
}}<!-- | |||
Display "Identifiers" section | |||
-->{{PatternIdentifiers | |||
|apgcode = {{{apgcode|}}} | |||
|niemiecid = {{{niemiecid|}}} | |||
|pentadecathlonid = {{{pentadecathlonid|}}} | |||
}}<!-- | |||
End infobox | |||
--></table><!-- | |||
Transcluded documentation | |||
--><noinclude>{{Puffer/Doc}} | |||
{{PatternTemplates}} | {{PatternTemplates}} | ||
</noinclude> | </noinclude><!-- | ||
<includeonly> | |||
[[Category:Patterns]][[Category:Puffers]]{{#if: {{{dir|}}} | [[Category:{{{dir|}}} puffers]] | [[Category:Puffers with unknown direction]] }}{{#if: {{{p|}}} | [[Category:Puffers with period {{{p|}}}]] | [[Category:Puffers with unknown period]] }}{{#if: {{{s|}}} | [[Category:Puffers with speed {{{s|}}}]] | [[Category:Puffers with unknown speed]] }}{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoverer2|}}} | [[Category:Patterns found by {{{discoverer2|}}}]] }}{{#if: {{{discoverer3|}}} | [[Category:Patterns found by {{{discoverer3|}}}]] }}{{#if: {{{discoverer4|}}} | [[Category:Patterns found by {{{discoverer4|}}}]] }}{{#if: {{{discoverer5|}}} | [[Category:Patterns found by {{{discoverer5|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }} | Categories | ||
--><includeonly> | |||
[[Category:Patterns]] | |||
[[Category:Puffers]]{{#if: {{{dir|}}} | [[Category:{{{dir|}}} puffers]] | [[Category:Puffers with unknown direction]] }}{{#if: {{{p|}}} | [[Category:Puffers with period {{{p|}}}]] | [[Category:Puffers with unknown period]] }}{{#if: {{{s|}}} | [[Category:Puffers with speed {{{s|}}}]] | [[Category:Puffers with unknown speed]] }}{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{c|}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] | [[Category:Patterns with {{{c}}} cells]] }} }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoverer2|}}} | [[Category:Patterns found by {{{discoverer2|}}}]] }}{{#if: {{{discoverer3|}}} | [[Category:Patterns found by {{{discoverer3|}}}]] }}{{#if: {{{discoverer4|}}} | [[Category:Patterns found by {{{discoverer4|}}}]] }}{{#if: {{{discoverer5|}}} | [[Category:Patterns found by {{{discoverer5|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }} | |||
</includeonly> | </includeonly> | ||
Revision as of 12:41, 18 February 2018
| Puffer Name | ||
| ||
| Pattern type | Puffer | |
|---|---|---|
| Direction | Unknown | |
| Period | Unknown | |
| Speed | Unknown | |
| Number of cells | Unknown | |
| Bounding box | Unknown | |
| Discovered by | Unknown | |
| Year of discovery | Unknown | |
This is an infobox template for puffers. 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 backrake 1.
Special parameters
The following parameters are optional and should only be specified if their values are known.
- dir: the direction of the puffer (dir=Orthogonal, dir=Diagonal, or dir=Oblique).
- p: the period of the puffer (e.g. p=8).
- s: the speed of the puffer (e.g. s=c/2).
- type: a subcategory (such as rake) for the puffer. Leave blank if it does not apply or if you are unsure.
Pattern templates
- Template:Agar
- Template:Conduit
- Template:Crawler
- Template:Fuse
- Template:GrowingSpaceship
- Template:Gun
- Template:Methuselah
- Template:MovingBreeder
- Template:Oscillator
- Template:OscillatorComponent
- Template:Pattern
- Template:Puffer
- Template:Reflector
- Template:Rotor
- Template:Sawtooth
- Template:Spaceship
- Template:StillLifeComponent
- Template:Stilllife
- Template:UnitCell
- Template:Wave
- Template:Wick
- Template:Wickstretcher
