Template:Year nav/doc

From The Global Wiki
< Template:Year nav
Revision as of 01:03, 19 January 2023 by Ofngv (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Takes one optional parameter, the year-number. Prefix it with a minus sign for BC.

For AD years the number can be omitted if it is the page name.

The box width shrinks nearly 6% for smaller year-number sizes.

Example for "{{Year nav|2014}}" at right:
Millennium: [[Script error: No such module "Ordinal". millennium|Script error: No such module "Ordinal". millennium]]
Centuries:
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
Decades:
Years:
Example for "{{Year nav|14}}" at right:
Millennium: [[Script error: No such module "Ordinal". millennium|Script error: No such module "Ordinal". millennium]]
Centuries:
  • [[Script error: No such module "Ordinal". century BC|Script error: No such module "Ordinal". century BC]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
Decades:
Years:
Example for "{{Year nav|2029}}" at right:
Millennium: [[Script error: No such module "Ordinal". millennium|Script error: No such module "Ordinal". millennium]]
Centuries:
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
Decades:
Years:
Example for "{{Year nav|-814}}" at right:
Millennium: [[Script error: No such module "Ordinal". millennium BC|Script error: No such module "Ordinal". millennium BC]]
Centuries:
  • [[Script error: No such module "Ordinal". century BC|Script error: No such module "Ordinal". century BC]]
  • [[Script error: No such module "Ordinal". century BC|Script error: No such module "Ordinal". century BC]]
  • [[Script error: No such module "Ordinal". century BC|Script error: No such module "Ordinal". century BC]]
Decades:
Years:
Example for "{{Year nav|1}}" at right:
Millennium: [[Script error: No such module "Ordinal". millennium|Script error: No such module "Ordinal". millennium]]
Centuries:
  • [[Script error: No such module "Ordinal". century BC|Script error: No such module "Ordinal". century BC]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
Decades:
Years:
Example for "{{Year nav|911}}" at right:
Millennium: [[Script error: No such module "Ordinal". millennium|Script error: No such module "Ordinal". millennium]]
Centuries:
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
  • [[Script error: No such module "Ordinal". century|Script error: No such module "Ordinal". century]]
Decades:
Years:

See also

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Year nav

This template generates a navigation box for a year.

Template parameters

ParameterDescriptionTypeStatus
Year1

The year to generate a box for. If nothing is typed in, the title of the page will be used.

Example
2018
Numbersuggested