def METHOD_NAME(parser, token):
    try:
        tag_name, page = token.split_contents()
    except ValueError:
        raise template.TemplateSyntaxError(
            '%r tag requires one argument' % token.contents.split()[0]
        )
    return PageLinkNode(tag_name, page)