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

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(Works of fiction)
imported>BrownHairedGirl
({{Navseasoncats with decades below year}} no longer needs any parameters)
 
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}}]]'''.
 
'''Works of [[fiction]]''' set in the year '''[[{{Title year}}]]'''.
{{Navseasoncats with decades below year|Fiction set in |{{Title 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''}}

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