Template:IrelandDecade

From Wikipedia, the free encyclopedia

Articles and events specifically related to the decade [[{{{1}}}{{{2}}}0s]] in Ireland.


[[:Category:{{{3}}} century in Ireland|{{{3}}} century in Ireland]]: [[:Category:Expression error: Unrecognised punctuation character "{"90s in Ireland|Expression error: Unrecognised punctuation character "{"90s]]–[[:Category:{{{1}}}00s in Ireland|{{{1}}}00s]]–[[:Category:{{{1}}}10s in Ireland|{{{1}}}10s]]–[[:Category:{{{1}}}20s in Ireland|{{{1}}}20s]]–[[:Category:{{{1}}}30s in Ireland|{{{1}}}30s]]–[[:Category:{{{1}}}40s in Ireland|{{{1}}}40s]]–[[:Category:{{{1}}}50s in Ireland|{{{1}}}50s]]–[[:Category:{{{1}}}60s in Ireland|{{{1}}}60s]]–[[:Category:{{{1}}}70s in Ireland|{{{1}}}70s]]–[[:Category:{{{1}}}80s in Ireland|{{{1}}}80s]]–[[:Category:{{{1}}}90s in Ireland|{{{1}}}90s]]–[[:Category:Expression error: Unrecognised punctuation character "{"00s in Ireland|Expression error: Unrecognised punctuation character "{"00s]]


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