Template: Date

From A Wiki of Ice and Fire
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

This template links to a year's relevant article. It should speed up the editing process and make the text more readable when editing.

This template first tries to link to a year's dedicated article (e.g. 300 ᴀᴄ), but if that article doesn't exist the template links to the relevant section of either Years after Aegon's Conquest or Years before Aegon's Conquest.

Usage

One year

{{Date|#}} where # denotes the number of the year. Years before Aegon's Conquest must be prefixed with a negative sign -.

For example, {{Date|300}} results in 300 ᴀᴄ, but {{Date|-300}} results in 300 ʙᴄ.

Two years

{{Date|from #| to #}}

When two years are given, the template returns a range.

For example, {{Date|283|298}} results in 283298 ᴀᴄ, and {{Date|-283|298}} results in 283 ʙᴄ – 298 ᴀᴄ.