Template:EmbedViewerLifeline

From LifeWiki
Revision as of 02:05, 30 August 2021 by Sokwe (talk | contribs) (New template for using on Lifeline pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This is a template based on Template:EmbedViewer for use on the Lifeline pages. It removes the instruction to "click above" and adds an 'alternate' parameter that allows one to specify an alternative to the viewer if JavaScript is disabled (typically an image).

ob2o5b3o4bo8b3o4b2o6b2o6b2o$3o5b3o5b3o5b2o7bo7bo7bo$bo7bo6bobo6b2o6bo 7b3o5b2o$18bo14b3o6bo7b2o! #C [[ THUMBSIZE 2 THEME 6 GRID GRIDMAJOR 0 SUPPRESS THUMBLAUNCH ]] #C [[ THUMBSIZE 3 HEIGHT 320 WIDTH 1400 ]] #C [[ Y -3 ]] #C [[ THUMBZOOM 24 ]] #C [[ COLOR LABEL Gray ]] #C [[ LABEL 1 -4 4 "B" ]] #C [[ LABEL 9 -4 4 "C" ]] #C [[ LABEL 17 -4 4 "D" ]] #C [[ LABEL 25 -4 4 "E" ]] #C [[ LABEL 33 -4 4 "F" ]] #C [[ LABEL 41 -4 4 "H" ]] #C [[ LABEL 49 -4 4 "I" ]]
Conway's seven 'unknown' heptominoes
{{EmbedViewerLifeline
|rle          =
ob2o5b3o4bo8b3o4b2o6b2o6b2o$3o5b3o5b3o5b2o7bo7bo7bo$bo7bo6bobo6b2o6bo
7b3o5b2o$18bo14b3o6bo7b2o!
|position     = center
|viewerconfig = #C [[ THUMBSIZE 3 HEIGHT 320 WIDTH 1400 ]]
                #C [[ Y -3 ]]
                #C [[ THUMBZOOM 24 ]]
                #C [[ COLOR LABEL Gray ]]
                #C [[ LABEL  1 -4 4 "B" ]]
                #C [[ LABEL  9 -4 4 "C" ]]
                #C [[ LABEL 17 -4 4 "D" ]]
                #C [[ LABEL 25 -4 4 "E" ]]
                #C [[ LABEL 33 -4 4 "F" ]]
                #C [[ LABEL 41 -4 4 "H" ]]
                #C [[ LABEL 49 -4 4 "I" ]]
|caption      = Conway's seven 'unknown' heptominoes
|alternate    = [[Image:Lifeline_vol01_fig1.png]]
}}