Difference between revisions of "Template:Fiction set in year category"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
({{Navseasoncats with decades below year}} no longer needs any parameters)
 
(21 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{| class="toccolours" align=right
+
<includeonly>{{#if: {{FindYDCportal|{{Title year}}}} |{{Portal|{{FindYDCportal|{{Title year}}}} }} }}
|'''[[:Category:{{{1}}}0s in fiction|{{{1}}}0s in fiction]]''':
+
'''Works of [[fiction]]''' set in the year '''[[{{Title year}}]]'''.
|[[:Category:{{{1}}}0 in fiction|{{{1}}}0]]-[[:Category:{{{1}}}1 in fiction|{{{1}}}1]]-[[:Category:{{{1}}}2 in fiction|{{{1}}}2]]-[[:Category:{{{1}}}3 in fiction|{{{1}}}3]]-[[:Category:{{{1}}}4 in fiction|{{{1}}}4]]-[[:Category:{{{1}}}5 in fiction|{{{1}}}5]]-[[:Category:{{{1}}}6 in fiction|{{{1}}}6]]-[[:Category:{{{1}}}7 in fiction|{{{1}}}7]]-[[:Category:{{{1}}}8 in fiction|{{{1}}}8]]-[[:Category:{{{1}}}9 in fiction|{{{1}}}9]]
+
{{Navseasoncats with decades below year}}
|}
 
[[{{{1}}}{{{2}}}]] in [[fiction]].
 
  
{{cat main|{{PAGENAME}}}}
+
:{{#ifexist:Category:{{Title year}} novels|''See also [[:Category:{{Title year}} novels]] for novels published in that year''}}
  
[[Category:{{{1}}}{{{2}}}|Fiction, {{{1}}}{{{2}}} in]]
+
[[Category:{{Title year}}|Fiction]]
[[Category:{{{1}}}0s in fiction| {{{1}}}{{{2}}} in fiction]]<noinclude>
+
[[Category:Fiction set in the {{DECADE|{{Title year}}}}|{{Title year}}]]
 
+
[[Category:Fiction by year of setting|{{Title year}}]]
{{DEFAULTSORT:{{PAGENAME}}}}
+
</includeonly><!--
[[Category:Wikipedia templates]]
+
# 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>

Latest revision as of 17:00, 19 August 2020

Template documentation[view] [edit] [history] [purge]

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