Difference between revisions of "Template:Operadecade"

From MUSICAL HERITAGE ORGANIZATION
Jump to: navigation, search
(Created page with "Operas published/created/first performed in the '''[[{{{1}}}{{#ifeq:{{{2}}} | 0 | {{{2}}}0–{{{1}}}{{{2}}}9{{!}}{{{1}}}}}{{{2}}}0s]]'''. {{BDDecadesInCe...")
 
 
Line 1: Line 1:
[[Wikipedia:Operas|Operas]] published/created/first performed in the '''[[{{{1}}}{{#ifeq:{{{2}}} | 0 | {{{2}}}0–{{{1}}}{{{2}}}9{{!}}{{{1}}}}}{{{2}}}0s]]'''.
+
[[Wikipedia:Operas|Operas]] published/created/first performed in the '''[[Wikipedia:{{{1}}}{{#ifeq:{{{2}}} | 0 | {{{2}}}0–{{{1}}}{{{2}}}9{{!}}{{{1}}}}}{{{2}}}0s|{{{1}}}{{#ifeq:{{{2}}} | 0 | {{{2}}}0–{{{1}}}{{{2}}}9{{!}}{{{1}}}}}{{{2}}}0s]]'''.
  
 
{{BDDecadesInCentury|{{{1}}}|{{{3}}}|operas}}
 
{{BDDecadesInCentury|{{{1}}}|{{{3}}}|operas}}

Latest revision as of 16:36, 16 January 2015

Operas published/created/first performed in the [[Wikipedia:{{{1}}}{{{2}}}0s|{{{1}}}{{{2}}}0s]].

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

[[Category:{{{3}}}-century operas|Operadecade]] [[Category:{{{1}}}{{{2}}}0s works|Opera]] [[Category:{{{1}}}{{{2}}}0s in music|Opera]]


Usage: {{Operadecade|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 {{Operadecade|17|3|18th}} it would generate a text of Operas published in the 1730s plus a reference box referring to [[category:18th century operas]] and would generate links for 1700s operas, 1710s etc. through 1790s operas along with a category for 1730s operas.