Difference between revisions of "LV:Viewer"

From LifeWiki
Jump to navigation Jump to search
(CSS fix)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>This is a template for including a LifeViewer in a wiki page, which lets a user manipulate a pattern right in the wiki page itself. This is the same viewer that is used on the ConwayLife.com forums, and it is briefly summarized [http://www.conwaylife.com/forums/viewtopic.php?f=3&t=1622 here]. The template takes either one or two unnamed parameters:
<noinclude>[[Category:LifeViewer templates]]This is a template for including a LifeViewer in a wiki page, which lets a user manipulate a pattern right in the wiki page itself. This is the same viewer that is used on the ConwayLife.com forums, and it is briefly summarized [http://www.conwaylife.com/forums/viewtopic.php?f=3&t=1622 here]. The template takes either one or two unnamed parameters:


# The (usually [[RLE]]) code that generates the pattern.
# The (usually [[RLE]]) code that generates the pattern.

Revision as of 20:01, 29 December 2020

This is a template for including a LifeViewer in a wiki page, which lets a user manipulate a pattern right in the wiki page itself. This is the same viewer that is used on the ConwayLife.com forums, and it is briefly summarized here. The template takes either one or two unnamed parameters:

  1. The (usually RLE) code that generates the pattern.
  2. An optional parameter that specifies what should be displayed if the user has JavaScript disabled (defaults to the plaintext message "Please enable Javascript to view this LifeViewer.").

An example is: {{LV:Viewer|bo$2bo$3o}}, which generates the following LifeViewer:

x=3,y=3 bo$2bo$3o