Template:P/s

gives (linking to section Y on page X)

gives (linking to section Y on current page)