Template:Pagename nd

From Pillars of Eternity Wiki
Jump to: navigation, search

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.


{{Pagename nd|name of page}}


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.
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.


{{Pagename nd}}

will create

Pagename nd

{{Pagename nd|options=withns}}

will create

Template:Pagename nd

{{Pagename nd|Example page (WM1)}}

will create

Example page