Difference between revisions of "Template:DerivedCategories"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
</nowiki> | </nowiki> | ||
</noinclude> | </noinclude> | ||
− | {{#ifeq:{{{noend|yes}}}|yes|{{#ifeq:{{{year|}}}||[[Category: | + | {{#ifeq:{{{noend|yes}}}|yes|{{#ifeq:{{{year|}}}||[[Category:noend]]}}|}} |
{{#ifeq:{{{start|}}}||{{#ifeq:{{{year|}}}||{{#ifeq:{{{end|}}}||[[Category:nodates]]|}}|}}|}} | {{#ifeq:{{{start|}}}||{{#ifeq:{{{year|}}}||{{#ifeq:{{{end|}}}||[[Category:nodates]]|}}|}}|}} | ||
{{#ifeq:{{{start|}}}||{{#ifeq:{{{year|}}}||[[Category:nostart]]|}}|}} | {{#ifeq:{{{start|}}}||{{#ifeq:{{{year|}}}||[[Category:nostart]]|}}|}} | ||
− | |||
{{#ifeq:{{{year|}}}||{{#ifeq:{{{end}}}||[[Category:Active]]|{{#ifeq:{{{end}}}|????||{{#ifeq:{{{end}}}|||[[Category:Inactive]]}}}}}}}} | {{#ifeq:{{{year|}}}||{{#ifeq:{{{end}}}||[[Category:Active]]|{{#ifeq:{{{end}}}|????||{{#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]]}} | ||
− | {{# | + | {{#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]]}}}} |
Revision as of 00:42, 13 May 2020
Usage:
{{DerivedCategories | website={{{website|}}} | files={{{files|}}} | start={{{start|}}} | end={{{end|}}} | year={{{year|}}}}}