Template:Cellular automaton rule 30/next

{{subst:#switch:{{{1}}}{{{2}}}{{{3}}}|000=0|001=1|010=1|011=1|100=1|101=0|110=0|111=0|  0= |0  = |   = |  +=+| + =+| ++=+|+  =+|+ += |++ = |+++= }}