<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.undertensai.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AConway%27s_Game_of_Life%2Fdoc</id>
	<title>模板:Conway&#039;s Game of Life/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.undertensai.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AConway%27s_Game_of_Life%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Conway%27s_Game_of_Life/doc&amp;action=history"/>
	<updated>2026-11-17T04:58:17Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Conway%27s_Game_of_Life/doc&amp;diff=24104&amp;oldid=prev</id>
		<title>wiki&gt;Sophivorus：​/* Installation */</title>
		<link rel="alternate" type="text/html" href="https://wiki.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Conway%27s_Game_of_Life/doc&amp;diff=24104&amp;oldid=prev"/>
		<updated>2024-10-08T13:49:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Installation&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Template gadget|Vivarium}}&lt;br /&gt;
&lt;br /&gt;
Use this template to create an interactive instance of [[Wikipedia:Conway&amp;#039;s Game of Life|Conway&amp;#039;s Game of Life]].&lt;br /&gt;
&lt;br /&gt;
See the [[#Installation|installation instructions]] to get it working in your wiki.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
Call this template with no parameters to create a small game with the the well-known R-pentomino, like so:&lt;br /&gt;
{{Markup|1=&amp;lt;pre style=&amp;quot;border:none&amp;quot;&amp;gt;{{Conway&amp;#039;s Game of Life}}&amp;lt;/pre&amp;gt;|2={{Conway&amp;#039;s Game of Life}}}}&lt;br /&gt;
See the [[#Examples|examples]] for other configurations.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
{{Template gadget installation instructions|Vivarium}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== R-pentomino ===&lt;br /&gt;
&lt;br /&gt;
{{Markup&lt;br /&gt;
| 1 = &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Conway&amp;#039;s Game of Life&lt;br /&gt;
| width = 400&lt;br /&gt;
| height = 200&lt;br /&gt;
| zoom = 3&lt;br /&gt;
| cells = 0,0; 0,1; 0,-1; -1,0; 1,1&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| 2 = {{Conway&amp;#039;s Game of Life&lt;br /&gt;
| width = 400&lt;br /&gt;
| height = 200&lt;br /&gt;
| zoom = 3&lt;br /&gt;
| cells = 0,0; 0,1; 0,-1; -1,0; 1,1&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Spaceships ===&lt;br /&gt;
&lt;br /&gt;
{{Markup&lt;br /&gt;
| 1 = &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Conway&amp;#039;s Game of Life&lt;br /&gt;
| width = 400&lt;br /&gt;
| height = 200&lt;br /&gt;
| cells = -39,-12; -39,1; -40,1; -41,1; -42,1; -43,1; -44,0; -39,0; -39,-1; -40,-2; -44,-2; -42,-3; -39,12; -40,12; -41,12; -42,12; -43,12; -44,12; -45,11; -45,9; -39,11; -39,10; -40,9; -42,8; -43,8; -39,-21; -39,-22; -40,-21; -40,-23; -41,-21; -39,-10; -40,-13; -39,-11; -40,-10; -41,-10; -42,-10; -43,-11; -43,-13&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| 2 = {{Conway&amp;#039;s Game of Life&lt;br /&gt;
| width = 400&lt;br /&gt;
| height = 200&lt;br /&gt;
| cells = -39,-12; -39,1; -40,1; -41,1; -42,1; -43,1; -44,0; -39,0; -39,-1; -40,-2; -44,-2; -42,-3; -39,12; -40,12; -41,12; -42,12; -43,12; -44,12; -45,11; -45,9; -39,11; -39,10; -40,9; -42,8; -43,8; -39,-21; -39,-22; -40,-21; -40,-23; -41,-21; -39,-10; -40,-13; -39,-11; -40,-10; -41,-10; -42,-10; -43,-11; -43,-13&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Blinkers ===&lt;br /&gt;
&lt;br /&gt;
{{Markup&lt;br /&gt;
| 1 = &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Conway&amp;#039;s Game of Life&lt;br /&gt;
| width = 400&lt;br /&gt;
| height = 200&lt;br /&gt;
| zoom = 3&lt;br /&gt;
| cells = 0,0; 10,-1; 11,2; -14,-1; -13,-1; -13,0; -15,2; -16,2; -16,1; -4,21; -4,20; -5,22; -6,22; -9,20; -6,17; -2,20; -2,21; -1,22; 0,22; 0,17; 3,20; 0,24; -1,24; -2,25; -2,26; -4,25; -4,26; -5,24; -6,24; -9,26; -6,29; 0,29; 3,26; 15,15; 15,16; 15,17; 15,14; 16,13; 17,13; 18,13; 19,13; 20,14; 20,15; 20,16; 20,17; 19,18; 18,18; 17,18; 16,18; 18,11; 19,11; 19,10; 18,10; 13,14; 13,15; 12,14; 12,15; 16,20; 17,20; 16,21; 17,21; 22,16; 22,17; 23,17; 23,16; -17,13; -16,14; 20,4; 20,3; 21,3; 23,7; 24,7; 24,6; 30,6; 31,6; 31,5; 27,1; 26,1; 26,2; 38,5; 37,5; 38,4; 33,-1; 32,-1; 32,0; 44,4; 45,4; 45,3; 39,-3; 38,-3; 38,-2; 19,16; 0,1; 0,-1; 10,0; 11,0; 10,1; 11,1; -14,0; -15,1; -4,19; -7,22; -9,19; -7,17; -2,19; 1,22; 1,17; 3,19; 1,24; -2,27; -4,27; -7,24; -9,27; -7,29; 1,29; 3,27; 17,17; -18,14; -17,12; -16,15; -15,13; 22,4; 22,6; 30,4; 28,2; 36,4; 34,0; 44,2; 40,-2; 18,15; -6,9; 3,9; 28,4; 36,2; 34,2; 42,2; 40,0; 42,0; 16,-5; 16,-6; 17,-6; 18,-6; 19,-7; 19,-8; 18,-9; 17,-8; 16,-8; 15,-9; 15,-10; 16,-11; 15,-12; 14,-12; 13,-11; 13,-10; 13,-9; 12,-9; -5,-8; -4,-8; -4,-9; -5,-9; -7,-9; -8,-10; -5,-11; -6,-12; -8,-12; -8,-13; -9,-13; -9,-12; -25,6; -26,6; -26,5; -26,4; -25,4; -27,7; -28,6; -30,6; -30,7; -31,6; -32,6; -32,7; -33,5; -32,4; -32,2; -32,1; -32,0; -33,2; -33,0; -31,-1; -30,0; -28,0; -27,0; -26,0; -28,-1; -26,-1; -25,1; -26,2; -22,-6; -21,-6; -23,-7; -24,-8; -25,-9; -25,-10; -24,-11; -23,-12; -22,-13; -21,-13; -20,-12; -19,-11; -18,-10; -18,-9; -19,-8; -20,-7; -5,9; -4,8; -4,10; -3,9; -2,9; -1,9; 0,9; 1,8; 1,10; 2,9; -9,25; -5,29; -1,29; 3,25; -1,17; 3,21; -5,17; -9,21; 1,-29; 1,-28; 0,-29; 0,-28; 3,-29; 3,-28; 3,-27; 3,-26; 4,-30; 5,-29; 7,-29; 6,-29; 8,-29; 9,-28; 10,-27; 11,-27; 11,-28; 8,-27; 7,-27; 6,-27; 8,-26; 8,-25; 7,-24; 6,-23; 6,-22; 7,-22; 4,-25; 5,-25; 6,-25; 6,-31; 6,-32; 5,-32; 27,-21; 27,-20; 27,-19; 28,-18; 29,-18; 30,-18; 31,-18; 27,-22; 25,-20; 25,-19; 24,-19; 24,-20; 28,-16; 29,-16; 29,-15; 28,-15; 32,-19; 31,-20; 33,-20; 32,-21; 31,-22; 29,-22; 30,-22; 29,-21; 28,-23; 29,-24; 29,-25; 28,-25; -42,23; -40,23; -41,23; -39,23; -38,23; -37,23; -35,25; -34,25; -35,26; -35,21; -34,21; -35,20; -44,21; -44,20; -45,21; -44,25; -44,26; -45,25; -33,26; -33,27; -33,28; -32,28; -33,20; -33,19; -33,18; -32,18; -46,20; -46,19; -46,18; -47,18; -46,26; -46,27; -46,28; -47,28; 31,25; 31,24; 32,23; 33,24; 34,25; 33,26; 33,27; 34,27; 36,25; 37,26; 37,27; 36,27; 37,24; 38,23; 39,24; 39,25; -23,-24; -23,-25; -22,-25; -21,-24; -21,-23; -21,-22; -20,-21; -19,-21; -18,-22; -18,-23; -18,-24; -17,-25; -16,-25; -16,-24&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| 2 = {{Conway&amp;#039;s Game of Life&lt;br /&gt;
| width = 400&lt;br /&gt;
| height = 200&lt;br /&gt;
| zoom = 3&lt;br /&gt;
| cells = 0,0; 10,-1; 11,2; -14,-1; -13,-1; -13,0; -15,2; -16,2; -16,1; -4,21; -4,20; -5,22; -6,22; -9,20; -6,17; -2,20; -2,21; -1,22; 0,22; 0,17; 3,20; 0,24; -1,24; -2,25; -2,26; -4,25; -4,26; -5,24; -6,24; -9,26; -6,29; 0,29; 3,26; 15,15; 15,16; 15,17; 15,14; 16,13; 17,13; 18,13; 19,13; 20,14; 20,15; 20,16; 20,17; 19,18; 18,18; 17,18; 16,18; 18,11; 19,11; 19,10; 18,10; 13,14; 13,15; 12,14; 12,15; 16,20; 17,20; 16,21; 17,21; 22,16; 22,17; 23,17; 23,16; -17,13; -16,14; 20,4; 20,3; 21,3; 23,7; 24,7; 24,6; 30,6; 31,6; 31,5; 27,1; 26,1; 26,2; 38,5; 37,5; 38,4; 33,-1; 32,-1; 32,0; 44,4; 45,4; 45,3; 39,-3; 38,-3; 38,-2; 19,16; 0,1; 0,-1; 10,0; 11,0; 10,1; 11,1; -14,0; -15,1; -4,19; -7,22; -9,19; -7,17; -2,19; 1,22; 1,17; 3,19; 1,24; -2,27; -4,27; -7,24; -9,27; -7,29; 1,29; 3,27; 17,17; -18,14; -17,12; -16,15; -15,13; 22,4; 22,6; 30,4; 28,2; 36,4; 34,0; 44,2; 40,-2; 18,15; -6,9; 3,9; 28,4; 36,2; 34,2; 42,2; 40,0; 42,0; 16,-5; 16,-6; 17,-6; 18,-6; 19,-7; 19,-8; 18,-9; 17,-8; 16,-8; 15,-9; 15,-10; 16,-11; 15,-12; 14,-12; 13,-11; 13,-10; 13,-9; 12,-9; -5,-8; -4,-8; -4,-9; -5,-9; -7,-9; -8,-10; -5,-11; -6,-12; -8,-12; -8,-13; -9,-13; -9,-12; -25,6; -26,6; -26,5; -26,4; -25,4; -27,7; -28,6; -30,6; -30,7; -31,6; -32,6; -32,7; -33,5; -32,4; -32,2; -32,1; -32,0; -33,2; -33,0; -31,-1; -30,0; -28,0; -27,0; -26,0; -28,-1; -26,-1; -25,1; -26,2; -22,-6; -21,-6; -23,-7; -24,-8; -25,-9; -25,-10; -24,-11; -23,-12; -22,-13; -21,-13; -20,-12; -19,-11; -18,-10; -18,-9; -19,-8; -20,-7; -5,9; -4,8; -4,10; -3,9; -2,9; -1,9; 0,9; 1,8; 1,10; 2,9; -9,25; -5,29; -1,29; 3,25; -1,17; 3,21; -5,17; -9,21; 1,-29; 1,-28; 0,-29; 0,-28; 3,-29; 3,-28; 3,-27; 3,-26; 4,-30; 5,-29; 7,-29; 6,-29; 8,-29; 9,-28; 10,-27; 11,-27; 11,-28; 8,-27; 7,-27; 6,-27; 8,-26; 8,-25; 7,-24; 6,-23; 6,-22; 7,-22; 4,-25; 5,-25; 6,-25; 6,-31; 6,-32; 5,-32; 27,-21; 27,-20; 27,-19; 28,-18; 29,-18; 30,-18; 31,-18; 27,-22; 25,-20; 25,-19; 24,-19; 24,-20; 28,-16; 29,-16; 29,-15; 28,-15; 32,-19; 31,-20; 33,-20; 32,-21; 31,-22; 29,-22; 30,-22; 29,-21; 28,-23; 29,-24; 29,-25; 28,-25; -42,23; -40,23; -41,23; -39,23; -38,23; -37,23; -35,25; -34,25; -35,26; -35,21; -34,21; -35,20; -44,21; -44,20; -45,21; -44,25; -44,26; -45,25; -33,26; -33,27; -33,28; -32,28; -33,20; -33,19; -33,18; -32,18; -46,20; -46,19; -46,18; -47,18; -46,26; -46,27; -46,28; -47,28; 31,25; 31,24; 32,23; 33,24; 34,25; 33,26; 33,27; 34,27; 36,25; 37,26; 37,27; 36,27; 37,24; 38,23; 39,24; 39,25; -23,-24; -23,-25; -22,-25; -21,-24; -21,-23; -21,-22; -20,-21; -19,-21; -18,-22; -18,-23; -18,-24; -17,-25; -16,-25; -16,-24&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Template data ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;autoplay&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Autoplay&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Start the game automatically&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;yes&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;width&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Width&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Width of the instance, in pixels&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;600&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;300&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;height&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Height&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Height of the instance, in pixels&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;400&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;150&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;zoom&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Zoom&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Initial zoom of the instance&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;3&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;grid&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Grid&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Initial state of the grid&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;on&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;cells&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Cells&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Initial cells of the instance, specified by a semicolon-separated list of coordinates&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;0,0; 0,1; 0,-1; -1,0; 1,1&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;fallback&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Fallback&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Fallback file or text, for users with JavaScript disabled or when printing&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;[[File:Gospers glider gun.gif]]&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Use this template to create an interactive instance of Conway&amp;#039;s Game of Life&amp;quot;,&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;block&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[:es:Plantilla:Juego de la vida]] - Spanish localization of this template&lt;br /&gt;
* [[Template:Langton&amp;#039;s ant]] - Related template&lt;br /&gt;
* [[User:Sophivorus]] - Main author of this template&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Global gadgets]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;Sophivorus</name></author>
	</entry>
</feed>