Template:SMW page name/doc

Usage
SMW page name is a template which returns a given title's actual page name, even if the title is a redirect. This is useful in error checking and some other situations, in other templates.

This template takes a single unnamed parameter and returns the page name of the associated article if it exists, as plaintext (it may return garbage or nothing if the article doesn't exist).

Note that this template requires Semantic MediaWiki to function; this template will not work if SMW is disabled.