Difference between revisions of "Template:Fiction set in year category"
Jump to navigation
Jump to search
imported>BrownHairedGirl (cleanup) |
imported>BrownHairedGirl ({{Navseasoncats with decades below year}} no longer needs any parameters) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{FindYDCportal|{{Title year}}}} |{{Portal|{{FindYDCportal|{{Title year}}}} }} }} | <includeonly>{{#if: {{FindYDCportal|{{Title year}}}} |{{Portal|{{FindYDCportal|{{Title year}}}} }} }} | ||
− | '''[[ | + | '''Works of [[fiction]]''' set in the year '''[[{{Title year}}]]'''. |
− | {{Navseasoncats with decades below year | + | {{Navseasoncats with decades below year}} |
:{{#ifexist:Category:{{Title year}} novels|''See also [[:Category:{{Title year}} novels]] for novels published in that year''}} | :{{#ifexist:Category:{{Title year}} novels|''See also [[:Category:{{Title year}} novels]] for novels published in that year''}} | ||
− | [[Category:{{Title year}}| | + | [[Category:{{Title year}}|Fiction]] |
− | [[Category:Fiction set in the {{DECADE|{{Title year}}}}|{{Title year}}]]</includeonly><!-- | + | [[Category:Fiction set in the {{DECADE|{{Title year}}}}|{{Title year}}]] |
+ | [[Category:Fiction by year of setting|{{Title year}}]] | ||
+ | </includeonly><!-- | ||
# Note {{CatAutoTOC}} needs to be available whether or not this template page has been transcluded | # Note {{CatAutoTOC}} needs to be available whether or not this template page has been transcluded | ||
-->{{CatAutoTOC}}<noinclude> | -->{{CatAutoTOC}}<noinclude> |
Latest revision as of 17:00, 19 August 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. |