Template:Cells/Doc: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Created page with "This template can be used to quickly and easily embed a link to the category of patterns with a given cell count. For example, :<tt><nowiki>The frobnozzle is a {{cells|22}}-b..."
 
m guessing at intended word
Line 7: Line 7:
:The frobnozzle is a {{cells|22}}-bit p3 oscillator.
:The frobnozzle is a {{cells|22}}-bit p3 oscillator.


(This is much more than having to type the equivalent of
(This is much more convenient than having to type the equivalent of


:<tt><nowiki>The frobnozzle is a [[:Category:Patterns with 22 cells]]-bit p3 oscillator.</nowiki></tt>
:<tt><nowiki>The frobnozzle is a [[:Category:Patterns with 22 cells]]-bit p3 oscillator.</nowiki></tt>

Revision as of 17:29, 25 March 2019

This template can be used to quickly and easily embed a link to the category of patterns with a given cell count. For example,

The frobnozzle is a {{cells|22}}-bit p3 oscillator.

becomes

The frobnozzle is a 22-bit p3 oscillator.

(This is much more convenient than having to type the equivalent of

The frobnozzle is a [[:Category:Patterns with 22 cells]]-bit p3 oscillator.

everytime you want to link to a cell count-based pattern category.)

The template takes a single parameter, which can be passed without a name or as cells=.