Template:BASICPAGENAME/doc

Usage
Returns the page name without the parent page or disambiguator.

e.g.
 * on page  returns
 * on page  returns