reduce code duplication in help pages