LifeWiki:LifeViewer cheatsheet for LifeWiki articles/Galleries

From LifeWiki
< LifeWiki:LifeViewer cheatsheet for LifeWiki articles
Revision as of 17:24, 5 May 2023 by Confocal (talk | contribs) (split to subpage from https://conwaylife.com/w/index.php?title=LifeWiki:LifeViewer_cheatsheet_for_LifeWiki_articles&oldid=130175#Multiple_small_patterns)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Main article: LifeWiki:LifeViewer cheatsheet for LifeWiki articles
Radiation.png This article is a stub. You can help LifeWiki by expanding it.

Examples of galleries.

If a caption below the pattern does not fit on a single line, the vertical size of the box containing the viewer increases. When possible, it is better to keep captions in galleries short, and put more detailed explanations / descriptions of the patterns in the surrounding text.

galleryContainer+galleryItem

Result

2bo$2o$2bobobo$4bobo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
Herschel parent
(click above to open LifeViewer)
4bobo$obo$o$obo3bo$3b2obo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
Herschel grandparent
(click above to open LifeViewer)
4b2o$b2ob3o$3ob2o$b2ob3o$5b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
Herschel great-grandparent
(click above to open LifeViewer)
x = 3, y = 4, rule = B3/S23 o$2o$b2o$2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
B-heptomino
(click above to open LifeViewer)
x = 3, y = 5, rule = B3/S23 o$2o$b2o$bo$o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
B-heptaplet
(click above to open LifeViewer)

Explanation

The above example is formatted in the following way,

<div class="galleryContainer">
<div class="galleryItem">viewer</div>
<div class="galleryItem">viewer</div>
<div class="galleryItem">viewer</div>
<div class="galleryItem">viewer</div>
<div class="galleryItem">viewer</div>
</div>

where each occurrence of "viewer" is replaced by an invocation of the {{EmbedViewer}} template. Viewers in this example are formatted as follows:

{{EmbedViewer
|rle          = (paste RLE here)
|viewerconfig = #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
|position     = center
|caption      = (displayed caption)
|style        = width:100px;
}}

Three columns

Result

2bo$2o$2bobobo$4bobo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
Herschel parent
(click above to open LifeViewer)
4bobo$obo$o$obo3bo$3b2obo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
Herschel grandparent
(click above to open LifeViewer)
4b2o$b2ob3o$3ob2o$b2ob3o$5b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
Herschel great-grandparent
(click above to open LifeViewer)
x = 3, y = 4, rule = B3/S23 o$2o$b2o$2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
B-heptomino
(click above to open LifeViewer)
x = 3, y = 5, rule = B3/S23 o$2o$b2o$bo$o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
B-heptaplet
(click above to open LifeViewer)

Explanation

See also: Help:Tables

The above example is formatted as a table,

{|style="margin:auto;width:300px;"
| viewer
| viewer
| viewer
|-
| viewer
| viewer
|}

where each occurrence of "viewer" is replaced by an invocation of the {{EmbedViewer}} template. Viewers in this example are formatted as follows:

{{EmbedViewer
|rle          = (paste RLE here)
|viewerconfig = #C [[ THUMBSIZE 4 ZOOM 40 HEIGHT 500 ]]
|position     = center
|caption      = (displayed caption)
}}

An example with two columns and apgcodes

Result

x = 11, y = 11, rule = B3/S23 8bo$3b2o4b2o$b3ob2o2b2o$o8bo$bob2o$bobo3bobo$6b2obo$bo8bo$2o2b2ob3o$2o4b2o$2bo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 3 ZOOM 30 HEIGHT 500 ]]
Meatball
(click above to open LifeViewer)
Catagoluehere
x = 10, y = 5, rule = B3/S23 4b2o$2obo2bob2o$o4bo2b2o$4bo$bobo! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 3 ZOOM 30 HEIGHT 500 ]]
Blocker
(click above to open LifeViewer)
Catagoluehere
x = 9, y = 9, rule = B3/S23 6ob2o$6ob2o$7b2o$2o5b2o$2o5b2o$2o5b2o$2o$2ob6o$2ob6o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 3 ZOOM 30 HEIGHT 500 ]]
Kok's galaxy
(click above to open LifeViewer)
Catagoluehere
x = 12, y = 6, rule = B3/S23 2o2bobo$2o2bo$4bo2bo$5b2o$6b2o2b2o$10b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 3 ZOOM 30 HEIGHT 500 ]]
Coe's p8
(click above to open LifeViewer)
Catagoluehere

Explanation

Table:

{|style="margin:auto;width:300px;"
|viewer
|viewer
|-
|viewer
|viewer
|}

Viewers:

{{EmbedViewer
|rle          = (paste RLE here)
|viewerconfig = #C [[ THUMBSIZE 3 ZOOM 30 HEIGHT 500 ]]
|position     = center
|caption      = (displayed caption)
|apgcode      = (apgcode)
}}