Difference between revisions of "Template:Timeline/doc"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
Line 4: Line 4:
===Usage===
===Usage===
<pre>{{timeline|<year>[|<written>]}}</pre>
<pre>{{timeline|<year>[|<written>]}}</pre>
The <year> is required to be a number, in some cases, such as dates before year 0, the <year> value will still be required to be a number, e.g. -50 is 50BCE.  But to get 50BCE written rather than -50, <written> is supplied.  If <written> is not supplied, <year> is assumed as the decided value.
The '''<year>''' is required to be a number, in some cases, such as dates before year 0, the '''<year>''' value will still be required to be a number, e.g. -50 is 50BCE.  But to get 50BCE written rather than -50, '''<written>''' is supplied.  If '''<written>''' is not supplied, '''<year>''' is assumed as the decided value.


===Examples===
===Examples===

Revision as of 14:57, 10 March 2009

Use

This template is to create links to the Timeline article, at which they would point to appropriate subsection within the article, {{year}} has the same functionality, but just a different name.

Usage

{{timeline|<year>[|<written>]}}

The <year> is required to be a number, in some cases, such as dates before year 0, the <year> value will still be required to be a number, e.g. -50 is 50BCE. But to get 50BCE written rather than -50, <written> is supplied. If <written> is not supplied, <year> is assumed as the decided value.

Examples

{{timeline|-50|50 BCE}}

50 BCE

{{timeline|3010}}

3010

{{year|1947}}

1947