Template:FictionSetDecade
From EverybodyWiki Bios & Wiki
Works of fiction set in the [[{{{1}}}{{{2}}}0s]].
| [[:Category:{{{3}}} century in fiction|{{{3}}} century in fiction]]: | Expression error: Unrecognized punctuation character "{".90s–{{{1}}}00s–{{{1}}}10s–{{{1}}}20s–{{{1}}}30s–{{{1}}}40s–{{{1}}}50s–{{{1}}}60s–{{{1}}}70s–{{{1}}}80s–{{{1}}}90s–Expression error: Unrecognized punctuation character "{".00s |
[[Category:{{{1}}}{{{2}}}0s|Fiction]] [[Category:{{{3}}} century in fiction| FictionSetDecade]]
Usage:
{{FictionSetDecade|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 {{FictionSetDecade|14|3|15th}} it would generate a text of Fiction set in the 1430s plus a reference box referring to [[category:15th century fiction]] and would generate links for 1400s in fiction, 1410s etc. through 1490s in fiction along with a category for 1430s in fiction.
