Difference between revisions of "Template:Fiction set in decade category/sandbox"
Jump to navigation
Jump to search
imported>BrownHairedGirl m (BrownHairedGirl moved page Template:FictionSetDecade/sandbox to Template:Fiction set in decade category/sandbox: to clarify purpose) |
imported>Gonnym (synced with live) |
||
| Line 1: | Line 1: | ||
| − | + | <includeonly>{{#if: {{FindYDCportal|{{Title year}}}} |{{Portal|{{FindYDCportal|{{Title decade}}s}} }} }} | |
| + | '''Works of [[fiction]]''' set in the decade '''[[{{Decade link|{{Title decade}}}}]]'''. | ||
| + | {{Navseasoncats with centuries below decade}} | ||
| − | {{ | + | :{{#ifexist:Category:{{Title decade}}s novels|''See also [[:Category:{{Title decade}}s novels]] for novels published in that year''}} |
| − | [[Category:{{ | + | [[Category:{{Title decade}}s|Fiction]] |
| − | [[Category:Fiction | + | [[Category:Fiction set in the {{Century name from decade or year|{{Title decade}}s}}|{{Title decade}}s]] |
| − | <noinclude> | + | [[Category:Fiction by decade of setting|{{Title decade}}s]] |
| − | {{Documentation}} | + | {{#ifexpr: {{Title decade}} >= {{#expr: 10*(floor({{CURRENTYEAR}}/10))}}<!-- |
| − | </noinclude> | + | -->|[[Category:Works about the future{{!}}{{Title decade}}s]]<!-- |
| + | -->}}</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> | ||
Latest revision as of 10:17, 15 March 2020
| This is the template sandbox page for Template:Fiction set in decade category (diff). |
Creates a category of the form "Fiction set in the YYY0s", where YYY0s is a 4-digit decade.
e.g. Category:Fiction set in the 1890s
Usage
{{Fiction set in decade category}}
No parameters needed.
See also
| The above documentation is transcluded from Template:Fiction set in decade category/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |