Template:Period/Doc

From LifeWiki
Revision as of 13:28, 24 March 2019 by Ian07 (talk | contribs) (Created page with "This template can be used to quickly and easily embed a link to the category of oscillators with a given period. For example, :<tt><nowiki>The frobnozzle is a {{period|3}} ...")
(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 oscillators with a given period. For example,

The frobnozzle is a {{period|3}} [[oscillator]].

becomes

The frobnozzle is a period-3 oscillator.

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

The frobnozzle is a [[period]] [[:Category:Oscillators with period 3|3]] [[oscillator]].

everytime you want to link to an oscillator period category.)

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