Wikipedia:WikiProject Ohio/Tabs/function

This template checks if the first param is equal to the SUBPAGENAME, and if so, returns 1. Otherwise, it returns 2. This sub-template is used as a shortcut to make tabs highlight, without having heaps of parserfunctions in the main template.