Template:Slcells/Doc: Difference between revisions
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 strict still lifes with a given cell count. For example, :<tt><nowiki>The snargehive is a {{sl..." |
document "text=" |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 7: | Line 7: | ||
:The snargehive is a {{slcells|6}}-bit still life. | :The snargehive is a {{slcells|6}}-bit still life. | ||
(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 snargehive is a [[:Category:Strict still lifes with 6 cells|6]]-bit still life.</nowiki></tt> | :<tt><nowiki>The snargehive is a [[:Category:Strict still lifes with 6 cells|6]]-bit still life.</nowiki></tt> | ||
| Line 14: | Line 14: | ||
The template takes a single parameter, which can be passed without a name or as <tt>cells=</tt>. | The template takes a single parameter, which can be passed without a name or as <tt>cells=</tt>. | ||
It is also possible to provide an arbitrary displayed link text using the optional parameter <tt>text=</tt>: | |||
:<tt><nowiki>The snargehive is a {{slcells|6|text=six-bit}} still life.</nowiki></tt> | |||
becomes | |||
:The snargehive is a {{slcells|6|text=six-bit}} still life. | |||
<noinclude>[[Category:Template documentation pages]]</noinclude> | |||
Latest revision as of 10:21, 22 July 2022
This template can be used to quickly and easily embed a link to the category of strict still lifes with a given cell count. For example,
- The snargehive is a {{slcells|6}}-bit still life.
becomes
- The snargehive is a 6-bit still life.
(This is much more convenient than having to type the equivalent of
- The snargehive is a [[:Category:Strict still lifes with 6 cells|6]]-bit still life.
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=.
It is also possible to provide an arbitrary displayed link text using the optional parameter text=:
- The snargehive is a {{slcells|6|text=six-bit}} still life.
becomes
- The snargehive is a six-bit still life.