Template:PL/Client utility functions