Template:Year nav topic

From Wikipedia, the free encyclopedia
Jump to: navigation, search
List of years in subject (Table)
Related time period or subjects
Art Archaeology Architecture Literature Music Science more
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Format:   {{Year nav topic|year#|subject}}

Takes two parameters, the year# (year 101 or higher), followed by the subject (such as: music), separated by vertical bars:

  • The year# becomes the bolded center of the 20-year range for the subject.
  • For the subject "xxx" there should be a specific article (or redirection) using the name "List_of_years_in_xxx" (which is the top line displayed in the navigation-box).
  • For the subject "xxx" there should be a specific all-years navigation article using the name "Table_of_years_in_xxx" (the "Table" link displayed in box), which has a compressed table linking all year/decade articles about the subject (such as: "Table of years in film").
  • The box width shrinks 0% (unchanged) for smaller year-number sizes, since width is determined by the subject-list (bottom line).

Examples

The example code is on the left, and the wiki display is on the right.
{{Year nav topic|1970|music}}

List of years in music (Table)
Related time period or subjects
Art Archaeology Architecture Literature Music Science more


{{Year nav topic|1798|archaeology}}

List of years in archaeology (Table)
Related time period or subjects
Art Archaeology Architecture Literature Music Science more


{{Year nav topic|1497|art}}

List of years in art (Table)
Related time period or subjects
Art Archaeology Architecture Literature Music Science more


{{Year nav topic|101|science}}

List of years in science (Table)
Related time period or subjects
Art Archaeology Architecture Literature Music Science more


{{Year nav topic|100|art}} [invalid]

List of years in art (Table)
Related time period or subjects
Art Archaeology Architecture Literature Music Science more
Note 
This template is not valid with years 100 and below. Use {{Year nav BC}} or other history nav templates instead.

See also