Template:CheckDepth
From Pestinfo-Wiki
This template takes one parameter which should specify the depth of a taxonomic tree structure (how many levels are displayed in the tree). The depth should be set to either 1, 2 or 3. If the parameter is 0 it will return 1, if it is higher than 3 it will return 3.