Template:Client utility functions