Difference between revisions of "Template:DerivedCategories"

From Fancyclopedia 3
Jump to navigation Jump to search
 
Line 10: Line 10:
 
{{#ifeq:{{{start|}}}||{{#ifeq:{{{year|}}}||[[Category:nostart]]|}}|}}
 
{{#ifeq:{{{start|}}}||{{#ifeq:{{{year|}}}||[[Category:nostart]]|}}|}}
 
{{#ifeq:{{{website|}}}||[[Category:nowebsite]]|[[Category:haswebsite]][[Category:haslink]]}}
 
{{#ifeq:{{{website|}}}||[[Category:nowebsite]]|[[Category:haswebsite]][[Category:haslink]]}}
{{#ifeq:{{{files|}}}||[[Category:nofiles]]|[[Category:hasfiles]]}}
 
 
{{#ifeq:{{{locale|}}}|||[[Category:located]]}}
 
{{#ifeq:{{{locale|}}}|||[[Category:located]]}}
 
{{#iferror:{{#expr:{{{year}} >= 2001}}||{{#ifexpr: {{{year}}} >= 2001|[[Category:IA]]}}}}
 
{{#iferror:{{#expr:{{{year}} >= 2001}}||{{#ifexpr: {{{year}}} >= 2001|[[Category:IA]]}}}}
 
{{#iferror:{{#expr:{{{end}}} >= 2001}}||{{#ifexpr: {{{end}}} >= 2001|[[Category:IA]]}}}}
 
{{#iferror:{{#expr:{{{end}}} >= 2001}}||{{#ifexpr: {{{end}}} >= 2001|[[Category:IA]]}}}}
 
[[Category:Validated]]
 
[[Category:Validated]]

Latest revision as of 06:00, 21 October 2020

Usage:

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