Difference between revisions of "Template:Workdecade"

From MUSICAL HERITAGE ORGANIZATION
Jump to: navigation, search
(Created page with "Works published/created in the '''[[:en:{{{1}}}{{#ifeq:{{{2}}} | 0 | {{{2}}}0–{{{1}}}{{{2}}}9{{!}}{{{1}}}}}{{{2}}}0s]]'''. {{BDDecadesInCentury|{{{1}}}|{{{3}}}|works}} [[Cate...")
 
m (Protected "Template:Workdecade" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
 
(No difference)

Latest revision as of 22:41, 21 May 2012

Works published/created in the [[:en:{{{1}}}{{{2}}}0s]].

[[:Category:{{{3}}}-century works|{{{3}}}-century works]]: [[:Category:Expression error: Unrecognized punctuation character "{".90s works|Expression error: Unrecognized punctuation character "{".90s]]–[[:Category:{{{1}}}00s works|{{{1}}}00s]]–[[:Category:{{{1}}}10s works|{{{1}}}10s]]–[[:Category:{{{1}}}20s works|{{{1}}}20s]]–[[:Category:{{{1}}}30s works|{{{1}}}30s]]–[[:Category:{{{1}}}40s works|{{{1}}}40s]]–[[:Category:{{{1}}}50s works|{{{1}}}50s]]–[[:Category:{{{1}}}60s works|{{{1}}}60s]]–[[:Category:{{{1}}}70s works|{{{1}}}70s]]–[[:Category:{{{1}}}80s works|{{{1}}}80s]]–[[:Category:{{{1}}}90s works|{{{1}}}90s]]–[[:Category:Expression error: Unrecognized punctuation character "{".00s works|Expression error: Unrecognized punctuation character "{".00s]]

[[Category:{{{3}}}-century works|Workdecade]] [[Category:{{{1}}}{{{2}}}0s|Works]]


Usage: {{Workdecade|centuryyear|decadedigit|centuryname}} where

centuryyear is the two-digit century, like 18 for 1800 to 1899, 19 for 1900-1999, 20 for 2000-2099 etc.
decadedigit is the single digit decade, e.g. 5 for the years 50-59 in the above century year.
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.

So if one were to code {{Workdecade|14|3|15th}} it would generate a text of Works published in the 1430s plus a reference box referring to [[category:15th century works]] and would generate links for 1400s works, 1410s etc. through 1490s works along with a category for 1430s works.