Template:Date/doc

From Forsaken Saga Wiki
Revision as of 09:16, 13 June 2024 by 176.40.36.35 (talk) (Created page with "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. {{Date|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=== {{tl|Date|#}} where <code>#</code> denotes the number of the year. Yea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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. Script error: No such module "Date".), 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[edit source]

One year[edit source]

{{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 "Script error: No such module "Date".", but {{Date|-300}} results in "Script error: No such module "Date".".

Two years[edit source]

{{Date|from #|to #}}

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

For example, {{Date|283|298}} results in "Script error: No such module "Date".", and {{Date|-283|298}} results in "Script error: No such module "Date".".

As a special case, if the second argument is + the range spans up to the present. Example: {{Date|200|+}} results in "Script error: No such module "Date".".