Template:Year: Difference between revisions
Jump to navigation
Jump to search
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..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{year|{{{1|}}}}}} | [[:Category:Patterns found in {{{year|{{{1|}}}}}}|{{{year|{{{1|}}}}}}]] | '''no year specified!''' }}</includeonly><noinclude>{{Template:Year/Doc}} [[Category: | <includeonly>{{#if: {{{year|{{{1|}}}}}} | [[:Category:Patterns found in {{{year|{{{1|}}}}}}|{{{year|{{{1|}}}}}}]] | '''no year specified!''' }}</includeonly><noinclude>{{Template:Year/Doc}} [[Category:Internal link templates]]</noinclude> | ||
Latest revision as of 18:37, 29 December 2020
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=.