Difference between revisions of "Template:Rule"
Jump to navigation
Jump to search
(try again) |
(rectified example) |
||
Line 1: | Line 1: | ||
{| class="infobox" | <includeonly>{| class="infobox" | ||
|- | |- | ||
| colspan="2" class="infobox_head" | {{#if:{{{name|}}} | {{{name|}}} | {{{s|}}}/{{{b|}}} }} | | colspan="2" class="infobox_head" | {{#if:{{{name|}}} | {{{name|}}} | {{{s|}}}/{{{b|}}} }} | ||
|- | |- | ||
| colspan="2" class="infobox_img" | {{#if: {{{imgname|}}} | <table class="img_border" cellpadding="0"><tr><td>[[Image:{{{imgname}}}.png|{{#if:{{{name|}}} | {{{name|}}} | Typical pattern in {{{s|}}}/{{{b|}}} }} rule]]</td></tr></table> }} | | colspan="2" class="infobox_img" | {{#if: {{{imgname|}}} | <table class="img_border" cellpadding="0"><tr><td>[[Image:{{{imgname|}}}.png|{{#if:{{{name|}}} | {{{name|}}} | Typical pattern in {{{s|}}}/{{{b|}}} }} rule]]</td></tr></table> }} | ||
{{#if: {{{animated|}}} | {{!}}- | {{#if: {{{animated|}}} | {{!}}- | ||
{{!}} colspan="2" class="infobox_animlink" {{!}} [[Media:{{{imgname|maze}}}.gif|View animated image]] | {{!}} colspan="2" class="infobox_animlink" {{!}} [[Media:{{{imgname|maze}}}.gif|View animated image]] | ||
Line 13: | Line 13: | ||
! Character | ! Character | ||
| {{#if: {{{char|}}} | {{{char|}}} | Miscellaneous }} | | {{#if: {{{char|}}} | {{{char|}}} | Miscellaneous }} | ||
|} | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
{{Rule|name=Maze|imgname=maze|s=12345|b=3|char=Explosive|animated=true}} | |||
The rule template is an infobox template for rules for [[Life-like cellular automata]]. An example can be seen to the right. | The rule template is an infobox template for rules for [[Life-like cellular automata]]. An example can be seen to the right. | ||
==Format== | |||
<nowiki>{{Rule|name=Maze|imgname=maze|s=12345|b=3|char=Explosive|animated=true}}</nowiki> | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
[[Category:Everything else]][[Category:Cellular automata]][[Category:Life-like cellular automata]] | [[Category:Everything else]][[Category:Cellular automata]][[Category:Life-like cellular automata]] | ||
</includeonly> | </includeonly> |
Revision as of 05:10, 17 February 2010
Maze | ||
View animated image | ||
Rulestring | 12345/3 B3/S12345 | |
---|---|---|
Character | Explosive |
The rule template is an infobox template for rules for Life-like cellular automata. An example can be seen to the right.
Format
{{Rule|name=Maze|imgname=maze|s=12345|b=3|char=Explosive|animated=true}}