LV:Viewer: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Let's try this
No edit summary
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 a single unnamed parameter, which is the (usually [[RLE]]) code that generates the pattern. An example is: <tt><nowiki>{{LV:Viewer|bo$2bo$3o}}</nowiki></tt>, which generates the following LifeViewer:</noinclude><html><div class="rle"><div class="codebox"><div style="display:none;"><code></html><includeonly><nowiki></includeonly>{{{1|bo$2bo$3o}}}<includeonly></nowiki></includeonly><html></code></div></div><canvas width="480" height="480" style="margin-left:1px;"></canvas></div></html>
<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 a single unnamed parameter, which is the (usually [[RLE]]) code that generates the pattern. An example is: <tt><nowiki>{{LV:Viewer|bo$2bo$3o}}</nowiki></tt>, which generates the following LifeViewer:</noinclude><html><div class="rle"><div class="codebox"><div style="display:none;"><code></html><nowiki<noinclude></noinclude>>{{{1|bo$2bo$3o}}}<nowiki<noinclude></noinclude>><html></code></div></div><canvas width="480" height="480" style="margin-left:1px;"></canvas></div></html>

Revision as of 14:23, 13 June 2016

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 a single unnamed parameter, which is the (usually RLE) code that generates the pattern. An example is: {{LV:Viewer|bo$2bo$3o}}, which generates the following LifeViewer:

<nowiki>bo$2bo$3o<nowiki>