Difference between revisions of "Template:DerivedCategories"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 9: Line 9:
 
{{#ifeq:{{{start|+}}}|+|{{#ifeq:{{{year|+}}}|+|[[Category:nostart]]|}}|}}
 
{{#ifeq:{{{start|+}}}|+|{{#ifeq:{{{year|+}}}|+|[[Category:nostart]]|}}|}}
 
{{#ifeq:{{{end|+}}}|+|{{#ifeq:{{{year|+}}}|+|[[Category:noend]]|}}|}}
 
{{#ifeq:{{{end|+}}}|+|{{#ifeq:{{{year|+}}}|+|[[Category:noend]]|}}|}}
{{#ifeq:{{{year|+}}}|+|{{#ifeq:{{{end}}}||[[Category:Active]]|[[Category:Inactive]]}}}}
+
{{#ifeq:{{{year|+}}}|+|{{#ifeq:{{{end}}}||[[Category:Active]]|{{#ifeq:{{{end}}}|????||[Category:Inactive]]}}}}}}
 
{{#ifeq:{{{website|+}}}|+|[[Category:nowebsite]]|[[Category:haswebsite]]}}
 
{{#ifeq:{{{website|+}}}|+|[[Category:nowebsite]]|[[Category:haswebsite]]}}
 
{{#ifeq:{{{files|+}}}|+|[[Category:nofiles]]|[[Category:hasfiles]]}}
 
{{#ifeq:{{{files|+}}}|+|[[Category:nofiles]]|[[Category:hasfiles]]}}

Revision as of 01:45, 5 May 2020

Usage:

{{DerivedCategories | website={{{website|}}} | files={{{files|}}} | start={{{start|}}} | end={{{end|}}} | year={{{year|}}}}} [Category:Inactive]]