Difference between revisions of "Template:Fiction set in year category"
Jump to navigation
Jump to search
imported>Opera hat (hope this works...) |
imported>BrownHairedGirl (make parameterless, auto-TOC) |
||
Line 1: | Line 1: | ||
− | + | <includeonly>{{#if: {{FindYDCportal|{{Title year}}}} |{{Portal|{{FindYDCportal|{{Title year}}}} }} | |
− | + | '''[[Fiction]]''' set in the year '''[[{{Title year}}]]'''. | |
− | + | {{Navseasoncats with decades below year|Fiction set in |{{Title year}}|}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | :{{#ifexist:Category:{{ | + | :{{#ifexist:Category:{{Title year}} novels|''See also [[:Category:{{Title year}} novels]] for novels published in that year''}} |
− | [[Category:{{ | + | [[Category:{{Title year}}|{{Title year}}]] |
− | [[Category:Fiction set in the {{{ | + | [[Category:Fiction set in the {{DECADE|{{Title year}}}}|{{Title year}}]]</includeonly><!-- |
+ | # Note {{CatAutoTOC}} needs to be available whether or not this template page has been transcluded | ||
+ | -->{{CatAutoTOC}}<noinclude> | ||
+ | {{Documentation}}<!-- | ||
+ | Add categories and interwikis to the /doc subpage, please, not here! | ||
+ | --></noinclude> | ||
[[Category:Works-by-year templates]] | [[Category:Works-by-year templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:58, 10 March 2020
Creates a category of the form "Fiction set in YYYY", where YYYY is a 4-digit year.
e.g. Category:Fiction set in 1937
Usage
{{Fiction set in year category}}
No parameters needed.
See also
The above documentation is transcluded from Template:Fiction set in year category/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |