Difference between revisions of "Template:DerivedCategories"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 12: Line 12:
 
{{#ifeq:{{{website|+}}}|+|[[Category:nowebsite]]|[[Category:haswebsite]]}}
 
{{#ifeq:{{{website|+}}}|+|[[Category:nowebsite]]|[[Category:haswebsite]]}}
 
{{#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]]|[[Category:PreIA]]}}}}
{{#ifeq:{{{end|+}}}|+||{{#ifexpr: {{{end}}} >= 2001|[[Category:IA]]|}}}}
+
{{#ifeq:{{{end|+}}}|+||{{#ifexpr: {{{end}}} >= 2001|[[Category:IA]]|[[Category:PreIA]]}}}}

Revision as of 11:49, 12 May 2020

Usage:

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