Template:Year

From LifeWiki
Revision as of 16:36, 25 January 2018 by Apple Bottom (talk | contribs) (Created page with "<includeonly>{{#if: {{{year|{{{1|}}}}}} | [[:Category:Patterns found in {{{year|{{{1|}}}}}}|{{{year|{{{1|}}}}}}]] | '''no year specified!''' }}</includeonly><noinclude>{{Templ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template can be used to quickly and easily embed a link to the category of patterns found in a given year. For example,

The frobnozzle is a pattern found in {{year|1991}}.

becomes

The frobnozzle is a pattern found in 1991.

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

The frobnozzle is a pattern found in [[:Category:Patterns found in 1991|1991]].

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

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