Advertisement

Pagename nd/doc

This page contains usage information for Template:Pagename nd.

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

Usage

{{pagename nd|name of page}}

Parameters

Optional Icon optional.png
(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 Icon optional.png
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/doc

{{pagename nd|options=withns}}

returns: Template:Pagename nd/doc

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

returns: Example page

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.