Difference between revisions of "Template:DerivedCategories"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 14: Line 14:
 
{{#ifeq:{{{files|}}}||[[Category:nofiles]]|[[Category:hasfiles]]}}
 
{{#ifeq:{{{files|}}}||[[Category:nofiles]]|[[Category:hasfiles]]}}
 
{{#ifeq:{{{year|}}}|||{{#ifexpr: {{{year}}} >= 2001|[[Category:IA]]|}}}}
 
{{#ifeq:{{{year|}}}|||{{#ifexpr: {{{year}}} >= 2001|[[Category:IA]]|}}}}
 +
<!--
 
{{#ifeq:{{{end|????}}}|????||{{#ifeq:{{{end}}}||[[Category:IA]]|{{#ifexpr: {{{end}}} >= 2001|[[Category:IA]]}}}}}}
 
{{#ifeq:{{{end|????}}}|????||{{#ifeq:{{{end}}}||[[Category:IA]]|{{#ifexpr: {{{end}}} >= 2001|[[Category:IA]]}}}}}}
 +
-->
 +
{{#iferror:{{#expr:{{{end}}} >= 2001}}||{#ifexpr: {{{end}}} >= 2001|[[Category:IA]]}}}}

Revision as of 00:38, 13 May 2020

Usage:

{{DerivedCategories | website={{{website|}}} | files={{{files|}}} | start={{{start|}}} | end={{{end|}}} | year={{{year|}}}}}

}}