User:Ian07/Test/Template

From LifeWiki
< User:Ian07‎ | Test
Revision as of 23:11, 4 January 2022 by Ian07 (talk | contribs)
Jump to navigation Jump to search
Apples
x=0, y = 0, rule = Wω - 1 ! #C [[ THEME Inverse ]] #C [[ RANDOMIZE2 RANDSEED 1729 THUMBLAUNCH THUMBNAIL THUMBSIZE 2 GRID ZOOM 6 WIDTH 600 HEIGHT 600 LABEL 90 -20 2 "#G" AUTOSTART PAUSE 2 GPS 8 LOOP 256 ]]
LifeViewer-generated pseudorandom soup
Number ω - 1
Computation
Character Tasty

The rule template is an infobox template for rules for one-dimensional cellular automata. It takes the following parameters:

  • name: the name of the rule.
  • imgname: the name of the image (of a typical pattern) to display in the infobox; .png and .gif are appended automatically for the still and animated versions. The File: prefix should not be specified.
  • animated: should be set to true if an animated image for this rule has been uploaded.
  • number: the rule's number.
  • char: the rule's character. Should be one of:
    • Stable: rules in which patterns tend to stabilize quickly and show little activity.
    • Chaotic: rules in which patterns tend to show complex behavior, but do not generally explode.
    • Explosive: rules in which patterns tend to grow without bound.

Example

An example can been seen to the right; it was generated with the following invocation:

{{Rule1D
 |name        = Apples
 |imgname     = apples
 |number      = ω - 1
 |char        = Tasty
 |animated    = true
}}