One template per category

this is done fairly simple with a series of “if” statements that determine which “sidebox templates” appear on any given page/category.