Tractor & Construction Plant Wiki
Advertisement
[[:Category:{{{3}}} in the {{{2}}} century|{{{3}}} in the {{{2}}} century]]: [[:Category:{{{3}}} in the -190s|-190s]]–[[:Category:{{{3}}} in the {{{1}}}00s|{{{1}}}00s]]–[[:Category:{{{3}}} in the {{{1}}}10s|{{{1}}}10s]]–[[:Category:{{{3}}} in the {{{1}}}20s|{{{1}}}20s]]–[[:Category:{{{3}}} in the {{{1}}}30s|{{{1}}}30s]]–[[:Category:{{{3}}} in the {{{1}}}40s|{{{1}}}40s]]–[[:Category:{{{3}}} in the {{{1}}}50s|{{{1}}}50s]]–[[:Category:{{{3}}} in the {{{1}}}60s|{{{1}}}60s]]–[[:Category:{{{3}}} in the {{{1}}}70s|{{{1}}}70s]]–[[:Category:{{{3}}} in the {{{1}}}80s|{{{1}}}80s]]–[[:Category:{{{3}}} in the {{{1}}}90s|{{{1}}}90s]]–[[:Category:{{{3}}} in the 100s|100s]]
[edit] [purge] Template documentation

Usage

{{DBDecadesInCentury|centuryyear | centuryname | type }} where
–––:centuryyear is the two-digit century, like 18 for 1800 to 1899, 19 for 1900-1999, 20 for 2000-2099 etc.
–––:centuryname is the equivalent name of that century, such as 19th for the period 1801-1900 (or 1800-1899 depending on your opinion as to whether year '0' is part of that century), 20th for 1900-1999 or 1901-2000, 21st for 2000-2099 or 2001-2100 etc.
–––:type is the type of item including this macro, such as "Organisations founded", "music", etc.

So if one were to code

{{DBDecadesInCentury|17|18th|Museums founded}} it would generate a reference box referring to [[category:Museums founded in the 18th century]] and would generate links for Museums founded in the 1700s, 1710s etc. through Museums founded in the 1790s.

See also

  • {{BDDecadesInCentury}} – similar template for use when the year precedes type information, such as category:18th century computer programs
Advertisement