What I was doing is farily low level access to the data. I considered putting the rules for another layer of abstraction into a table but it was way overkill. I can pass in one variable, and it is the name of the page and the name of the table whose info is being displayed.

Basically the page title is the table name, except that I wanted the page titles to be human friendly, and the table names to be programmer friendly. (Yes, I realize what I just said.)