This template returns the name of a page without disambiguation suffixes.
Auxiliary template for Category:Infobox templates and for use in articles with suffixes.
It was more or less directly copy-pasted from The Vault.
Usage[]
{{Pagename nd|name of page}}
Parameters[]
- name
- Defaults to
{{PAGENAME}}
. The page the name of which should be stripped of disambiguation suffixes. By default, this is the name of the current page. - 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}}
- will create
Pagename nd
{{Pagename nd|options=withns}}
- will create
Template:Pagename nd
{{Pagename nd|Example page (WM1)}}
- will create
Example page