Template:Fiction set in decade category/doc
< Template:Fiction set in decade category
Jump to navigation
Jump to search
Revision as of 11:24, 11 March 2020 by imported>BrownHairedGirl (BrownHairedGirl moved page Template:FictionSetDecade/doc to Template:Fiction set in decade category/doc: to clarify purpose)
| This is a documentation subpage for Template:Fiction set in decade category. It contains usage information, categories and other content that is not part of the original template page. |
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.
Example
{{FictionSetDecade|14|3|15th}} would generate the text "Fiction set in the 1430s", a reference box referring to [[Category:15th century fiction]], and links for 1400s in fiction, 1410s, etc. through 1490s in fiction, along with a category for 1430s in fiction.
See also
- {{Navseasoncats with centuries below decade}}
- {{Navseasoncats with decades below year}}
- {{Navseasoncats}}