Template:Gliders
This template can be used to quickly and easily embed a link to the category of patterns with a given glider cost. For example,
- The frobnozzle has a {{gliders|15}} [[synthesis]] discovered by [[Jason Summers]].
becomes
The frobnozzle has a 15-glider synthesis discovered by Jason Summers.
(This is much more convenient than having to type the equivalent of
- The frobnozzle has a [[:Category:Patterns that can be constructed with 15 gliders|15-glider]] [[synthesis]] discovered by Jason Summers.
everytime you want to link to a glider synthesis category.)
The template takes two parameters, the first of which is the cost and can be passed without a name or as cost=. The second one is passed without a name and removes the "glider" from the resulting text:
- Infinite growth patterns can be constructed with as few as {{gliders|3|brief}} [[glider]]s.
becomes
If the specified cost is at least 50 gliders, the template will link to the relevant category thanks to the use of {{GlidersCategoryName}}:
- A {{gliders|256}} [[synthesis]] for the frobnozzle gun was discovered by [[Martin Grant]].
becomes
- A 256-glider synthesis for the frobnozzle gun was discovered by Martin Grant. (links to Category:Patterns that can be constructed with between 200 and 299 gliders)
It is also possible to specify an arbitrary link text in an optional parameter text=. For example,
- Infinite growth patterns can be constructed with as few as {{gliders|3|text=3 gliders}}.
becomes