You want to use a vertical line | as separator right? That inded a bit ticky.
The code that you lookup should be that:
Code:
{#star:finish_formatting(,, | }{#pages:finish_formatting(Pages:,, | }{tags:| | }
The finish_formatting() function is the same that the one for the prefix/suffix syntax.