Template:Conway's Game of Life/doc
This is a documentation subpage for Template:Conway's Game of Life. It contains usage information, categories and other content that is not part of the original Template page. |
Use this template to create an interactive instance of Conway's Game of Life.
See the installation instructions to get it working in your wiki.
Usage
Call this template with no parameters to create a small game with the the well-known R-pentomino, like so:
Markup | Renders as |
---|---|
{{Conway's Game of Life}} |
|
See the examples for other configurations.
Installation
Template:Template gadget installation instructions
Examples
R-pentomino
Markup | Renders as |
---|---|
|
|
Spaceships
Markup | Renders as |
---|---|
|
|
Blinkers
Markup | Renders as |
---|---|
|
|
Template data
Use this template to create an interactive instance of Conway's Game of Life
Parameter | Description | Type | Status | |
---|---|---|---|---|
Autoplay | autoplay | Start the game automatically
| Boolean | optional |
Width | width | Width of the instance, in pixels
| Number | optional |
Height | height | Height of the instance, in pixels
| Number | optional |
Zoom | zoom | Initial zoom of the instance
| Number | optional |
Grid | grid | Initial state of the grid
| Boolean | optional |
Cells | cells | Initial cells of the instance, specified by a semicolon-separated list of coordinates
| String | optional |
Fallback | fallback | Fallback file or text, for users with JavaScript disabled or when printing
| Unknown | optional |
See also
- es:Plantilla:Juego de la vida - Spanish localization of this template
- Template:Langton's ant - Related template
- User:Sophivorus - Main author of this template