Template documentation (for the template shown above, sometimes hidden or invisible)

This template returns the name of a page without disambiguation suffixes.

Usage

{{pagename nd|name of page}}

Parameters

Optional
(default: "{{PAGENAME}}")
<unnamed 1>
The page the name of which should be stripped of disambiguation suffixes. By default, this is the name of the current page.
Optional
options
Display options for the returned string. Multiple options can be specified, separated by commas (",").

Available choices:

  • withns: Makes the returned string include the namespace of the page.

Examples

{{pagename nd}}

returns: Pagename nd

{{pagename nd|options=withns}}

returns: Template:Pagename nd

{{pagename nd|Example page (Fallout 3)}}

returns: Example page

Documentation transcluded from Template:Pagename nd/doc.
Community content is available under CC-BY-SA unless otherwise noted.